Interface Model

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getInfo()
      Returns a model dependant string, such that runs can be identified from TREC results.
      double getParameter()
      Returns the current value of the parameter set using setParameter() method.
      void setParameter​(double param)
      Many models require 1 parameter to be set - this is often dependant on the corpus and the model, so should be set for each Terrier instance.
    • Method Detail

      • getInfo

        java.lang.String getInfo()
        Returns a model dependant string, such that runs can be identified from TREC results. Example PL2c2.1 would imply PL2 model, with the c parameter set to 2.1.
        Returns:
        The string description of the current instantiation of the weighting model.
      • setParameter

        void setParameter​(double param)
        Many models require 1 parameter to be set - this is often dependant on the corpus and the model, so should be set for each Terrier instance.
        Parameters:
        param - double the parameter value.
      • getParameter

        double getParameter()
        Returns the current value of the parameter set using setParameter() method.