public abstract class AbstractSortedFeatureMap<T> extends AbstractFeatureMap<T>
Constructor and Description |
---|
AbstractSortedFeatureMap(java.lang.String requestSlotName,
java.lang.String crPropertyName) |
Modifier and Type | Method and Description |
---|---|
protected void |
addInformation(IIdentifier identifier,
T data) |
protected void |
clearInternal() |
protected void |
equals(T value,
java.util.Set<IIdentifier> container) |
protected void |
getCandidates(ChunkTypeRequest request,
java.util.Set<IIdentifier> results) |
protected T |
getCurrentValue(IIdentifier identifier) |
protected void |
greaterThan(T value,
java.util.Set<IIdentifier> container) |
protected abstract boolean |
isValidValue(ISlot slot)
tests to be sure the value of the slot is a valid type
|
protected void |
lessThan(T value,
java.util.Set<IIdentifier> container) |
void |
normalizeRequest(ChunkTypeRequest request)
resolves lowest, highest
|
protected void |
not(T value,
java.util.Set<IIdentifier> container) |
protected T |
removeInformation(IIdentifier identifier) |
protected abstract T |
toData(ISlot slot)
converts a slot value to the appropriate type
|
java.lang.String |
toString() |
addListener, afferentObjectAdded, afferentObjectRemoved, afferentObjectUpdated, clear, dispatch, dispose, extractInformation, fillSlotValues, getCandidateRealObjects, getInformation, getLock, getPerceptualMemory, getRelevantPropertyName, getRelevantSlotName, hasListeners, isInterestedIn, objectAdded, objectRemoved, objectUpdated, removeListener, setPerceptualMemory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isInterestedIn
public AbstractSortedFeatureMap(java.lang.String requestSlotName, java.lang.String crPropertyName)
protected void clearInternal()
clearInternal
in class AbstractFeatureMap<T>
protected T getCurrentValue(IIdentifier identifier)
getCurrentValue
in class AbstractFeatureMap<T>
protected void not(T value, java.util.Set<IIdentifier> container)
protected void equals(T value, java.util.Set<IIdentifier> container)
protected void lessThan(T value, java.util.Set<IIdentifier> container)
protected void greaterThan(T value, java.util.Set<IIdentifier> container)
public void normalizeRequest(ChunkTypeRequest request)
request
- IFeatureMap.normalizeRequest(org.jactr.core.production.request.ChunkTypeRequest)
protected abstract T toData(ISlot slot)
slot
- protected abstract boolean isValidValue(ISlot slot)
slot
- protected void getCandidates(ChunkTypeRequest request, java.util.Set<IIdentifier> results)
getCandidates
in class AbstractFeatureMap<T>
protected void addInformation(IIdentifier identifier, T data)
addInformation
in class AbstractFeatureMap<T>
protected T removeInformation(IIdentifier identifier)
removeInformation
in class AbstractFeatureMap<T>
public java.lang.String toString()
toString
in class java.lang.Object