iglu.ir
Class PRPair

java.lang.Object
  |
  +--iglu.ir.PRPair
All Implemented Interfaces:
java.io.Serializable

public class PRPair
extends java.lang.Object
implements java.io.Serializable

The results of a single query for a specific number of documents

Author:
Travis Bauer
See Also:
PRResult, PrecisionRecall, Serialized Form

Field Summary
 boolean interpolated
           
 double numDocs
           
 double precision
           
 double recall
           
 
Constructor Summary
PRPair()
          Create and empty PRPair
PRPair(boolean interpolated, double numDocs, double precision, double recall)
          Create a PRPair with the given results.
 
Method Summary
 boolean interpolated()
          Return whether or not this object represents interpolated or real values.
 java.lang.String toString()
          Give a string representation of this PRPair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numDocs

public double numDocs

interpolated

public boolean interpolated

precision

public double precision

recall

public double recall
Constructor Detail

PRPair

public PRPair()
Create and empty PRPair


PRPair

public PRPair(boolean interpolated,
              double numDocs,
              double precision,
              double recall)
Create a PRPair with the given results.

Method Detail

toString

public java.lang.String toString()
Give a string representation of this PRPair.

Overrides:
toString in class java.lang.Object

interpolated

public boolean interpolated()
Return whether or not this object represents interpolated or real values.