edu.washington.cs.knowitall.rule.confidence.score
Class PrecisionRecallScore

java.lang.Object
  extended by edu.washington.cs.knowitall.rule.confidence.score.Score
      extended by edu.washington.cs.knowitall.rule.confidence.score.PrecisionRecallScore
All Implemented Interfaces:
Comparable<PrecisionRecallScore>

public class PrecisionRecallScore
extends Score
implements Comparable<PrecisionRecallScore>


Field Summary
 int constraints
           
 double precision
           
 double recall
           
 
Constructor Summary
PrecisionRecallScore(double precision, double recall, int constraints)
           
PrecisionRecallScore(double precision, double recall, int constraints, edu.washington.cs.knowitall.commonlib.ComparableSequence<Integer> sequence)
           
 
Method Summary
 int compareTo(PrecisionRecallScore score)
           
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

precision

public final double precision

recall

public final double recall

constraints

public final int constraints
Constructor Detail

PrecisionRecallScore

public PrecisionRecallScore(double precision,
                            double recall,
                            int constraints,
                            edu.washington.cs.knowitall.commonlib.ComparableSequence<Integer> sequence)

PrecisionRecallScore

public PrecisionRecallScore(double precision,
                            double recall,
                            int constraints)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(PrecisionRecallScore score)
Specified by:
compareTo in interface Comparable<PrecisionRecallScore>


Copyright © 2011 University of Washington CSE. All Rights Reserved.