Class Explain


  • public class Explain
    extends Object
    Search explain plan used in the Content Optimiser.
    Since:
    11.0
    • Field Detail

      • finalScore

        public float finalScore
        The final score for this result
      • consat

        public int consat
        The number of constraints this result satisfied
      • lenratio

        public float lenratio
        The length ratio of this document relative to the average document, measured in content words
      • featureScores

        public Map<CoolerWeighting,​Float> featureScores

        Map of float scores for each ranking feature.

        Feature names are specified by their unique short name + id.

    • Constructor Detail

      • Explain

        public Explain()
      • Explain

        public Explain​(float finalScore,
                       int consat,
                       float lenratio,
                       Map<CoolerWeighting,​Float> featureScores)
    • Method Detail

      • getFinalScore

        public float getFinalScore()
        The final score for this result
      • getConsat

        public int getConsat()
        The number of constraints this result satisfied
      • getLenratio

        public float getLenratio()
        The length ratio of this document relative to the average document, measured in content words
      • getFeatureScores

        public Map<CoolerWeighting,​Float> getFeatureScores()

        Map of float scores for each ranking feature.

        Feature names are specified by their unique short name + id.