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

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

public class SimpleScore
extends Score
implements Comparable<SimpleScore>


Field Summary
 int constraints
           
 double score
           
 
Constructor Summary
SimpleScore(double score, int constraints)
           
 
Method Summary
 int compareTo(SimpleScore other)
           
 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

score

public final double score

constraints

public final int constraints
Constructor Detail

SimpleScore

public SimpleScore(double score,
                   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(SimpleScore other)
Specified by:
compareTo in interface Comparable<SimpleScore>


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