Class TerrierEvaluation.Record

  • Enclosing class:
    TerrierEvaluation

    public static class TerrierEvaluation.Record
    extends java.lang.Object
    A structure of a record of retrieved document.
    • Constructor Summary

      Constructors 
      Constructor Description
      Record​(java.lang.String _queryNo, java.lang.String _docNo, int _rank)
      create a record of retrieved document
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDocNo()
      get document number
      java.lang.String getQueryNo()
      get query number
      int getRank()
      get rank number
      void setQueryNo​(java.lang.String _queryNo)
      set query number
      void setRank​(int _rank)
      set rank position
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Record

        public Record​(java.lang.String _queryNo,
                      java.lang.String _docNo,
                      int _rank)
        create a record of retrieved document
        Parameters:
        _queryNo -
        _docNo -
        _rank -
    • Method Detail

      • getRank

        public int getRank()
        get rank number
        Returns:
        int
      • setRank

        public void setRank​(int _rank)
        set rank position
        Parameters:
        _rank -
      • getDocNo

        public java.lang.String getDocNo()
        get document number
        Returns:
        String
      • setQueryNo

        public void setQueryNo​(java.lang.String _queryNo)
        set query number
        Parameters:
        _queryNo -
      • getQueryNo

        public java.lang.String getQueryNo()
        get query number
        Returns:
        query number