edu.washington.cs.supple.customization.scope.versionspace
Class NameSetHypothesis
java.lang.Object
edu.washington.cs.supple.customization.scope.versionspace.NameSetHypothesis
- All Implemented Interfaces:
- Hypothesis
- Direct Known Subclasses:
- ApplicationNameSetHypothesis, DeviceNameSetHypothesis, ObjectNameSetHypothesis
- public abstract class NameSetHypothesis
- extends java.lang.Object
- implements Hypothesis
- Author:
- raphael
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameSetHypothesis
protected NameSetHypothesis(java.util.LinkedList set)
instance
protected abstract NameSetHypothesis instance(java.util.LinkedList l)
getName
protected abstract java.lang.String getName(TrainingSample d)
getHypothesis
protected abstract NameSetHypothesis getHypothesis(TrainingSample d)
getSet
public java.util.LinkedList getSet()
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