org.zilonis.network.beta
Class IndexedBetaMemory
java.lang.Object
org.zilonis.network.beta.IndexedBetaMemory
- All Implemented Interfaces:
- TokensHolder, LeftActivatable
public class IndexedBetaMemory
- extends java.lang.Object
- implements LeftActivatable, TokensHolder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listTotal
public static long listTotal
IndexedBetaMemory
public IndexedBetaMemory(int hashField,
int hashLevelsUp)
getId
public long getId()
getHashLevelsUp
public int getHashLevelsUp()
getHashField
public int getHashField()
getIndex
public BetaMemoryTokensIndex getIndex()
addToken
public void addToken(Scope scope,
Token token)
toString
public java.lang.String toString(Scope scope)
- Specified by:
toString in interface LeftActivatable
leftActivate
public void leftActivate(Scope scope,
Token token)
- Specified by:
leftActivate in interface LeftActivatable
activateChildren
public void activateChildren(Scope scope,
Token token)
getTokensInIndexFor
public Token getTokensInIndexFor(Scope scope,
java.lang.String identifier)
getChildrenIterable
public java.lang.Iterable<LeftActivatable> getChildrenIterable(Scope scope,
AlphaMemory alphaMemory)
addChild
public void addChild(Scope scope,
AlphaMemory alphaMemory,
LeftActivatable child)
getIndexedJoinNode
public IndexedJoinNode getIndexedJoinNode(Scope scope,
AlphaMemory alphaMemory,
Test[] tests)
getTokensIterable
public java.lang.Iterable<Token> getTokensIterable(Scope scope)
- Specified by:
getTokensIterable in interface TokensHolder