Modifier and Type | Method and Description |
---|---|
IChunk |
IActivationBuffer.addSourceChunk(IChunk c)
add a chunk to the buffer.
|
IChunk |
AbstractActivationBuffer.addSourceChunk(IChunk c)
add chunk to the buffer.
|
protected abstract IChunk |
AbstractActivationBuffer.addSourceChunkInternal(IChunk chunkToInsert)
return the source chunk that was actually inserted into the buffer (i.e.
|
IChunk |
IActivationBuffer.contains(IChunk c)
returns the buffer's source chunk that is symbolically equal to c, or null
if none is available or symbolically equal.
|
IChunk |
AbstractActivationBuffer.contains(IChunk c) |
IChunk |
AbstractActivationBuffer.containsExact(IChunk c) |
IChunk |
IActivationBuffer.getSourceChunk()
return a chunk from the buffer - the exact behavior is specified by the
particular buffer
|
IChunk |
AbstractActivationBuffer.getSourceChunk() |
protected abstract IChunk |
AbstractActivationBuffer.getSourceChunkInternal()
return the source chunk from the internal backing store
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
AbstractActivationBuffer.clearInternal()
called within the lock
|
java.util.Set<IChunk> |
ISourceActivationSpreader.getActivatedChunks(java.util.Set<IChunk> container) |
java.util.Collection<IChunk> |
ICapacityBuffer.getSourceChunks() |
java.util.Collection<IChunk> |
IActivationBuffer.getSourceChunks()
return all the chunks in the buffer
|
java.util.Collection<IChunk> |
AbstractActivationBuffer.getSourceChunks() |
java.util.Collection<IChunk> |
IActivationBuffer.getSourceChunks(java.util.Collection<IChunk> container) |
java.util.Collection<IChunk> |
AbstractActivationBuffer.getSourceChunks(java.util.Collection<IChunk> container) |
protected abstract java.util.Collection<IChunk> |
AbstractActivationBuffer.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
IChunk |
IActivationBuffer.addSourceChunk(IChunk c)
add a chunk to the buffer.
|
IChunk |
AbstractActivationBuffer.addSourceChunk(IChunk c)
add chunk to the buffer.
|
protected abstract IChunk |
AbstractActivationBuffer.addSourceChunkInternal(IChunk chunkToInsert)
return the source chunk that was actually inserted into the buffer (i.e.
|
IChunk |
IActivationBuffer.contains(IChunk c)
returns the buffer's source chunk that is symbolically equal to c, or null
if none is available or symbolically equal.
|
IChunk |
AbstractActivationBuffer.contains(IChunk c) |
IChunk |
AbstractActivationBuffer.containsExact(IChunk c) |
static java.util.Collection<IActivationBuffer> |
BufferUtilities.getContainingBuffers(IChunk chunk,
boolean isStrict)
return all the buffers that contain this chunk.
|
static void |
BufferUtilities.getContainingBuffers(IChunk chunk,
boolean isStrict,
java.util.Collection<IActivationBuffer> container) |
static void |
BufferUtilities.markContained(IChunk chunk,
IActivationBuffer buffer,
double activation)
marks this chunk as being contained within this buffer
|
void |
IActivationBuffer.matched(IChunk chunk)
called from within an instantiation notifying the buffer that this chunk
has been matched in the production that is about to fire.
|
void |
AbstractActivationBuffer.matched(IChunk chunk) |
protected boolean |
AbstractActivationBuffer.matchedInternal(IChunk chunk)
return true if the matched event should be fired
|
void |
IActivationBuffer.removeSourceChunk(IChunk c)
remove a chunk from the buffer, and notify listeners
|
void |
AbstractActivationBuffer.removeSourceChunk(IChunk c)
remove the chunk from the buffer.
|
protected abstract boolean |
AbstractActivationBuffer.removeSourceChunkInternal(IChunk chunkToRemove)
do the actual work of removing chunkToRemove from the buffer.
|
static void |
BufferUtilities.unmarkContained(IChunk chunk,
IActivationBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IChunk> |
ISourceActivationSpreader.getActivatedChunks(java.util.Set<IChunk> container) |
java.util.Collection<IChunk> |
IActivationBuffer.getSourceChunks(java.util.Collection<IChunk> container) |
java.util.Collection<IChunk> |
AbstractActivationBuffer.getSourceChunks(java.util.Collection<IChunk> container) |
protected abstract java.util.Collection<IChunk> |
AbstractActivationBuffer.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultDelegatedRequestableBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
protected IChunk |
DefaultDelegatedRequestableBuffer6.getSourceChunkInternal() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
DefaultDelegatedRequestableBuffer6.clearInternal() |
protected java.util.Collection<IChunk> |
DefaultDelegatedRequestableBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultDelegatedRequestableBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
protected boolean |
DefaultDelegatedRequestableBuffer6.removeSourceChunkInternal(IChunk chunkToRemove) |
protected void |
AsynchronousRequestDelegate.setError(IActivationBuffer buffer,
IChunk errorCode) |
protected void |
DefaultDelegatedRequestableBuffer6.setSourceChunkInternal(IChunk sourceChunk) |
protected boolean |
AddChunkRequestDelegate.shouldCopy(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
DefaultDelegatedRequestableBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
ActivationBufferEvent.getSourceChunks() |
Constructor and Description |
---|
ActivationBufferEvent(IActivationBuffer buffer,
ActivationBufferEvent.Type type,
IChunk sourceChunk)
for SOURCE_ADDED & REMOVED
|
Constructor and Description |
---|
ActivationBufferEvent(IActivationBuffer buffer,
java.util.Collection<IChunk> clearedChunks)
for SOURCE_CLEARED
|
Modifier and Type | Method and Description |
---|---|
protected IChunk |
ProxyActivationBuffer.addSourceChunkInternal(IChunk chunkToInsert)
adds are just passed to the source buffer
|
protected IChunk |
ProxyActivationBuffer.getSourceChunkInternal() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
ProxyActivationBuffer.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
ProxyActivationBuffer.addSourceChunkInternal(IChunk chunkToInsert)
adds are just passed to the source buffer
|
protected boolean |
ProxyActivationBuffer.removeSourceChunkInternal(IChunk chunkToRemove)
after verifying that the chunk is in the wrapped buffer, it delegates to
the wrapped buffer
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
ProxyActivationBuffer.getSourceChunksInternal(java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractActivationBuffer6.addSourceChunk(IChunk sourceChunk)
ensure that all chunks added are copies
|
protected IChunk |
BasicBuffer6.addSourceChunkInternal(IChunk chunkToInsert)
chunkToInsert is a copy of what was passed iff it has been encoded
|
protected IChunk |
AbstractCapacityBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
IChunk |
AbstractActivationBuffer6.getBusyChunk() |
IChunk |
AbstractActivationBuffer6.getEmptyChunk() |
IChunk |
AbstractActivationBuffer6.getErrorChunk() |
IChunk |
AbstractActivationBuffer6.getFreeChunk() |
IChunk |
AbstractActivationBuffer6.getFullChunk() |
IChunk |
AbstractActivationBuffer6.getRequestedChunk() |
protected IChunk |
BasicBuffer6.getSourceChunkInternal() |
protected IChunk |
AbstractCapacityBuffer6.getSourceChunkInternal()
return the first source chunk.
|
IChunk |
AbstractActivationBuffer6.getUnrequestedChunk() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
AbstractActivationBuffer6.clearInternal()
clear the status slots too
|
java.util.Set<IChunk> |
DefaultSourceActivationSpreader.getActivatedChunks(java.util.Set<IChunk> container) |
protected java.util.Map<IChunk,java.lang.Double> |
AbstractCapacityBuffer6.getChunksAndTimes() |
protected java.util.Collection<IChunk> |
BasicBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container) |
protected java.util.Collection<IChunk> |
AbstractCapacityBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container)
return the contents of the buffer.
|
protected java.util.Map<java.lang.Double,IChunk> |
AbstractCapacityBuffer6.getTimesAndChunks()
returns the actual backing map used.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractActivationBuffer6.addSourceChunk(IChunk sourceChunk)
ensure that all chunks added are copies
|
protected IChunk |
BasicBuffer6.addSourceChunkInternal(IChunk chunkToInsert)
chunkToInsert is a copy of what was passed iff it has been encoded
|
protected IChunk |
AbstractCapacityBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
protected void |
AbstractCapacityBuffer6.chunkInserted(IChunk insertedChunk)
set the status slots after insertion
|
protected void |
AbstractCapacityBuffer6.chunkRemoved(IChunk removedChunk) |
protected boolean |
AbstractCapacityBuffer6.matchedInternal(IChunk chunk)
when a chunk is matched against, we modify its insertion time..
|
protected boolean |
BasicBuffer6.removeSourceChunkInternal(IChunk chunkToRemove) |
protected boolean |
AbstractCapacityBuffer6.removeSourceChunkInternal(IChunk chunkToRemove) |
void |
IStatusBuffer.setBufferChunk(IChunk chunk) |
void |
AbstractActivationBuffer6.setBufferChunk(IChunk bufferState) |
void |
IStatusBuffer.setErrorChunk(IChunk chunk) |
void |
AbstractActivationBuffer6.setErrorChunk(IChunk chunk) |
protected void |
BasicBuffer6.setSourceChunkInternal(IChunk sourceChunk) |
void |
IStatusBuffer.setStateChunk(IChunk chunk) |
void |
AbstractActivationBuffer6.setStateChunk(IChunk chunk) |
protected boolean |
AbstractActivationBuffer6.shouldAcceptAsSource(IChunk futureSourceChunk) |
protected boolean |
AbstractActivationBuffer6.shouldCopyOnInsertion(IChunk chunk)
return true if this chunk should be copied, currently it just returns
isEncoded() or
BufferUtilities.getContainingBuffers(IChunk, boolean) .size()!=0. |
protected void |
AbstractActivationBuffer6.sourceChunkCopied(IChunk originalChunk,
IChunk nextSourceChunk)
called when we have to copy the source chunk before adding it.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<IChunk> |
DefaultSourceActivationSpreader.getActivatedChunks(java.util.Set<IChunk> container) |
protected java.util.Collection<IChunk> |
BasicBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container) |
protected java.util.Collection<IChunk> |
AbstractCapacityBuffer6.getSourceChunksInternal(java.util.Collection<IChunk> container)
return the contents of the buffer.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
ISymbolicChunk.getParentChunk()
The parent chunk is the org.jactr.chunk.Chunk wrapper that contains this
symbolic chunk.
|
IChunk |
ISubsymbolicChunk.getParentChunk() |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<IChunk> |
ChunkActivationComparator.reversed() |
Modifier and Type | Method and Description |
---|---|
int |
ChunkActivationComparator.compare(IChunk one,
IChunk two)
Description of the Method
|
boolean |
IChunk.equalsSymbolic(IChunk chunk)
returns true if the symbolic contents of the two chunks are the same, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultChunk
abstract chunk that handles most common logic for the developer.
|
Modifier and Type | Field and Description |
---|---|
protected IChunk |
BasicSymbolicChunk._parentChunk |
protected IChunk |
AbstractSubsymbolicChunk._parentChunk |
Modifier and Type | Method and Description |
---|---|
IChunk |
BasicSymbolicChunk.getParentChunk()
return the IChunk wrapper
|
IChunk |
AbstractSubsymbolicChunk.getParentChunk() |
Modifier and Type | Method and Description |
---|---|
ACTREventDispatcher<IChunk,IChunkListener> |
ChunkData.getChunkDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSubsymbolicChunk.bind(IChunk wrapper) |
void |
BasicSymbolicChunk.bind(IChunk wrapper,
IChunkType type) |
int |
DefaultChunk.compareTo(IChunk comparison)
note : non-locking
|
boolean |
DefaultChunk.equalsSymbolic(IChunk chunk) |
void |
DefaultChunk.mergeInto(IChunk masterChunk)
merge the metadata, this does not affect the symbolic/subsymbolic contents.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
ChunkEvent.getChunk() |
IChunk |
ChunkEvent.getSimilarChunk() |
Constructor and Description |
---|
ChunkEvent(IChunk source,
ChunkEvent.Type type) |
ChunkEvent(IChunk sourceAndOriginalChunk,
ChunkEvent.Type type,
IChunk mergie) |
ChunkEvent(IChunk source,
IChunk similarChunk,
double oldSim,
double newSim) |
ChunkEvent(IChunk source,
ISlot slot,
java.lang.Object oldValue) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<IChunk,java.lang.Double> |
DefaultSubsymbolicChunk5._similarityMap |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSubsymbolicChunk5.bind(IChunk wrapper) |
double |
ISubsymbolicChunk5.getSimilarity(IChunk c) |
double |
DefaultSubsymbolicChunk5.getSimilarity(IChunk c)
Gets the Similarity attribute of the DefaultSubsymbolicChunk5 object
|
void |
ISubsymbolicChunk5.setSimilarity(IChunk c,
double value)
The similarity between two chunks can either be computed by the similarity
computer or it can be set directly by the modeler.
|
void |
DefaultSubsymbolicChunk5.setSimilarity(IChunk c,
double value)
Sets the Similarity attribute of the DefaultSubsymbolicChunk5 object
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<IChunk,IAssociativeLink> |
DefaultSubsymbolicChunk4._iAssociations |
protected java.util.Map<IChunk,IAssociativeLink> |
DefaultSubsymbolicChunk4._jAssociations |
Modifier and Type | Method and Description |
---|---|
IAssociativeLink |
ISubsymbolicChunk4.getIAssociation(IChunk iChunk)
get the I association between this chunk (J) and i
|
IAssociativeLink |
DefaultSubsymbolicChunk4.getIAssociation(IChunk iChunk) |
void |
DefaultSubsymbolicChunk4.getInboundLinks(IChunk sender,
java.util.Collection<IAssociativeLink> container) |
IAssociativeLink |
ISubsymbolicChunk4.getJAssociation(IChunk jChunk)
get the J association between this chunk (I) and j
|
IAssociativeLink |
DefaultSubsymbolicChunk4.getJAssociation(IChunk jChunk) |
void |
DefaultSubsymbolicChunk4.getOutboundLinks(IChunk receiver,
java.util.Collection<IAssociativeLink> container) |
Constructor and Description |
---|
Link4(IChunk j,
IChunk i)
The j chunk should contain the I chunk as a slot value.
|
Link4(IChunk j,
IChunk i,
int count,
double strength)
Constructor for the Link object
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IAssociativeLink.getIChunk()
get the chunk containing the reference to j
|
IChunk |
AbstractAssociativeLink.getIChunk() |
IChunk |
IAssociativeLink.getJChunk()
get the chunk that is contained by i and will spread activation to it.
|
IChunk |
AbstractAssociativeLink.getJChunk() |
Constructor and Description |
---|
AbstractAssociativeLink(IChunk jChunk,
IChunk iChunk,
double strength) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
ISymbolicChunkType.getChunks()
return all chunks of this type
|
Modifier and Type | Method and Description |
---|---|
void |
ISymbolicChunkType.addChunk(IChunk c)
add an encoded chunk to this chunktypes collection
|
void |
IRemovableSymbolicChunkType.removeChunk(IChunk chunk) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<IChunk> |
BasicSymbolicChunkType._chunks |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
BasicSymbolicChunkType.getChunks()
return all chunks of this type
|
Modifier and Type | Method and Description |
---|---|
void |
BasicSymbolicChunkType.addChunk(IChunk c)
add this chunk to this chunktype and then up the parental hierachy
|
void |
BasicSymbolicChunkType.removeChunk(IChunk chunk)
remove this chunk from the chunktype's list of encoded chunks.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
ChunkTypeEvent.getChunk() |
Constructor and Description |
---|
ChunkTypeEvent(IChunkType source,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
IDeclarativeModule.getBusyChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getEmptyChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getErrorChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getFreeChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getFullChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getNewChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getRequestedChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
IChunk |
IDeclarativeModule.getUnrequestedChunk()
snag the busy chunk.
Note : this should not be called by the declarative memory module if the retrieval will access the future methods as it might result in deadlock. |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.addChunk(IChunk chunk)
add this chunk to the model and optionally check for duplicates so that it
can be merged if necessary
|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.copyChunk(IChunk sourceChunk)
return a copy of source chunk
|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.createChunk(IChunkType parent,
java.lang.String name)
create a chunk to later be inserted.
|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
IDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter)
search DM for all the chunks that match pattern, sorting using sorter, that
are above activationThreshold
|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
IDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter)
search DM for all the chunks that partially match
|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.getChunk(java.lang.String name)
return the named chunk, case insensitive but preserving
|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
IDeclarativeModule.getChunks()
return all chunks.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.addChunk(IChunk chunk)
add this chunk to the model and optionally check for duplicates so that it
can be merged if necessary
|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.copyChunk(IChunk sourceChunk)
return a copy of source chunk
|
java.util.concurrent.CompletableFuture<IChunk> |
IDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
void |
IDeclarativeModule.dispose(IChunk chunk)
request that this chunk be disposed.
|
void |
IRemovableDeclarativeModule.removeChunk(IChunk chunk)
remove chunk from long term memory.
|
boolean |
IDeclarativeModule.willEncode(IChunk chunk)
because encoding might be async, we need a method to determine if a given
chunk is scheduled for encoding
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
IDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter)
search DM for all the chunks that match pattern, sorting using sorter, that
are above activationThreshold
|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
IDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter)
search DM for all the chunks that partially match
|
Modifier and Type | Method and Description |
---|---|
void |
IAssociativeLinkageSystem.chunkWillBeDisposed(IChunk chunk)
this chunk will be disposed, clean up its links correctly.
|
void |
IAssociativeLinkageSystem.copyAndRemapLinks(IChunk source,
IChunk destination,
boolean copySourceIs,
boolean copySourceJs)
copy all the specified links from source, replacing all occurences of
source with destination, and added to destination.
|
IAssociativeLink |
IAssociativeLinkageSystem.createLink(IChunk iChunk,
IChunk jChunk)
create a new associative link spreading activation from j to i
|
void |
IAssociativeLinkContainer.getInboundLinks(IChunk sender,
java.util.Collection<IAssociativeLink> container)
return all the links that we are getting
|
void |
IAssociativeLinkContainer.getOutboundLinks(IChunk receiver,
java.util.Collection<IAssociativeLink> container)
return all outbound links that connect to receiver.
|
LinkParameterProcessor |
IAssociativeLinkageSystem.getParameterProcessor(IChunk sourceChunk) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,IChunk> |
DefaultDeclarativeModule._allChunks |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultDeclarativeModule.addChunkInternal(IChunk chunk,
java.util.Collection<IChunk> possibleMatches) |
protected abstract IChunk |
AbstractDeclarativeModule.addChunkInternal(IChunk chunkToAdd,
java.util.Collection<IChunk> possibleMatches)
add the chunk to DM on the module's executor.
|
protected IChunk |
AbstractDeclarativeModule.createChunkInternal(IChunkType parent,
java.lang.String name)
create the chunk
|
IChunk |
AbstractDeclarativeModule.getBusyChunk() |
protected IChunk |
DefaultDeclarativeModule.getChunkInternal(java.lang.String name) |
protected abstract IChunk |
AbstractDeclarativeModule.getChunkInternal(java.lang.String chunkName) |
IChunk |
AbstractDeclarativeModule.getEmptyChunk() |
IChunk |
AbstractDeclarativeModule.getErrorChunk() |
IChunk |
AbstractDeclarativeModule.getFreeChunk() |
IChunk |
AbstractDeclarativeModule.getFullChunk() |
IChunk |
AbstractDeclarativeModule.getNewChunk() |
IChunk |
AbstractDeclarativeModule.getRequestedChunk() |
IChunk |
AbstractDeclarativeModule.getUnrequestedChunk() |
protected IChunk |
AbstractDeclarativeModule.merge(IChunk originalChunk,
IChunk newChunk)
entry point for merging chunks.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.addChunk(IChunk chunk)
add chunk to DM.
|
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.copyChunk(IChunk sourceChunk)
copy the specified chunk, by default this will also copy subsymbolics
|
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.createChunk(IChunkType parent,
java.lang.String name)
create a chunk by delegating to
AbstractDeclarativeModule.createChunkInternal(IChunkType, String) on AbstractModule.getExecutor() |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DefaultDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
protected java.util.Collection<IChunk> |
DefaultDeclarativeModule.findExactMatchesInternal(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DefaultDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
protected java.util.Collection<IChunk> |
DefaultDeclarativeModule.findPartialMatchesInternal(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.getChunk(java.lang.String name)
delegated
|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
AbstractDeclarativeModule.getChunks() |
protected java.util.Collection<IChunk> |
DefaultDeclarativeModule.getChunksInternal() |
protected abstract java.util.Collection<IChunk> |
AbstractDeclarativeModule.getChunksInternal() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.addChunk(IChunk chunk)
add chunk to DM.
|
protected IChunk |
DefaultDeclarativeModule.addChunkInternal(IChunk chunk,
java.util.Collection<IChunk> possibleMatches) |
protected abstract IChunk |
AbstractDeclarativeModule.addChunkInternal(IChunk chunkToAdd,
java.util.Collection<IChunk> possibleMatches)
add the chunk to DM on the module's executor.
|
void |
DefaultAssociativeLinkageSystem.chunkWillBeDisposed(IChunk chunk)
here we clean up the associative links.
|
protected void |
AbstractDeclarativeModule.configure(IChunk newChunk)
calls the pluggable IChunkConfigurator
|
void |
DefaultAssociativeLinkageSystem.copyAndRemapLinks(IChunk source,
IChunk destination,
boolean copySourceIs,
boolean copySourceJs) |
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.copyChunk(IChunk sourceChunk)
copy the specified chunk, by default this will also copy subsymbolics
|
java.util.concurrent.CompletableFuture<IChunk> |
AbstractDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
protected void |
AbstractDeclarativeModule.copyChunkInternal(IChunk sourceChunk,
IChunk destination,
boolean copySubsymbolics)
copy source to copy
|
IAssociativeLink |
DefaultAssociativeLinkageSystem.createLink(IChunk iChunk,
IChunk jChunk)
creates the default link.
|
protected void |
AbstractDeclarativeModule.deferredEncode(IChunk chunk)
encode this chunk at some later time (top/bottom of the cycle).
|
void |
AbstractDeclarativeModule.dispose(IChunk chunk)
schedule this chunk to be disposed, at the module's earliest convenience
|
protected void |
AbstractDeclarativeModule.disposeInternal(IChunk chunk)
actually perform the disposal
|
protected void |
AbstractDeclarativeModule.fireChunkAdded(IChunk chunk) |
protected void |
AbstractDeclarativeModule.fireChunkCreated(IChunk chunk) |
protected void |
AbstractDeclarativeModule.fireChunkDisposed(IChunk chunk) |
protected void |
AbstractDeclarativeModule.fireChunkRemoved(IChunk chunk) |
protected void |
AbstractDeclarativeModule.fireChunksMerged(IChunk original,
IChunk duplicateChunk) |
LinkParameterProcessor |
DefaultAssociativeLinkageSystem.getParameterProcessor(IChunk sourceChunk) |
static boolean |
AbstractDeclarativeModule.isDisposalSuspended(IChunk chunk) |
protected IChunk |
AbstractDeclarativeModule.merge(IChunk originalChunk,
IChunk newChunk)
entry point for merging chunks.
|
protected void |
AbstractDeclarativeModule.mergeChunksInternal(IChunk originalChunk,
IChunk newChunk)
actually do the work or merging newChunk into originalChunk.
|
protected void |
DefaultAssociativeLinkageSystem.remapAndInstall(IChunk source,
IChunk dest,
IAssociativeLink link) |
void |
DefaultDeclarativeModule.removeChunk(IChunk chunk)
merely remove the chunk from the internal DM store and the chunktype store.
|
protected void |
DefaultDeclarativeModule.removeChunkInternal(IChunk chunk) |
static void |
AbstractDeclarativeModule.setDisposalSuspended(IChunk chunk,
boolean suspend)
there is a grey area between the creation of a chunk and it's use in a
buffer or encoding.
|
boolean |
AbstractDeclarativeModule.willEncode(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultDeclarativeModule.addChunkInternal(IChunk chunk,
java.util.Collection<IChunk> possibleMatches) |
protected abstract IChunk |
AbstractDeclarativeModule.addChunkInternal(IChunk chunkToAdd,
java.util.Collection<IChunk> possibleMatches)
add the chunk to DM on the module's executor.
|
protected void |
AbstractDeclarativeModule.deferredEncode(java.util.Collection<IChunk> chunks) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DefaultDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
protected java.util.Collection<IChunk> |
DefaultDeclarativeModule.findExactMatchesInternal(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DefaultDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
protected java.util.Collection<IChunk> |
DefaultDeclarativeModule.findPartialMatchesInternal(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
protected void |
AbstractDeclarativeModule.processPendingDisposals(javolution.util.FastList<IChunk> chunkContainer,
javolution.util.FastList<IActivationBuffer> bufferContainer)
called internally at the top & bottom of the cycle and at the end of a run.
|
protected void |
AbstractDeclarativeModule.processPendingEncodings(javolution.util.FastList<IChunk> chunkContainer,
javolution.util.FastList<IActivationBuffer> bufferContainer) |
Modifier and Type | Method and Description |
---|---|
IChunk |
IChunkFactory.newChunk(IModel model)
create a new IChunk wrapper, its symbolic and subsymbolic contents should
not be set.
|
IChunk |
DefaultChunkFactory.newChunk(IModel model) |
Modifier and Type | Method and Description |
---|---|
void |
IChunkFactory.bind(IChunk chunk,
ISymbolicChunk symbolic,
ISubsymbolicChunk subsymbolic)
bind this chunk wrapper to its related contents.
|
void |
DefaultChunkFactory.bind(IChunk chunk,
ISymbolicChunk symbolic,
ISubsymbolicChunk subsymbolic) |
void |
ISubsymbolicChunkFactory.bind(ISubsymbolicChunk subsymbolic,
IChunk wrapper,
IChunkType type) |
void |
DefaultSubsymbolicChunkFactory5.bind(ISubsymbolicChunk subsymbolic,
IChunk wrapper,
IChunkType type) |
void |
ISymbolicChunkFactory.bind(ISymbolicChunk symbolicChunk,
IChunk chunkWrapper,
IChunkType type) |
void |
DefaultSymbolicChunkFactory.bind(ISymbolicChunk symbolicChunk,
IChunk chunkWrapper,
IChunkType type) |
void |
NoOpChunkConfigurator.configure(IChunk chunk) |
void |
IChunkConfigurator.configure(IChunk chunk) |
void |
ChainedChunkConfigurator.configure(IChunk chunk) |
void |
IChunkFactory.copy(IChunk source,
IChunk destination)
copy relevant metadata to a chunk that will (ultimately) be a copy
|
void |
DefaultChunkFactory.copy(IChunk source,
IChunk destination) |
void |
IChunkFactory.dispose(IChunk chunk)
dispose of an unneeded chunk wrapper.
|
void |
DefaultChunkFactory.dispose(IChunk chunk) |
java.lang.String |
NoOpChunkNamer.generateName(IChunk chunk) |
java.lang.String |
IChunkNamer.generateName(IChunk chunk) |
void |
IChunkFactory.merge(IChunk master,
IChunk mergie) |
void |
DefaultChunkFactory.merge(IChunk master,
IChunk mergie) |
void |
IChunkFactory.unbind(IChunk chunk,
ISymbolicChunk symbolic,
ISubsymbolicChunk subsymbolic)
disassociate the chunk from its contents
|
void |
DefaultChunkFactory.unbind(IChunk chunk,
ISymbolicChunk symbolic,
ISubsymbolicChunk subsymbolic) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<IChunk> |
DeclarativeModuleEvent._chunks |
Modifier and Type | Method and Description |
---|---|
IChunk |
DeclarativeModuleEvent.getChunk() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
DeclarativeModuleEvent.getChunks() |
Constructor and Description |
---|
DeclarativeModuleEvent(IDeclarativeModule source,
DeclarativeModuleEvent.Type type,
IChunk... chunks) |
DeclarativeModuleEvent(IDeclarativeModule source,
DeclarativeModuleEvent.Type type,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
double |
IBaseLevelActivationEquation.computeBaseLevelActivation(IModel model,
IChunk c)
compute the base level activation for the chunk c in the model model.
|
double |
DefaultBaseLevelActivationEquation.computeBaseLevelActivation(IModel model,
IChunk c) |
double |
IRandomActivationEquation.computeRandomActivation(IModel model,
IChunk c) |
double |
DefaultRandomActivationEquation.computeRandomActivation(IModel model,
IChunk c) |
double |
ISpreadingActivationEquation.computeSpreadingActivation(IModel model,
IChunk c) |
double |
DefaultSpreadingActivationEquation.computeSpreadingActivation(IModel model,
IChunk c) |
Modifier and Type | Method and Description |
---|---|
protected void |
ChunkListener.copyMergingIntoMaster(IChunk master,
IChunk copy)
if a copy of master and master are to be merged, and copy has master's
subsymbolics, then master can simply assume the same values and links.
|
protected void |
DefaultAssociativeLinkageSystem4.linkSlotValue(IChunk iChunk,
IChunk value,
boolean valueIsOld)
will create (or remove) an associative link from value to iChunk,
establishing the containment link.
|
protected void |
ChunkListener.newMergingIntoMaster(IChunk master,
IChunk identical)
a new chunk merging into an existing one requires that the new links be
updated and absorbed into master, while addressing links between master and
identical (new).
|
protected void |
ChunkListener.processLinks(IChunk master,
IChunk copy,
boolean absorbLinks,
boolean processJLinks,
double fnicjCorrection) |
protected double[] |
ChunkListener.processSelfLinks(IChunk master,
IChunk copy,
boolean absorb)
merge copy's self link with master's.
|
Modifier and Type | Method and Description |
---|---|
void |
ProceduralModuleListener.updateStatistics(java.util.SortedMap<java.lang.String,IChunk> matchedChunks) |
Modifier and Type | Method and Description |
---|---|
double |
DefaultBaseLevelActivationEquation.computeBaseLevelActivation(IModel model,
IChunk c)
Description of the Method
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
ISearchSystem.findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
return all I that match this pattern exactly
|
java.util.Collection<IChunk> |
ISearchSystem.findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
find all I that match this pattern somewhat
|
Modifier and Type | Method and Description |
---|---|
void |
ISearchSystem.index(IChunk chunk)
index this object
|
void |
ISearchSystem.unindex(IChunk chunk)
remove this object from the index
|
void |
ISearchSystem.update(IChunk chunk,
java.lang.String slotName,
java.lang.Object oldValue,
java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
ISearchSystem.findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
return all I that match this pattern exactly
|
java.util.Collection<IChunk> |
ISearchSystem.findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
find all I that match this pattern somewhat
|
Modifier and Type | Method and Description |
---|---|
boolean |
PartialMatchActivationFilter.accept(IChunk chunk) |
boolean |
IChunkFilter.accept(IChunk chunk)
return true if this chunk should be included in the search results.
|
boolean |
ActivationFilter.accept(IChunk chunk) |
boolean |
AcceptAllFilter.accept(IChunk chunk) |
double |
ActivationPolicy.getActivation(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ChunkTypeValueMap.asKeyType(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
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
|
java.util.SortedSet<IChunk> |
DefaultSearchSystem.findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
this implementation fails fast
|
protected java.util.Collection<IChunk> |
DefaultSearchSystem.findExactPooledThreads(ChunkTypeRequest pattern) |
protected java.util.SortedSet<IChunk> |
DefaultSearchSystem.findExactSingleThreaded(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter) |
java.util.SortedSet<IChunk> |
DefaultSearchSystem.findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter) |
protected ITypeValueMap<?,IChunk> |
DefaultSearchSystem.getSlotNameTypeValueMap(java.lang.String typeSlotNameIndexKey,
java.lang.Object value,
boolean create)
return the ITypeValueMap for the slot name.
|
IValueMap<IChunk,I> |
ChunkTypeValueMap.getValueMap() |
protected java.util.Collection<IChunk> |
DefaultSearchSystem.greaterThan(IChunkType type,
ISlot slot) |
protected ITypeValueMap<?,IChunk> |
DefaultSearchSystem.instantiateTypeValueMap(java.lang.Object value) |
protected java.util.Collection<ITypeValueMap<?,IChunk>> |
DefaultSearchSystem.instantiateTypeValueMapCollection() |
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 void |
DefaultSearchSystem.addIndexing(IChunk chunk,
java.lang.String slotName,
java.lang.Object value) |
void |
DefaultSearchSystem.index(IChunk chunk) |
protected void |
DefaultSearchSystem.removeIndexing(IChunk chunk,
java.lang.String slotName,
java.lang.Object value) |
void |
DefaultSearchSystem.unindex(IChunk chunk) |
void |
DefaultSearchSystem.update(IChunk chunk,
java.lang.String slotName,
java.lang.Object oldValue,
java.lang.Object newValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultSearchSystem.cleanAddAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates)
wrappers for the set logic so that we can easily clean up of the temporary
collections
|
protected void |
DefaultSearchSystem.cleanAddAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates)
wrappers for the set logic so that we can easily clean up of the temporary
collections
|
protected void |
DefaultSearchSystem.cleanRemoveAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates) |
protected void |
DefaultSearchSystem.cleanRemoveAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates) |
protected void |
DefaultSearchSystem.cleanRetainAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates) |
protected void |
DefaultSearchSystem.cleanRetainAll(java.util.Collection<IChunk> rtnSet,
java.util.Collection<IChunk> candidates) |
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
|
java.util.SortedSet<IChunk> |
DefaultSearchSystem.findExact(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter)
this implementation fails fast
|
protected java.util.SortedSet<IChunk> |
DefaultSearchSystem.findExactSingleThreaded(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter) |
java.util.SortedSet<IChunk> |
DefaultSearchSystem.findFuzzy(ChunkTypeRequest pattern,
java.util.Comparator<IChunk> sortRule,
IChunkFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeclarativeModule6.configure(IChunk newChunk)
make sure that the appropriate activation equations are configured for the
chunks
|
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultGoalBuffer6.addSourceChunkInternal(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultGoalBuffer6.addSourceChunkInternal(IChunk chunk) |
protected boolean |
DefaultGoalBuffer6.removeSourceChunkInternal(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultImaginalBuffer.setSourceChunkInternal(IChunk sourceChunk) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
IRetrievalModule.retrieveChunk(ChunkTypeRequest chunkRequest) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
DefaultRetrievalBuffer6.clearInternal() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultRetrievalBuffer6.setSourceChunkInternal(IChunk sourceChunk) |
protected boolean |
DefaultRetrievalBuffer6.shouldCopyOnInsertion(IChunk chunk)
this lets the retrieval buffer contain the original chunk and not its copy
|
Modifier and Type | Method and Description |
---|---|
IChunk |
RetrievalModuleEvent.getChunk() |
Constructor and Description |
---|
RetrievalModuleEvent(IRetrievalModule source,
ChunkTypeRequest pattern,
IChunk chunk,
double retrievalTime) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultRetrievalModule6.retrieveChunkInternal(IDeclarativeModule dm,
ChunkTypeRequest pattern) |
protected IChunk |
DefaultRetrievalModule6.selectRetrieval(java.util.Collection<IChunk> results,
IChunk errorChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest cleanedRequest)
choose the best matching result from the colleciton
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
DefaultRetrievalModule6.retrieveChunk(ChunkTypeRequest chunkPattern) |
Modifier and Type | Method and Description |
---|---|
void |
DeclarativeFINSTManager.addRecentRetrieval(IChunk retrievedChunk,
double when) |
protected void |
DefaultRetrievalModule6.fireCompleted(ChunkTypeRequest pattern,
IChunk chunk,
double retrievalTime) |
boolean |
DefaultRetrievalModule6.hasBeenRetrieved(IChunk chunk) |
boolean |
DeclarativeFINSTManager.hasBeenRetrieved(IChunk chunk) |
void |
DeclarativeFINSTManager.removeRecentRetrieval(IChunk retrievedChunk) |
protected IChunk |
DefaultRetrievalModule6.selectRetrieval(java.util.Collection<IChunk> results,
IChunk errorChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest cleanedRequest)
choose the best matching result from the colleciton
|
protected void |
DeclarativeFINSTManager.setErrorChunk(IChunk errorChunk) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultRetrievalModule6.selectRetrieval(java.util.Collection<IChunk> results,
IChunk errorChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest cleanedRequest)
choose the best matching result from the colleciton
|
Modifier and Type | Method and Description |
---|---|
double |
IRetrievalTimeEquation.computeRetrievalTime(IChunk c)
compute retrieval time of chunk c in the model.
|
double |
DefaultRetrievalTimeEquation.computeRetrievalTime(IChunk chunk)
Description of the Method
|
double |
CompetitiveRetrievalTimeEquation.computeRetrievalTime(IChunk chunk)
Description of the Method
|
double |
IRetrievalTimeEquation.computeRetrievalTime(IChunk retrievedChunk,
ChunkTypeRequest retrievalRequest)
compute the retrieval time of retrievedChunk relative to retrievalRequest
if partial matching is enabled.
|
double |
DefaultRetrievalTimeEquation.computeRetrievalTime(IChunk retrievedChunk,
ChunkTypeRequest retrievalRequest) |
double |
CompetitiveRetrievalTimeEquation.computeRetrievalTime(IChunk retrievedChunk,
ChunkTypeRequest retrievalRequest) |
Modifier and Type | Method and Description |
---|---|
IChunk |
SetAction.SetActionTimedEvent.getBoundChunk() |
IChunk |
RemoveAction.RemoveActionTimedEvent.getBoundChunk() |
protected IChunk |
ModifyAction.getBoundChunk() |
IChunk |
ModifyAction.ModifyActionTimedEvent.getBoundChunk() |
IChunk |
AddAction.getChunk()
return the chunk to be added if it was specified.
|
Modifier and Type | Method and Description |
---|---|
void |
AddAction.setChunk(IChunk c)
set the chunk that will be added to the buffer
|
protected void |
DefaultAction.updateSlots(IChunk chunk,
java.util.Collection<? extends ISlot> slots)
updates chunk's slots with these slots.
|
Constructor and Description |
---|
ModifyActionTimedEvent(double now,
double whenToFire,
IActivationBuffer buffer,
IChunk chunkToModify,
java.util.Collection<? extends ISlot> slots) |
RemoveActionTimedEvent(double now,
double removeTime,
IActivationBuffer buffer,
IChunk chunk,
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 |
---|---|
IChunk |
ChunkCondition.getChunk() |
Constructor and Description |
---|
ChunkCondition(java.lang.String bufferName,
IChunk chunk) |
ChunkCondition(java.lang.String bufferName,
IChunk chunk,
java.util.Collection<? extends ISlot> slots) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ChunkTypeMatchFailure.getFoundChunk() |
Constructor and Description |
---|
ChunkTypeMatchFailure(IChunkType expected,
IChunk found) |
ChunkTypeMatchFailure(ICondition condition,
IChunkType expected,
IChunk found) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ChunkRequest.getChunk() |
Modifier and Type | Method and Description |
---|---|
int |
ChunkTypeRequest.bind(IChunk testChunk,
IModel model,
VariableBindings bindings,
boolean iterativeCall)
same idea as
IRequest.bind(IModel, VariableBindings, boolean) |
int |
SlotBasedRequest.countMatches(IChunk chunk,
VariableBindings bindings)
returns the number of slots in this container that match those in the
provided container.
|
Constructor and Description |
---|
ChunkRequest(IChunk chunk) |
ChunkRequest(IChunk chunk,
java.util.Collection<? extends ISlot> slots) |
ChunkTypeRequest(IChunk chunk)
create a request that directly mirrors this chunk.
|
Modifier and Type | Field and Description |
---|---|
protected IChunk |
DelayedBufferInsertionTimedEvent._chunkToInsert |
protected IChunk |
FutureChunkInsertionTimedEvent._insertedChunk
Deprecated.
|
protected IChunk |
DelayedBufferInsertionTimedEvent._insertedChunk |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.Future<IChunk> |
FutureChunkInsertionTimedEvent._chunkToInsert
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IBufferBasedTimedEvent.getBoundChunk()
return the chunk that is (or will be) in the buffer that will be
manipulated
|
IChunk |
FutureChunkPatternInsertionTimedEvent.getBoundChunk()
Deprecated.
|
IChunk |
FutureChunkInsertionTimedEvent.getBoundChunk()
Deprecated.
|
IChunk |
DelayedIndirectBufferRequestTimedEvent.getBoundChunk() |
IChunk |
DelayedBufferRequestTimedEvent.getBoundChunk() |
IChunk |
DelayedBufferInsertionTimedEvent.getBoundChunk() |
IChunk |
DelayedBufferInsertionTimedEvent.getChunkToInsert()
the chunk that is to be inserted into the buffer
|
IChunk |
FutureChunkInsertionTimedEvent.getInsertedChunk()
Deprecated.
|
IChunk |
DelayedBufferInsertionTimedEvent.getInsertedChunk()
return the chunk that is actually in the buffer after firing, often this is
a copy of chunktoinsert
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<IChunk> |
FutureChunkInsertionTimedEvent.getFutureChunk()
Deprecated.
|
Constructor and Description |
---|
DelayedBufferInsertionTimedEvent(IActivationBuffer buffer,
IChunk chunkToInsert,
double startTime,
double endTime) |
Constructor and Description |
---|
FutureChunkInsertionTimedEvent(java.util.concurrent.Future<IChunk> chunkToInsert,
IActivationBuffer buffer,
double startTime,
double endTime)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
StringUtilities.toString(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
int |
ChunkNameComparator.compare(IChunk o1,
IChunk o2) |
Modifier and Type | Method and Description |
---|---|
IAssociativeLink |
LinkParameterHandler.coerce(java.lang.String value,
IChunk jChunk,
ACTRParameterHandler actrHandler) |
void |
LinkParameterHandler.setDependents(IChunk jChunk,
ACTRParameterHandler handler) |
Constructor and Description |
---|
LinkParameterHandler(IChunk jChunk,
ACTRParameterHandler handler) |
LinkParameterProcessor(java.lang.String parameterName,
java.util.function.Consumer<IAssociativeLink> setFunction,
java.util.function.Supplier<IAssociativeLink> getFunction,
ACTRParameterProcessor actrProcessor,
IChunk sourceChunk)
link parameter handler with string transform functions supporting "(iLink
count strength fNiCj)"
|
LinkParameterProcessor(java.lang.String parameterName,
java.util.function.Function<java.lang.String,IAssociativeLink> fromString,
java.util.function.Consumer<IAssociativeLink> setFunction,
java.util.function.Function<IAssociativeLink,java.lang.String> toString,
java.util.function.Supplier<IAssociativeLink> getFunction,
ACTRParameterProcessor actrProcessor,
IChunk sourceChunk)
full constructor for others to overload.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultSimilarityHandler.setSimilarity(IChunk one,
IChunk two,
double sim)
Sets the similarity attribute of the DefaultSimilarityHandler class
|
Modifier and Type | Method and Description |
---|---|
IChunk |
JACTRBuilder.chunk() |
Modifier and Type | Method and Description |
---|---|
protected void |
JACTRBuilder.resolveSlots(ISlotContainer slotContainer,
java.util.Map<java.lang.String,IChunk> knownChunks,
java.util.Map<java.lang.String,IChunkType> knownChunkTypes) |
Modifier and Type | Method and Description |
---|---|
static org.antlr.runtime.tree.CommonTree |
ASTResolver.toAST(IChunk chunk,
boolean skipParameters)
return the AST describing this chunk
|
Modifier and Type | Method and Description |
---|---|
IChunk |
DelegatedDeclarativeModule.getBusyChunk() |
IChunk |
DelegatedDeclarativeModule.getEmptyChunk() |
IChunk |
DelegatedDeclarativeModule.getErrorChunk() |
IChunk |
DelegatedDeclarativeModule.getFreeChunk() |
IChunk |
DelegatedDeclarativeModule.getFullChunk() |
IChunk |
DelegatedDeclarativeModule.getNewChunk() |
IChunk |
DelegatedDeclarativeModule.getRequestedChunk() |
IChunk |
DelegatedDeclarativeModule.getUnrequestedChunk() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.addChunk(IChunk chunk) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.copyChunk(IChunk sourceChunk) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.createChunk(IChunkType parent,
java.lang.String name) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DelegatedDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DelegatedDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.getChunk(java.lang.String name) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DelegatedDeclarativeModule.getChunks() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.addChunk(IChunk chunk) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.copyChunk(IChunk sourceChunk) |
java.util.concurrent.CompletableFuture<IChunk> |
DelegatedDeclarativeModule.copyChunk(IChunk sourceChunk,
boolean copySubsymbolics) |
void |
DelegatedDeclarativeModule.dispose(IChunk chunk) |
boolean |
DelegatedDeclarativeModule.willEncode(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DelegatedDeclarativeModule.findExactMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
java.util.concurrent.CompletableFuture<java.util.Collection<IChunk>> |
DelegatedDeclarativeModule.findPartialMatches(ChunkTypeRequest request,
java.util.Comparator<IChunk> sorter,
IChunkFilter filter) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractPerceptualModule.getBusyChunk() |
IChunk |
AbstractPerceptualModule.getErrorChunk() |
IChunk |
AbstractPerceptualModule.getFreeChunk() |
protected IChunk |
AbstractPerceptualModule.getNamedChunk(java.lang.String name)
utility to snag a named chunk from DM
|
IChunk |
AbstractPerceptualModule.getRequestedChunk() |
IChunk |
AbstractPerceptualModule.getUnrequestedChunk() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<IChunk> |
IPerceptualMemoryModule.attendTo(PerceptualSearchResult searchResult,
double requestTime)
attend to some search result, potentially returning some attended
perceptual representation in the future.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IAuralModule.getExternalChunk() |
IChunk |
AbstractAuralModule.getExternalChunk() |
IChunk |
IAuralModule.getHighestChunk() |
IChunk |
AbstractAuralModule.getHighestChunk() |
IChunk |
IAuralModule.getInternalChunk() |
IChunk |
AbstractAuralModule.getInternalChunk() |
IChunk |
IAuralModule.getLowestChunk() |
IChunk |
AbstractAuralModule.getLowestChunk() |
Modifier and Type | Method and Description |
---|---|
double |
IAuralEncodingTimeEquation.computeEncodingTime(IChunk soundChunk,
IAuralModule auralModule) |
double |
DefaultAuralEncodingTimeEquation.computeEncodingTime(IChunk soundChunk,
IAuralModule auralModule) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AttendToRequestDelegate.getAuralEvent(IRequest request)
returns a visual-location contained in the slot with the name matching the
constructor supplied name
|
Modifier and Type | Method and Description |
---|---|
protected PerceptualSearchResult |
AttendToRequestDelegate.getMatchingResult(IChunk auralLocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultAuralLocationBuffer.setSourceChunkInternal(IChunk chunk) |
protected void |
DefaultAuralActivationBuffer.setSourceChunkInternal(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AuralAttendingDelegate.getSearchResult(PerceptualSearchResult searchResult,
IAuralModule auralModule,
java.lang.String streamName)
returns the contents of the perceptual search
|
protected IChunk |
AuralAttendingDelegate.processInternal(IRequest request,
double requestTime,
java.lang.Object... parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
AuralAttendingDelegate.processInternalCompleted(IRequest request,
IChunk visualChunk,
java.lang.Object... parameters) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AuralModuleEvent.getChunk() |
Constructor and Description |
---|
AuralModuleEvent(IAuralModule source,
AuralModuleEvent.Type type,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
static IChunk |
AuralUtilities.getAuralEvent(PerceptualSearchResult searchResult,
IAuralMemory auralMemory) |
Modifier and Type | Method and Description |
---|---|
static PerceptualSearchResult |
AuralUtilities.getSearchResult(IChunk locationChunk,
IAuralMemory auralMemory) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AuralEventIndexManager.addIndex(IAfferentObject object) |
IChunk |
AuralEventIndexManager.getAuralEvent(IAfferentObject auralEvent) |
IChunk |
AuralEventIndexManager.getIndexChunk(IChunk encodedChunk) |
protected IChunk |
DefaultPerceptListener.getNamedChunk(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultAuralMemory.fillIndexChunk(IChunk indexChunk,
IChunk encodedChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest expandedRequest) |
IChunk |
AuralEventIndexManager.getIndexChunk(IChunk encodedChunk) |
protected boolean |
DefaultAuralMemory.isAcceptable(IChunk encodedChunk,
ChunkTypeRequest originalRequest) |
void |
DefaultPerceptListener.newPercept(IIdentifier identifier,
IChunk chunk) |
void |
DefaultPerceptListener.reencoded(IIdentifier identifier,
IChunk oldChunk,
IChunk newChunk) |
void |
DefaultPerceptListener.removed(IIdentifier identifier,
IChunk chunk) |
void |
DefaultPerceptListener.updated(IIdentifier identifier,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractAuralEncoder.encode(IAfferentObject afferentObject,
IPerceptualMemory memory) |
static IChunk |
AbstractAuralEncoder.getAudioEvent(IAfferentObject afferent,
IAuralMemory memory) |
IChunk |
AbstractAuralEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractAuralEncoder.isDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory) |
IChunk |
AbstractAuralEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory) |
protected void |
AbstractAuralEncoder.updateSlots(IAfferentObject afferent,
IChunk encoding,
IAuralMemory memory) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
NearestAuralFilter.getVisualLocation(ChunkTypeRequest request) |
protected IChunk |
NearestAuralFilter.getVisualLocation(IChunk visualChunk) |
Modifier and Type | Method and Description |
---|---|
protected double[] |
NearestAuralFilter.getCoordinates(IChunk visualLocation) |
protected IChunk |
NearestAuralFilter.getVisualLocation(IChunk visualChunk) |
Modifier and Type | Method and Description |
---|---|
void |
KindFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
FINSTAuralFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<IChunk> |
DefaultAuralModule6.attendTo(PerceptualSearchResult result,
double requestTime) |
Modifier and Type | Method and Description |
---|---|
void |
IPerceptualBuffer.setExecutionChunk(IChunk chunk) |
void |
IPerceptualBuffer.setModalityChunk(IChunk chunk) |
void |
IPerceptualBuffer.setPreparationChunk(IChunk chunk) |
void |
IPerceptualBuffer.setProcessorChunk(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AbstractPMActivationBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
AbstractPMActivationBuffer6.clearInternal()
clear the buffer and abort any timed events that are pending
|
protected java.util.Collection<IChunk> |
AbstractCapacityPMActivationBuffer6.clearInternal()
clear the buffer and abort any timed events that are pending
|
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AbstractPMActivationBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
protected boolean |
AbstractPMActivationBuffer6.removeSourceChunkInternal(IChunk chunkToRemove) |
void |
AbstractPMActivationBuffer6.setExecutionChunk(IChunk chunk) |
void |
AbstractCapacityPMActivationBuffer6.setExecutionChunk(IChunk chunk) |
void |
AbstractPMActivationBuffer6.setModalityChunk(IChunk chunk) |
void |
AbstractCapacityPMActivationBuffer6.setModalityChunk(IChunk chunk) |
void |
AbstractPMActivationBuffer6.setPreparationChunk(IChunk chunk) |
void |
AbstractCapacityPMActivationBuffer6.setPreparationChunk(IChunk chunk) |
void |
AbstractPMActivationBuffer6.setProcessorChunk(IChunk chunk) |
void |
AbstractCapacityPMActivationBuffer6.setProcessorChunk(IChunk chunk) |
protected boolean |
AbstractPMActivationBuffer6.shouldCopyOnInsertion(IChunk chunk)
the super type uses a more specific test, but since we know perceptual
buffers are only going to be continaing the sanctioned perceptual chunks,
we don't need to do all the buffer containment tests and just the encoding
test should suffice.
|
protected boolean |
AbstractCapacityPMActivationBuffer6.shouldCopyOnInsertion(IChunk chunk)
the super type uses a more specific test, but since we know perceptual
buffers are only going to be continaing the sanctioned perceptual chunks,
we don't need to do all the buffer containment tests and just the encoding
test should suffice.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractEfferentTimedEvent.getBoundChunk() |
Modifier and Type | Method and Description |
---|---|
IChunk |
IPerceptualMemoryModuleEvent.getChunk()
returns the attended perceptual chunk or found perceptual index chunk
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IPerceptualEncoder.encode(IAfferentObject afferentObject,
IPerceptualMemory memory) |
IChunk |
PerceptualSearchResult.getErrorCode() |
IChunk |
PerceptualSearchResult.getLocation() |
IChunk |
PerceptualSearchResult.getPercept() |
IChunk |
IPerceptualEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
update the contents of the encoded chunk.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
IPerceptualMemory.getEncodings(IIdentifier identifier,
java.util.Collection<IChunk> container)
returns all the known encodings of identifier
|
Modifier and Type | Method and Description |
---|---|
boolean |
IPerceptualEncoder.isDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
return true if the prior encoding of the percept needs to be amended
|
void |
IActivePerceptListener.newPercept(IIdentifier identifier,
IChunk chunk) |
void |
IActivePerceptListener.reencoded(IIdentifier identifier,
IChunk oldChunk,
IChunk newChunk)
when an attended chunk (oldChunk) has changed so much that a new
chunk has to be encoded (newChunk)
|
void |
IActivePerceptListener.removed(IIdentifier identifier,
IChunk chunk)
when chunk's percept is no longer available.
|
void |
PerceptualSearchResult.setErrorCode(IChunk error) |
IChunk |
IPerceptualEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
update the contents of the encoded chunk.
|
void |
IActivePerceptListener.updated(IIdentifier identifier,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IChunk> |
IPerceptualMemory.getEncodings(IIdentifier identifier,
java.util.Collection<IChunk> container)
returns all the known encodings of identifier
|
Constructor and Description |
---|
PerceptualSearchResult(IChunk perceptualChunk,
IChunk indexChunk,
IIdentifier identifier,
ChunkTypeRequest originalRequest,
ChunkTypeRequest expanded) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ActivePerceptEvent.getCurrentEncoding() |
IChunk |
ActivePerceptEvent.getOldEncoding() |
Constructor and Description |
---|
ActivePerceptEvent(IPerceptualMemory source,
ActivePerceptEvent.Type type,
IIdentifier perceptIdentifier,
IChunk currentEncoding) |
ActivePerceptEvent(IPerceptualMemory source,
IIdentifier perceptIdentifier,
IChunk currentEncoding,
IChunk oldEncoding)
for reencode
|
Modifier and Type | Method and Description |
---|---|
IChunk |
PerceptualEncoderBridge.get(IIdentifier identifier,
boolean createIfAbsent)
fetch cached encoding
|
IChunk |
IIndexManager.getIndexChunk(IChunk encodedChunk) |
protected IChunk |
AbstractPerceptualMemory.getNamedChunk(java.lang.String name) |
protected IChunk |
PerceptualEncoderBridge.remove(IIdentifier identifier,
boolean clearAndDetach)
if clearAndDetach is true, the identifier meta tag and listener are also
removed
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<IChunk> |
PerceptualEncoderBridge.getCacheContents(java.util.Set<IChunk> container) |
java.util.Collection<IChunk> |
AbstractPerceptualMemory.getEncodings(IIdentifier identifier,
java.util.Collection<IChunk> container) |
Modifier and Type | Method and Description |
---|---|
protected void |
PerceptualEncoderBridge.add(IIdentifier identifier,
IChunk chunk) |
protected void |
AbstractPerceptualMemory.fillIndexChunk(IChunk indexChunk,
IChunk encodedChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest expandedRequest)
provides a hook to set the slot values of the returned index chunk in case
they are recycled..
|
protected IIdentifier |
PerceptualEncoderBridge.getIdentifier(IChunk chunk) |
IChunk |
IIndexManager.getIndexChunk(IChunk encodedChunk) |
protected boolean |
AbstractPerceptualMemory.isAcceptable(IChunk encodedChunk,
ChunkTypeRequest originalRequest)
hook to verify that an encoded chunk should be returned.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<IChunk> |
PerceptualEncoderBridge.getCacheContents(java.util.Set<IChunk> container) |
java.util.Collection<IChunk> |
AbstractPerceptualMemory.getEncodings(IIdentifier identifier,
java.util.Collection<IChunk> container) |
Modifier and Type | Field and Description |
---|---|
protected IChunk |
DefaultFINSTFeatureMap.FINST._afferentChunk |
Modifier and Type | Method and Description |
---|---|
IChunk |
DefaultFINSTFeatureMap.FINST.getAfferentChunk() |
Modifier and Type | Method and Description |
---|---|
void |
IFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest)
fill the slot values accordingly for this identifier at the mutablePattern
location this is then used to further specify the actual location
chunk that will be returned
|
void |
DefaultFINSTFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
AbstractFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
IFINSTFeatureMap.flagAsAttended(IIdentifier identifier,
IChunk chunk,
double duration) |
void |
DefaultFINSTFeatureMap.flagAsAttended(IIdentifier identifier,
IChunk chunk,
double duration) |
void |
IFINSTFeatureMap.flagAsNew(IIdentifier identifier,
IChunk chunk,
double duration) |
void |
DefaultFINSTFeatureMap.flagAsNew(IIdentifier identifier,
IChunk chunk,
double duration) |
void |
IFINSTFeatureMap.flagAsOld(IIdentifier identifier,
IChunk chunk) |
void |
DefaultFINSTFeatureMap.flagAsOld(IIdentifier identifier,
IChunk chunk) |
void |
DefaultFINSTFeatureMap.FINST.setAfferentChunk(IChunk afferentChunk) |
Constructor and Description |
---|
FINST(IIdentifier identifier,
IChunk afferentChunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractMotorModule.getAbortingChunk() |
Modifier and Type | Method and Description |
---|---|
void |
MuscleState.set(IChunk chunk,
java.lang.String... slotNames) |
Constructor and Description |
---|
MuscleState(IIdentifier identifier,
java.lang.String name,
IChunk freeChunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractVisualModule.getCurrentChunk() |
IChunk |
AbstractVisualModule.getGreaterThanCurrentChunk() |
IChunk |
AbstractVisualModule.getHighestChunk() |
IChunk |
AbstractVisualModule.getLessThanCurrentChunk() |
IChunk |
AbstractVisualModule.getLowestChunk() |
Modifier and Type | Method and Description |
---|---|
void |
IVisualModule.assignFINST(IChunk visualChunk) |
void |
AbstractVisualModule.assignFINST(IChunk visualChunk) |
double |
IVisualEncodingTimeEquation.computeEncodingTime(IChunk visualChunk,
IVisualModule module) |
double |
IVisualSearchTimeEquation.computeSearchTime(IChunk visualLocation,
ChunkPattern chunkPattern,
IVisualModule visualModule) |
void |
IVisualModule.setTrackedVisualChunk(IChunk visualChunk)
engage the visual tracking mechanism..
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IVisualLocationBuffer.getCurrentVisualLocation() |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AttendToRequestDelegate.getVisualLocation(IRequest request)
returns a visual-location contained in the slot with the name matching the
constructor supplied name
|
Modifier and Type | Method and Description |
---|---|
protected PerceptualSearchResult |
AttendToRequestDelegate.getMatchingResult(IChunk visualLocation) |
Modifier and Type | Field and Description |
---|---|
protected IChunk |
DefaultVisualLocationBuffer6._currentVisualLocation |
protected IChunk |
DefaultVisualLocationBuffer6._lastVisualLocation |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultVisualActivationBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
IChunk |
DefaultVisualLocationBuffer6.getCurrentVisualLocation()
returns the current visual location in the buffer or the last attended
location
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
DefaultVisualLocationBuffer6.clearInternal() |
protected java.util.Collection<IChunk> |
DefaultVisualActivationBuffer6.clearInternal() |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultVisualActivationBuffer6.addSourceChunkInternal(IChunk chunkToInsert) |
protected boolean |
DefaultVisualLocationBuffer6.removeSourceChunkInternal(IChunk chunkToRemove) |
protected void |
DefaultVisualLocationBuffer6.setSourceChunkInternal(IChunk chunk) |
protected void |
DefaultVisualActivationBuffer6.setSourceChunkInternal(IChunk chunk)
set the source chunk and flag the FINST for the visual object as attended
|
protected boolean |
DefaultVisualLocationBuffer6.shouldCopyOnInsertion(IChunk sourceChunk)
since the visual location chunks are reused, we want to turn off the copy
mechanism
|
Modifier and Type | Method and Description |
---|---|
IChunk |
VisualEncodingDelegate.getSearchResult(PerceptualSearchResult searchResult,
IVisualModule visualModule,
java.lang.String streamName)
returns the contents of the perceptual search
|
protected IChunk |
VisualEncodingDelegate.processInternal(IRequest request,
double requestTime,
java.lang.Object... parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
VisualEncodingDelegate.processInternalCompleted(IRequest request,
IChunk visualChunk,
java.lang.Object... parameters) |
Modifier and Type | Method and Description |
---|---|
IChunk |
VisualModuleEvent.getChunk() |
Constructor and Description |
---|
VisualModuleEvent(IVisualModule source,
IChunk chunk,
boolean wasStuff)
constructor for visual search
|
VisualModuleEvent(IVisualModule source,
VisualModuleEvent.Type type,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
static IChunk |
VisualUtilities.getVisualLocation(PerceptualSearchResult searchResult,
IVisualMemory visualMemory)
returns
PerceptualSearchResult.getLocation() if
IVisualMemory.isStickyAttentionEnabled() is false. |
IChunk |
IVisualMemory.getVisualLocationChunkAt(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
static PerceptualSearchResult |
VisualUtilities.getSearchResult(IChunk locationChunk,
IVisualMemory visualMemory) |
static boolean |
VisualUtilities.isCurrentlySticky(IChunk perceptualEncoding,
IVisualMemory visualMemory,
IActivationBuffer buffer)
returns false if !
IVisualMemory.isStickyAttentionEnabled() . |
Modifier and Type | Method and Description |
---|---|
IChunk |
VisualLocationManager.getIndexChunk(IChunk encodedChunk) |
protected IChunk |
DefaultPerceptListener.getNamedChunk(java.lang.String name) |
protected IChunk |
VisualLocationManager.getVisualLocationChunk(int index,
double x,
double y) |
IChunk |
VisualLocationManager.getVisualLocationChunkAt(double x,
double y) |
IChunk |
DefaultVisualMemory.getVisualLocationChunkAt(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultVisualMemory.fillIndexChunk(IChunk indexChunk,
IChunk encodedChunk,
ChunkTypeRequest originalRequest,
ChunkTypeRequest expandedRequest) |
IChunk |
VisualLocationManager.getIndexChunk(IChunk encodedChunk) |
protected boolean |
DefaultVisualMemory.isAcceptable(IChunk encodedChunk,
ChunkTypeRequest originalRequest)
return true if the chunk is a visual-object of some sort
|
void |
DefaultPerceptListener.newPercept(IIdentifier identifier,
IChunk chunk) |
void |
DefaultPerceptListener.reencoded(IIdentifier identifier,
IChunk oldChunk,
IChunk newChunk) |
void |
DefaultPerceptListener.removed(IIdentifier identifier,
IChunk chunk) |
void |
DefaultPerceptListener.updated(IIdentifier identifier,
IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
AbstractVisualEncoder.encode(IAfferentObject afferentObject,
IPerceptualMemory memory) |
static IChunk |
AbstractVisualEncoder.getVisualLocation(IAfferentObject afferentObject,
IVisualMemory visualMemory)
return the visual location (defined by
IVisualPropertyHandler.RETINAL_LOCATION ) of the object. |
static IChunk |
AbstractVisualEncoder.getVisualLocation(IChunk visualChunk,
IVisualMemory visualMemory)
return the contents of screen-pos, but only if it is a visual-location
chunk
|
IChunk |
AbstractVisualEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
called to update the encoding of a chunk.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AbstractVisualEncoder.exceedsMovementTolerance(IChunk oldVisualLocation,
IChunk newVisualLocation,
IVisualMemory visualMemory)
returns true if the visual locations are separated by more than
IVisualMemory.getMovementTolerance() , |
static double[] |
AbstractVisualEncoder.getLocation(IChunk visualLocation) |
static IChunk |
AbstractVisualEncoder.getVisualLocation(IChunk visualChunk,
IVisualMemory visualMemory)
return the contents of screen-pos, but only if it is a visual-location
chunk
|
protected boolean |
AbstractVisualEncoder.isAttendedSticky(IIdentifier perceptId,
IChunk encoding,
IVisualMemory visualMemory)
if
IVisualMemory.isStickyAttentionEnabled() and the chunk is in the
visual buffer. |
boolean |
LineEncoder.isDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory) |
boolean |
BasicTextEncoder.isDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory) |
boolean |
AbstractVisualEncoder.isDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
checks the expected visual location against the previously encoded visual
location.
|
protected boolean |
LineEncoder.isTooDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IVisualMemory visualMemory) |
protected boolean |
BasicTextEncoder.isTooDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IVisualMemory visualMemory) |
protected boolean |
AbstractVisualEncoder.isTooDirty(IAfferentObject afferentObject,
IChunk oldChunk,
IVisualMemory visualMemory)
used to trigger a reencoding if the old chunk is too dirty.
|
protected boolean |
LineEncoder.lineHasChanged(IAfferentObject afferentObject,
IChunk encoding) |
protected boolean |
BasicTextEncoder.textHasChanged(IAfferentObject afferentObject,
IChunk encoding) |
IChunk |
AbstractVisualEncoder.update(IAfferentObject afferentObject,
IChunk oldChunk,
IPerceptualMemory memory)
called to update the encoding of a chunk.
|
protected void |
LineEncoder.updateSlots(IAfferentObject afferentObject,
IChunk encoding,
IVisualMemory memory) |
protected void |
BasicTextEncoder.updateSlots(IAfferentObject afferentObject,
IChunk encoding,
IVisualMemory memory) |
protected void |
AbstractVisualEncoder.updateSlots(IAfferentObject afferentObject,
IChunk encoding,
IVisualMemory memory)
fill the slot values of the encoded chunk.
|
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AbstractVisualLocationIndexFilter.getVisualLocation(ChunkTypeRequest request) |
protected IChunk |
AbstractVisualLocationIndexFilter.getVisualLocation(IChunk visualChunk) |
Modifier and Type | Method and Description |
---|---|
protected double[] |
AbstractVisualLocationIndexFilter.getCoordinates(IChunk visualLocation) |
protected IChunk |
AbstractVisualLocationIndexFilter.getVisualLocation(IChunk visualChunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ColorChunkCache.getColorChunk(Color awtColor) |
Modifier and Type | Method and Description |
---|---|
void |
ColorChunkCache.chunkAdded(IChunk chunk) |
void |
SizeFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
KindFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
FINSTVisualFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
void |
ColorFeatureMap.fillSlotValues(ChunkTypeRequest mutableRequest,
IIdentifier identifier,
IChunk encodedChunk,
ChunkTypeRequest originalSearchRequest) |
Color |
ColorChunkCache.getColor(IChunk chunk) |
protected void |
ColorChunkCache.update(IChunk colorChunk) |
Modifier and Type | Field and Description |
---|---|
protected IChunk |
DefaultVisualModule6._trackedVisualChunk |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<IChunk> |
DefaultVisualModule6.attendTo(PerceptualSearchResult result,
double requestTime)
snag the create the visual chunk at the visual location - actual encoding
is taken care of when the chunk is removed from the visual buffer
|
Modifier and Type | Method and Description |
---|---|
double |
DefaultEncodingTimeEquation.computeEncodingTime(IChunk visualChunk,
IVisualModule module) |
double |
DefaultSearchTimeEquation.computeSearchTime(IChunk visualLocation,
ChunkPattern chunkPattern,
IVisualModule visualModule)
instantanious search
|
void |
DefaultVisualModule6.setTrackedVisualChunk(IChunk visualChunk)
enable the tracking of this chunk.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
ReencodingTimedEvent.getBoundChunk() |
Constructor and Description |
---|
ReencodingTimedEvent(IVisualActivationBuffer buffer,
IChunk visualChunk,
double reencodingTime) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
ProcessVocalizationDelegate.processInternal(IRequest request,
java.lang.Object... parameters)
Deprecated.
|
protected IChunk |
PrepareVocalizationDelegate.processInternal(IRequest request,
java.lang.Object... parameters)
Deprecated.
|
protected IChunk |
ExecuteVocalizationDelegate.processInternal(IRequest request,
java.lang.Object... parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected double |
ProcessVocalizationDelegate.computeHarvestTime(IRequest request,
IChunk result,
double startTime,
java.lang.Object... parameters)
Deprecated.
|
protected double |
PrepareVocalizationDelegate.computeHarvestTime(IRequest request,
IChunk result,
double startTime,
java.lang.Object... parameters)
Deprecated.
|
protected double |
ExecuteVocalizationDelegate.computeHarvestTime(IRequest request,
IChunk result,
double startTime,
java.lang.Object... parameters)
Deprecated.
|
protected ITimedEvent |
AbstractVocalDelegate.createHarvestTimedEvent(double start,
double end,
IRequest request,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
protected void |
AbstractVocalDelegate.finalizeProcessing(IRequest request,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
protected void |
ProcessVocalizationDelegate.finalizeProcessingInternal(ChunkTypeRequest pattern,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
protected void |
PrepareVocalizationDelegate.finalizeProcessingInternal(ChunkTypeRequest pattern,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
protected void |
ExecuteVocalizationDelegate.finalizeProcessingInternal(ChunkTypeRequest pattern,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
protected abstract void |
AbstractVocalDelegate.finalizeProcessingInternal(ChunkTypeRequest pattern,
IChunk result,
java.lang.Object... parameters)
Deprecated.
|
Constructor and Description |
---|
AbstractVocalDelegate(AbstractVocalModule module,
double minimumProcessingTime,
IChunk cantProcessResult)
Deprecated.
|
ExecuteVocalizationDelegate(AbstractVocalModule module,
double minimumProcessingTime,
IChunk cantProcessResult)
Deprecated.
|
PrepareVocalizationDelegate(AbstractVocalModule module,
double minimumProcessingTime,
IChunk cantProcessResult)
Deprecated.
|
ProcessVocalizationDelegate(AbstractVocalModule module,
double minimumProcessingTime,
IChunk cantProcessResult)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCapacityGoalBuffer6.chunkInserted(IChunk insertedChunk) |
protected void |
DefaultCapacityGoalBuffer6.chunkRemoved(IChunk removedChunk) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
AlternatingProductionSelector.getGoal(IInstantiation instantiation) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
DefaultVersionedDeclarativeModule.getChunkInternal(java.lang.String name,
double version) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<IChunk> |
IVersionedDeclarativeModule.getChunk(java.lang.String name,
double version) |
java.util.concurrent.Future<IChunk> |
DefaultVersionedDeclarativeModule.getChunk(java.lang.String name,
double version) |
Modifier and Type | Method and Description |
---|---|
void |
ProductionRewriter.refineChunk(IChunk oldChunk,
IChunk newChunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ScriptSupport.copy(IChunk chunk) |
IChunk |
ScriptSupport.copy(IChunk chunk,
java.lang.String newName) |
IChunk |
ScriptSupport.encode(IChunk chunk) |
Modifier and Type | Method and Description |
---|---|
IChunk |
ScriptSupport.copy(IChunk chunk) |
IChunk |
ScriptSupport.copy(IChunk chunk,
java.lang.String newName) |
IChunk |
ScriptSupport.encode(IChunk chunk) |
java.lang.Object |
ScriptSupport.get(IChunk chunk,
java.lang.String slotName) |
void |
ScriptSupport.set(IChunk chunk,
java.lang.String slotName,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
abstract IChunk |
GoalFeeder.createNextGoal(IModel model,
VariableBindings variableBindings)
Deprecated.
This is called by the NextGoalAction.
|
IChunk |
GoalFeeder.getNextGoal(IModel model,
VariableBindings variableBindings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
GoalFeeder.getGoalDelay(IChunk chunk)
Deprecated.
return how long it will take before the chunk returned by getNextGoal() is
inserted into the goal buffer.
|
Modifier and Type | Method and Description |
---|---|
IChunk |
GoalFeeder.nextGoal(T experimentTask)
Bug: currently will always return null until some more
refactoring is done
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IGoalConstructor.construct(T experimentTask,
IModel model,
GoalFeeder<T> feeder)
Deprecated.
construct a goal chunk based on the experimentTask
|
Modifier and Type | Method and Description |
---|---|
IChunk |
IGoalInjector.injectGoal(T experimentTask,
IModel model,
GoalFeeder<T> feeder)
if
IGoalInjector.handles(Object) returns true, this will be called. |
Modifier and Type | Method and Description |
---|---|
protected AbstractParameterizedProbe<IChunk> |
ChunkProbe.newInstance(IChunk parameterized) |
Modifier and Type | Method and Description |
---|---|
protected IParameterized |
ChunkProbe.asParameterized(IChunk parameterizedObject) |
void |
ChunkProbe.install(IChunk parameterized,
java.util.concurrent.Executor executor) |
protected AbstractParameterizedProbe<IChunk> |
ChunkProbe.newInstance(IChunk parameterized) |
Constructor and Description |
---|
ChunkProbe(java.lang.String name,
IChunk parameterized) |
Modifier and Type | Method and Description |
---|---|
protected void |
ModelSelector.checkChunk(IChunk chunk,
IProbeContainer container) |
protected void |
ChunkTypeSelector.checkChunk(IChunk chunk,
IProbeContainer container) |
protected java.lang.String |
ChunkSelector.getName(IChunk element) |
IProbeContainer |
ChunkSelector.install(IChunk element,
IProbeContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
MarkerOfChunks.install(IChunk element) |
Modifier and Type | Method and Description |
---|---|
void |
MasterExtension.copyInto(IChunk chunk,
IModel destination) |
protected void |
MasterExtension.createChunk(IChunk source,
IModel destination,
java.util.Map sourceToCopy) |
Modifier and Type | Method and Description |
---|---|
void |
ChunkUtilities.IChunkModifier.modify(IChunk chunk,
IActivationBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected IIdentifier |
VisualEventTransformer.getIdentifier(IChunk chunk) |