Constructor and Description |
---|
InjectPerceptsAction(VariableBindings variableBindings,
java.util.Collection<? extends ISlot> slots,
java.net.URL resource,
XMLSensor sensor) |
Modifier and Type | Method and Description |
---|---|
ISlot |
AbstractActivationBuffer6.getSlot(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends ISlot> |
AbstractActivationBuffer6.getSlots() |
java.util.Collection<ISlot> |
AbstractActivationBuffer6.getSlots(java.util.Collection<ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractActivationBuffer6.addSlot(ISlot slot) |
void |
AbstractActivationBuffer6.removeSlot(ISlot slot) |
void |
AbstractActivationBuffer6.valueChanged(ISlot slot,
java.lang.Object oldValue,
java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ISlot> |
AbstractActivationBuffer6.getSlots(java.util.Collection<ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
ISlot |
BasicSymbolicChunk.getSlot(java.lang.String slotName)
return the actual slot
|
Modifier and Type | Method and Description |
---|---|
void |
BasicSymbolicChunk.addSlot(ISlot s)
will set the value of a slot You cannot add slots to a chunk, only the
chunk-type - but this will set the value, assuming the slot exists
|
void |
BasicSymbolicChunk.removeSlot(ISlot s)
noop
|
void |
BasicSymbolicChunk.valueChanged(ISlot slot,
java.lang.Object oldValue,
java.lang.Object newValue)
notify both the slot container listeners and the chunk listeners
|
Constructor and Description |
---|
ChunkEvent(IChunk source,
ISlot slot,
java.lang.Object oldValue) |
Modifier and Type | Method and Description |
---|---|
void |
BasicSymbolicChunkType.addSlot(ISlot s)
Adds a feature to the ISlot attribute of the DefaultSymbolicChunkType5
object
|
boolean |
BasicSymbolicChunkType.hasSlot(ISlot s) |
boolean |
BasicSymbolicChunkType.isAuthoritative(ISlot slot)
Gets the authoritative attribute of the DefaultSymbolicChunkType5 object
|
void |
BasicSymbolicChunkType.removeSlot(ISlot s)
Description of the Method
|
Constructor and Description |
---|
ChunkTypeEvent(IChunkType source,
ChunkTypeEvent.Type type,
ISlot slot) |
ChunkTypeEvent(IChunkType source,
ISlot slot,
java.lang.Object oldValue) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<ISlot> |
DefaultSearchSystem.sortPattern(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
int |
PatternComparator.compare(ISlot arg0,
ISlot arg1) |
protected java.util.Collection<IChunk> |
DefaultSearchSystem.equals(IChunkType type,
ISlot slot) |
protected java.util.Collection<IChunk> |
DefaultSearchSystem.find(IChunkType type,
ISlot slot,
java.util.Set<IChunk> candidates)
current candidates is required in the case of NOT conditions
|
protected java.util.Collection<IChunk> |
DefaultSearchSystem.greaterThan(IChunkType type,
ISlot slot) |
protected long |
DefaultSearchSystem.guessEqualsSize(IChunkType type,
ISlot slot) |
protected long |
DefaultSearchSystem.guessGreaterThanSize(IChunkType type,
ISlot slot) |
protected long |
DefaultSearchSystem.guessLessThanSize(IChunkType type,
ISlot slot) |
protected long |
DefaultSearchSystem.guessNotSize(IChunkType type,
ISlot slot) |
protected long |
DefaultSearchSystem.guessSize(IChunkType type,
ISlot slot) |
protected java.util.Collection<IChunk> |
DefaultSearchSystem.lessThan(IChunkType type,
ISlot slot) |
protected java.util.Collection<IChunk> |
DefaultSearchSystem.not(IChunkType type,
ISlot slot) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<ISlot> |
DefaultSearchSystem.sortPattern(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
Constructor and Description |
---|
PatternComparator(java.util.Map<ISlot,java.lang.Long> sizeMap) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
ProductionCompilerEvaluator.Mapper.match(java.util.Collection<? extends ISlot> slots1,
java.util.Collection<? extends ISlot> slots2,
VariableBindings instantiationTwo) |
static java.util.Map<java.lang.String,java.lang.Object> |
ProductionCompilerEvaluator.Mapper.match(java.util.Collection<? extends ISlot> slots1,
java.util.Collection<? extends ISlot> slots2,
VariableBindings instantiationTwo) |
Modifier and Type | Method and Description |
---|---|
static ActivationPolicy |
RetrievalRequestDelegate.getActivationPolicy(java.lang.String slotName,
java.util.Collection<? extends ISlot> slots) |
static boolean |
RetrievalRequestDelegate.getBoolean(java.lang.String slotName,
java.util.Collection<? extends ISlot> slots,
boolean defaultValue) |
static double |
RetrievalRequestDelegate.getThreshold(IRetrievalModule module,
java.util.Collection<? extends ISlot> slots) |
static boolean |
RetrievalRequestDelegate.isIndexRetrievalEnabled(DefaultRetrievalModule6 module,
java.util.Collection<? extends ISlot> slots) |
static boolean |
RetrievalRequestDelegate.isPartialMatchEnabled(IDeclarativeModule4 module,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
ISlot |
DefaultSlotAction.getSlot(java.lang.String slotName) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends ISlot> |
SetAction.getSlots() |
java.util.Collection<? extends ISlot> |
ModifyAction.getSlots() |
java.util.Collection<? extends ISlot> |
DefaultSlotAction.getSlots() |
java.util.Collection<? extends ISlot> |
AddAction.getSlots()
Return all the slots that this addaction will attempt to set for the to be
added chunk.
|
java.util.Collection<ISlot> |
SetAction.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
ModifyAction.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
DefaultSlotAction.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
AddAction.getSlots(java.util.Collection<ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
void |
SetAction.addSlot(ISlot slot) |
void |
ProxyAction.addSlot(ISlot slot) |
void |
ModifyAction.addSlot(ISlot s) |
void |
DefaultSlotAction.addSlot(ISlot slot) |
void |
AddAction.addSlot(ISlot s)
In addition to adding chunks to a buffer, the IChunk?s slot values can be
changed at the same time.
|
void |
SetAction.removeSlot(ISlot slot) |
void |
ProxyAction.removeSlot(ISlot slot) |
void |
ModifyAction.removeSlot(ISlot s) |
void |
DefaultSlotAction.removeSlot(ISlot slot) |
void |
AddAction.removeSlot(ISlot s)
Remove a specific slot from the addaction.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ISlot> |
SetAction.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
ModifyAction.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
DefaultSlotAction.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
AddAction.getSlots(java.util.Collection<ISlot> slots) |
protected void |
DefaultAction.updateSlots(IChunk chunk,
java.util.Collection<? extends ISlot> slots)
updates chunk's slots with these slots.
|
Constructor and Description |
---|
AddAction(java.lang.String bufferName,
java.lang.Object ref,
java.util.Collection<? extends ISlot> slots)
add a chunk (ref) to bufferName buffer
|
DefaultSlotAction(VariableBindings variableBindings,
java.util.Collection<? extends ISlot> slots)
called from the bind method.
|
ModifyAction(java.lang.String bufferName,
java.util.Collection<? extends ISlot> slots) |
ModifyActionTimedEvent(double now,
double whenToFire,
IActivationBuffer buffer,
IChunk chunkToModify,
java.util.Collection<? extends ISlot> slots) |
RemoveAction(java.lang.String bufferName,
java.util.Collection<? extends ISlot> slots) |
RemoveActionTimedEvent(double now,
double removeTime,
IActivationBuffer buffer,
IChunk chunk,
java.util.Collection<? extends ISlot> slots) |
SetAction(java.lang.String bufferName,
java.lang.Object referant,
java.util.Collection<? extends ISlot> slots) |
SetActionTimedEvent(double now,
double whenToFire,
IActivationBuffer buffer,
IChunk chunkToModify,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends ISlot> |
AbstractSlotCondition.getSlots()
violates the ISlotContainer#getSlots() contract that they be a copy why?
because each condition is fully duplicated during instantiation so we will
be the only modifiers of this..
|
java.util.Collection<ISlot> |
AbstractSlotCondition.getSlots(java.util.Collection<ISlot> container) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyCondition.addSlot(ISlot slot)
route to delegate if it implements
ISlotContainer |
void |
AbstractSlotCondition.addSlot(ISlot slot) |
void |
ProxyCondition.removeSlot(ISlot slot) |
void |
AbstractSlotCondition.removeSlot(ISlot slot) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ISlot> |
AbstractSlotCondition.getSlots(java.util.Collection<ISlot> container) |
Constructor and Description |
---|
ChunkCondition(java.lang.String bufferName,
IChunk chunk,
java.util.Collection<? extends ISlot> slots) |
ChunkPattern(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
ChunkTypeCondition(java.lang.String bufferName,
IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
ProxyCondition(java.lang.Class<? extends ICondition> proxyClass,
java.util.Collection<? extends ISlot> slots) |
ProxyCondition(ICondition delegate,
java.util.Collection<? extends ISlot> slots) |
ProxyCondition(java.lang.String className,
java.util.Collection<? extends ISlot> slots) |
QueryCondition(java.lang.String bufferName,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
ISlot |
SlotMatchFailure.getMismatchedSlot() |
Constructor and Description |
---|
SlotMatchFailure(ICondition condition,
IUniqueSlotContainer container,
IConditionalSlot cSlot,
ISlot mismatchedSlot,
java.lang.Object variableDefinition)
failure when the mismatchedSlot in the container does not meet the
condition
|
SlotMatchFailure(IUniqueSlotContainer container,
IConditionalSlot cSlot,
ISlot mismatchedSlot) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<ISlot> |
SlotBasedRequest._slots |
protected java.util.Collection<ISlot> |
SlotBasedRequest._unresolved |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends ISlot> |
SlotBasedRequest.getConditionalAndLogicalSlots() |
java.util.Collection<? extends ISlot> |
SlotBasedRequest.getSlots() |
java.util.Collection<ISlot> |
SlotBasedRequest.getSlots(java.util.Collection<ISlot> container) |
Modifier and Type | Method and Description |
---|---|
void |
SlotBasedRequest.addSlot(ISlot slot) |
void |
SlotBasedRequest.removeSlot(ISlot slot) |
protected boolean |
SlotBasedRequest.resolveSlot(ISlot slot,
VariableBindings bindings,
java.lang.String slotContainerName,
IUniqueSlotContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
SlotBasedRequest.bindSlots(IModel model,
java.lang.String containerName,
IUniqueSlotContainer container,
VariableBindings bindings,
java.util.Collection<ISlot> slots)
attempt to resolve the slot values using a container
|
void |
SlotBasedRequest.bindSlots(IModel model,
VariableBindings bindings,
java.util.Collection<ISlot> slots)
bind and resolve as many slots in the collection as possible.
|
java.util.Collection<ISlot> |
SlotBasedRequest.getSlots(java.util.Collection<ISlot> container) |
Constructor and Description |
---|
ChunkRequest(IChunk chunk,
java.util.Collection<? extends ISlot> slots) |
ChunkTypeRequest(IChunkType chunkType,
java.util.Collection<? extends ISlot> slots) |
SlotBasedRequest(java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Interface and Description |
---|---|
interface |
IConditionalSlot |
interface |
ILogicalSlot |
interface |
IMutableSlot |
interface |
IMutableVariableNameSlot
interface for a variable named slot that can have the name
resolved.
|
interface |
IVariableNameSlot
interface defining a slot who's name is a variable itself.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicSlot |
class |
DefaultConditionalSlot |
class |
DefaultLogicalSlot |
class |
DefaultMutableSlot |
class |
DefaultVariableConditionalSlot |
class |
ImmutableSlotWrapper |
class |
NotifyingSlot
slot that is aware of its parent container and can pass on change
notification s
|
Modifier and Type | Method and Description |
---|---|
ISlot |
ISlot.clone() |
protected ISlot |
UniqueSlotContainer.createSlot(ISlot slot) |
protected ISlot |
NotifyingSlotContainer.createSlot(ISlot slot) |
ISlot |
UniqueSlotContainer.getSlot(java.lang.String slotName) |
ISlot |
ProxyUniqueSlotContainer.getSlot(java.lang.String slotName) |
ISlot |
IUniqueSlotContainer.getSlot(java.lang.String slotName)
return the actual named slot.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends ISlot> |
UniqueSlotContainer.getSlots() |
java.util.Collection<? extends ISlot> |
ProxyUniqueSlotContainer.getSlots() |
java.util.Collection<? extends ISlot> |
ISlotContainer.getSlots()
return a duplicate copy of all the slots
|
java.util.Collection<? extends ISlot> |
DefaultLogicalSlot.getSlots() |
java.util.Collection<ISlot> |
UniqueSlotContainer.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
ProxyUniqueSlotContainer.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
ISlotContainer.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
DefaultLogicalSlot.getSlots(java.util.Collection<ISlot> container) |
Modifier and Type | Method and Description |
---|---|
void |
UniqueSlotContainer.addSlot(ISlot slot) |
void |
ProxyUniqueSlotContainer.addSlot(ISlot slot) |
void |
NotifyingSlotContainer.addSlot(ISlot slot) |
void |
ISlotContainer.addSlot(ISlot slot)
Adds a slot
|
void |
DefaultLogicalSlot.addSlot(ISlot slot) |
int |
BasicSlot.compareTo(ISlot compSlot) |
protected ISlot |
UniqueSlotContainer.createSlot(ISlot slot) |
protected ISlot |
NotifyingSlotContainer.createSlot(ISlot slot) |
void |
UniqueSlotContainer.removeSlot(ISlot slot) |
void |
ProxyUniqueSlotContainer.removeSlot(ISlot slot) |
void |
NotifyingSlotContainer.removeSlot(ISlot slot) |
void |
ISlotContainer.removeSlot(ISlot slot)
remove a slot
|
void |
DefaultLogicalSlot.removeSlot(ISlot slot) |
void |
NotifyingSlotContainer.valueChanged(ISlot slot,
java.lang.Object oldValue,
java.lang.Object newValue) |
void |
INotifyingSlotContainer.valueChanged(ISlot slot,
java.lang.Object oldValue,
java.lang.Object newValue)
method used by the owned slot to communicate its change of value to the
container
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ISlot> |
UniqueSlotContainer.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
ProxyUniqueSlotContainer.getSlots(java.util.Collection<ISlot> slots) |
java.util.Collection<ISlot> |
ISlotContainer.getSlots(java.util.Collection<ISlot> container) |
java.util.Collection<ISlot> |
DefaultLogicalSlot.getSlots(java.util.Collection<ISlot> container) |
Constructor and Description |
---|
BasicSlot(ISlot slot) |
DefaultConditionalSlot(ISlot slot) |
DefaultLogicalSlot(int operator,
ISlot value1,
ISlot value2) |
DefaultMutableSlot(ISlot slot) |
DefaultVariableConditionalSlot(ISlot slot) |
ImmutableSlotWrapper(ISlot slot) |
NotifyingSlot(ISlot slot,
INotifyingSlotContainer container) |
Constructor and Description |
---|
DefaultLogicalSlot(int operator,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
ISlot |
SlotEvent.getSlot() |
Constructor and Description |
---|
SlotEvent(INotifyingSlotContainer container,
ISlot slot,
java.lang.Object oldValue) |
SlotEvent(INotifyingSlotContainer container,
SlotEvent.Type type,
ISlot slot) |
Modifier and Type | Method and Description |
---|---|
protected ISlot |
JACTRBuilder.cleanupSlot(ISlot slot)
we use stringbuilders to mark string literals, which are removed during resolveSlots, but
that is only called on chunks and chunktypes, not conditions/actions.
|
ISlot |
JACTRBuilder.logic() |
ISlot |
JACTRBuilder.slot() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ISlot> |
JACTRBuilder.slots() |
Modifier and Type | Method and Description |
---|---|
protected ISlot |
JACTRBuilder.cleanupSlot(ISlot slot)
we use stringbuilders to mark string literals, which are removed during resolveSlots, but
that is only called on chunks and chunktypes, not conditions/actions.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OnsetFeatureMap.isValidValue(ISlot slot) |
protected boolean |
AudibleFeatureMap.isValidValue(ISlot slot) |
protected java.lang.Double |
OnsetFeatureMap.toData(ISlot slot) |
protected java.lang.Boolean |
AudibleFeatureMap.toData(ISlot slot) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultNumericFeatureMap.isValidValue(ISlot slot) |
protected abstract boolean |
AbstractSortedFeatureMap.isValidValue(ISlot slot)
tests to be sure the value of the slot is a valid type
|
protected java.lang.Double |
DefaultNumericFeatureMap.toData(ISlot slot) |
protected abstract T |
AbstractSortedFeatureMap.toData(ISlot slot)
converts a slot value to the appropriate type
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
VisibilityFeatureMap.isValidValue(ISlot slot) |
protected boolean |
SizeFeatureMap.isValidValue(ISlot slot) |
protected boolean |
PitchFeatureMap.isValidValue(ISlot slot) |
protected boolean |
HeadingFeatureMap.isValidValue(ISlot slot) |
protected boolean |
DistanceFeatureMap.isValidValue(ISlot slot) |
protected java.lang.Boolean |
VisibilityFeatureMap.toData(ISlot slot) |
protected java.lang.Double |
SizeFeatureMap.toData(ISlot slot) |
protected java.lang.Double |
PitchFeatureMap.toData(ISlot slot) |
protected java.lang.Double |
HeadingFeatureMap.toData(ISlot slot) |
protected java.lang.Double |
DistanceFeatureMap.toData(ISlot slot) |
Constructor and Description |
---|
PointMarkerAction(VariableBindings variableBindings,
java.util.Collection<? extends ISlot> slots) |