edu.washington.cs.supple.customization.scope.versionspace
Class UnionHypothesis

java.lang.Object
  extended byedu.washington.cs.supple.customization.scope.versionspace.UnionHypothesis
All Implemented Interfaces:
Hypothesis

public class UnionHypothesis
extends java.lang.Object
implements Hypothesis

Author:
raphael

Field Summary
 
Fields inherited from interface edu.washington.cs.supple.customization.scope.versionspace.Hypothesis
EQUAL, INCOMPARABLE, MORE_GENERAL, MORE_SPECIFIC
 
Constructor Summary
UnionHypothesis(Hypothesis h1, Hypothesis h2)
           
 
Method Summary
 int compareTo(Hypothesis h)
           
 Hypothesis getHypothesis1()
           
 Hypothesis getHypothesis2()
           
 boolean isConsistentWith(TrainingSample d)
           
 java.util.List minimalGeneralizations(Hypothesis h)
           
 java.util.List minimalGeneralizations(TrainingSample d)
           
 java.util.List minimalSpecializations(Hypothesis h)
           
 java.util.List minimalSpecializations(TrainingSample d)
           
 java.lang.String[] toXPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionHypothesis

public UnionHypothesis(Hypothesis h1,
                       Hypothesis h2)
Method Detail

getHypothesis1

public Hypothesis getHypothesis1()

getHypothesis2

public Hypothesis getHypothesis2()

isConsistentWith

public boolean isConsistentWith(TrainingSample d)
Specified by:
isConsistentWith in interface Hypothesis

minimalGeneralizations

public java.util.List minimalGeneralizations(TrainingSample d)
Specified by:
minimalGeneralizations in interface Hypothesis

minimalGeneralizations

public java.util.List minimalGeneralizations(Hypothesis h)
Specified by:
minimalGeneralizations in interface Hypothesis

minimalSpecializations

public java.util.List minimalSpecializations(TrainingSample d)
Specified by:
minimalSpecializations in interface Hypothesis

minimalSpecializations

public java.util.List minimalSpecializations(Hypothesis h)
Specified by:
minimalSpecializations in interface Hypothesis

compareTo

public int compareTo(Hypothesis h)
Specified by:
compareTo in interface Hypothesis

toXPath

public java.lang.String[] toXPath()
Specified by:
toXPath in interface Hypothesis