edu.washington.cs.supple.customization.scope.versionspace
Class VersionSpace
java.lang.Object
edu.washington.cs.supple.customization.scope.versionspace.VersionSpace
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- AncestorNamesFromRootVersionSpace, DescendantsNamesSubtreeVersionSpace, HasDescendantsVersionSpace, HasReferencesVersionSpace, IndependentJoinVersionSpace, IntersectionVersionSpace, NameSetVersionSpace, UnionVersionSpace
- public abstract class VersionSpace
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
Represents a version space of hypotheses, in our case Scopes
for customization commands.
- Author:
- raphael
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
VersionSpace(double weight)
Constructs a new version space. |
protected |
VersionSpace(java.util.List lowerBound,
java.util.List upperBound,
double weight)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weight
protected double weight
upperBound
protected java.util.List upperBound
lowerBound
protected java.util.List lowerBound
VersionSpace
protected VersionSpace(double weight)
- Constructs a new version space. The weight is used for computing
update costs, similarity measure in unions and intersections.
- Parameters:
weight -
VersionSpace
protected VersionSpace(java.util.List lowerBound,
java.util.List upperBound,
double weight)
getScope
public StandardScope getScope()
clone
public java.lang.Object clone()
setLowerBound
public abstract void setLowerBound(Hypothesis h)
setLowerBound
public abstract void setLowerBound(TrainingSample d)