org.zilonis.network.beta
Class IndexedJoinNode

java.lang.Object
  extended by org.zilonis.network.beta.BaseNode
      extended by org.zilonis.network.beta.BaseNodeWithTests
          extended by org.zilonis.network.beta.IndexedJoinNode
All Implemented Interfaces:
LeftActivatable, RightActivatable

public class IndexedJoinNode
extends BaseNodeWithTests
implements LeftActivatable, RightActivatable


Field Summary
protected  AlphaMemory alphaMemory
           
 
Fields inherited from class org.zilonis.network.beta.BaseNodeWithTests
tests
 
Constructor Summary
IndexedJoinNode(Scope scope, AlphaMemory alphaMemory, IndexedBetaMemory parent, Test[] tests)
           
 
Method Summary
 AlphaMemory getAlphaMemory()
           
 void leftActivate(Scope scope, Token token)
           
 void rightActivate(Scope scope, WME wme)
           
 java.lang.String toString(Scope scope)
           
 void update(Scope scope, LeftActivatable production)
           
 
Methods inherited from class org.zilonis.network.beta.BaseNodeWithTests
isIn, testsMatch
 
Methods inherited from class org.zilonis.network.beta.BaseNode
activateChildren, addAsSecondChild, addChild, buildNodeForPositiveCondition, buildOrShareBetaMemory, buildOrShareExpressionNode, buildOrShareIndexedBetaMemory, buildOrShareNCCNode, buildOrShareNegativeNode, buildOrShareNode, getChildren, getLeftActivatableIterable, notIndexedPositiveNode, printPrev, setChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alphaMemory

protected AlphaMemory alphaMemory
Constructor Detail

IndexedJoinNode

public IndexedJoinNode(Scope scope,
                       AlphaMemory alphaMemory,
                       IndexedBetaMemory parent,
                       Test[] tests)
Method Detail

toString

public java.lang.String toString(Scope scope)
Specified by:
toString in interface LeftActivatable
Overrides:
toString in class BaseNode

getAlphaMemory

public AlphaMemory getAlphaMemory()

rightActivate

public void rightActivate(Scope scope,
                          WME wme)
Specified by:
rightActivate in interface RightActivatable

leftActivate

public void leftActivate(Scope scope,
                         Token token)
Specified by:
leftActivate in interface LeftActivatable

update

public void update(Scope scope,
                   LeftActivatable production)
Specified by:
update in class BaseNode