edu.indiana.iucbrf.feature.unknown
Class AbstractUnknownFeatureHandler
java.lang.Object
edu.indiana.iucbrf.feature.unknown.AbstractUnknownFeatureHandler
- All Implemented Interfaces:
- UnknownFeatureHandler, java.io.Serializable
- Direct Known Subclasses:
- AbstractCompositeUFH, DefaultValue
public abstract class AbstractUnknownFeatureHandler
- extends java.lang.Object
- implements UnknownFeatureHandler
Some basic abstract implementations of an UnknownFeatureHandler are provided.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugMode
protected boolean debugMode
AbstractUnknownFeatureHandler
public AbstractUnknownFeatureHandler()
- Creates a new instance of AbstractUnknownFeatureHandler
differenceOfUnknownFeature
public double differenceOfUnknownFeature(Problem p0,
Problem p1,
FeatureKey featureOfInterest,
java.util.Collection indicesToUse)
- Description copied from interface:
UnknownFeatureHandler
- Estimate the difference between p1[featureOfInterest] and p2[featureOfInterest]
given that one or both values may be missing, optionally making use of indicesToUse
in this calculation.
- Specified by:
differenceOfUnknownFeature in interface UnknownFeatureHandler
differenceOfUnknownFeatureImpl
protected abstract double differenceOfUnknownFeatureImpl(Problem p0,
Problem p1,
FeatureKey featureOfInterest,
java.util.Collection indicesToUse)
getDebugMode
public boolean getDebugMode()
- Specified by:
getDebugMode in interface UnknownFeatureHandler
setDebugMode
public void setDebugMode(boolean debugMode)
- Specified by:
setDebugMode in interface UnknownFeatureHandler