leila.evaluate
Class EvaluatePair

java.lang.Object
  extended by leila.algorithm.Pair
      extended by leila.evaluate.EvaluatePair
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class EvaluatePair
extends Pair

This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).

EvaluatePair stores an output pair, has some extra fields for Evaluate.java.

See Also:
Serialized Form

Field Summary
 int bridgeId
          Holds the bridge number of this pair
 boolean example
          Tells whether this pair is an example
 boolean hit
          Tells whether this pair has been hit
 
Fields inherited from class leila.algorithm.Pair
comment, confidence, formy, word1, word2
 
Constructor Summary
EvaluatePair(LinkageWord w1, LinkageWord w2, double c)
          Constructs an EvaluatePair from a first component, a second component, and a confidence
EvaluatePair(LinkageWord w1, LinkageWord w2, double c, java.lang.String com)
          Constructs an EvaluatePair from a first component, a second component, a confidence and a comment
EvaluatePair(java.lang.String w1, java.lang.String w2)
          Constructs an EvaluatePair from a first component and a second component.
EvaluatePair(java.lang.String f, java.lang.String s, double c, java.lang.String fi)
          Constructs an EvaluatePair from a first component, a second component, a confidence and a comment
 
Method Summary
 
Methods inherited from class leila.algorithm.Pair
compareTo, equals, hashCode, main, strequal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hit

public boolean hit
Tells whether this pair has been hit


example

public boolean example
Tells whether this pair is an example


bridgeId

public int bridgeId
Holds the bridge number of this pair

Constructor Detail

EvaluatePair

public EvaluatePair(java.lang.String f,
                    java.lang.String s,
                    double c,
                    java.lang.String fi)
Constructs an EvaluatePair from a first component, a second component, a confidence and a comment


EvaluatePair

public EvaluatePair(LinkageWord w1,
                    LinkageWord w2,
                    double c,
                    java.lang.String com)
Constructs an EvaluatePair from a first component, a second component, a confidence and a comment


EvaluatePair

public EvaluatePair(LinkageWord w1,
                    LinkageWord w2,
                    double c)
Constructs an EvaluatePair from a first component, a second component, and a confidence


EvaluatePair

public EvaluatePair(java.lang.String w1,
                    java.lang.String w2)
Constructs an EvaluatePair from a first component and a second component.