Uses of Class
org.zilonis.network.Condition

Packages that use Condition
org.zilonis.network   
org.zilonis.network.adapter   
org.zilonis.network.beta   
org.zilonis.network.production   
org.zilonis.parser   
org.zilonis.shell   
 

Uses of Condition in org.zilonis.network
 

Methods in org.zilonis.network that return Condition
 Condition Condition.getBottom()
           
 Condition Condition.getNext()
           
 Condition Condition.getPrev()
           
 Condition Condition.getTop()
           
 

Methods in org.zilonis.network with parameters of type Condition
 void Rete.addProduction(Scope scope, Condition condition, LeftActivatable production)
           
 void Condition.setBottom(Condition bottom)
           
 void Condition.setNext(Condition next)
           
 void Condition.setPrev(Condition prev)
           
 void Condition.setTop(Condition top)
           
 

Constructors in org.zilonis.network with parameters of type Condition
Condition(int type, Condition top)
           
Condition(int type, Condition top, Condition bottom)
           
 

Uses of Condition in org.zilonis.network.adapter
 

Methods in org.zilonis.network.adapter with parameters of type Condition
static BinaryBinding[] BinaryBinding.getBindingsFor(SchemeEvaluator evaluator, Condition earlierConditions)
           
 void ZilonisEvaluator.setEarlierConditions(Condition earlierConditions)
           
 void SISCEvaluator.setEarlierConditions(Condition earlierConditions)
           
 void SchemeEvaluator.setEarlierConditions(Condition earlierConditions)
           
 

Constructors in org.zilonis.network.adapter with parameters of type Condition
BinaryBinding(java.lang.String variable, Condition earlierConditions)
           
 

Uses of Condition in org.zilonis.network.beta
 

Methods in org.zilonis.network.beta with parameters of type Condition
static BaseNode BaseNode.buildNodeForPositiveCondition(Scope scope, AlphaNetwork alphaNetwork, BaseNode baseNode, Condition condition)
           
 ExpressionNode BaseNode.buildOrShareExpressionNode(Scope scope, Condition condition)
           
 BaseNode BaseNode.buildOrShareNCCNode(Scope scope, AlphaNetwork alphaNetwork, Condition condition)
           
 NegativeNode BaseNode.buildOrShareNegativeNode(Scope scope, AlphaMemory alphaMemory, Test[] tests, Condition condition)
           
static BaseNode BaseNode.buildOrShareNode(Scope scope, AlphaNetwork alphaNetwork, BaseNode baseNode, Condition condition)
           
static Test[] Test.getTests(Triplet condition, Condition earlierConditions)
           
static BaseNode BaseNode.notIndexedPositiveNode(Scope scope, AlphaNetwork alphaNetwork, BaseNode baseNode, Condition condition)
           
static void BaseNode.printPrev(Condition condition)
           
 

Constructors in org.zilonis.network.beta with parameters of type Condition
ExpressionNode(Condition condition, BaseNode parent)
           
 

Uses of Condition in org.zilonis.network.production
 

Methods in org.zilonis.network.production with parameters of type Condition
 void ExpressionAction.setEarlierConditions(Condition earlierConditions)
           
 void Action.setEarlierConditions(Condition earlierConditions)
           
 

Uses of Condition in org.zilonis.parser
 

Methods in org.zilonis.parser that return Condition
 Condition ParserEventHandler.defineRule(java.lang.String name, int salience, antlr.collections.AST conditionList, antlr.collections.AST actionList)
           
 

Uses of Condition in org.zilonis.shell
 

Methods in org.zilonis.shell that return Condition
protected  Condition GenericEventHandler.addRemainingAttributes(java.lang.String id, java.util.LinkedList<AttributeValuePair> attributesList, Condition condition)
          This method adds the new required conditions to allow the modify actions remove the correct WME
protected  Condition GenericEventHandler.conditionTemplate(java.lang.String id, java.lang.String clazz, antlr.collections.AST child)
           
protected  Condition GenericEventHandler.conditionTemplateForClass(java.lang.String id, java.lang.String clazz, antlr.collections.AST child)
           
 Condition GenericEventHandler.defineRule(java.lang.String name, int salience, antlr.collections.AST conditionList, antlr.collections.AST actionList)
           
protected  Condition GenericEventHandler.getAssignmentCondition(java.lang.String id, antlr.collections.AST condition, antlr.collections.AST action, java.util.HashMap<java.lang.String,Entity> symbolTable)
          generates the conditions for an assignment on the left hand side example: (defrule wholesalerPricing ?x <- (SKU (wholesalerOnly true) (sellPrice ?price)) => (modify ?x (sellPrice 0) (listPrice (* ?price 0.75) (discountPrice (* 0.5 ?price)))) needs to be: (defrule wholesalerPricing (?id clazz SKU) // getConditionTemplate returns from here (?id wholesalerOnly true) (?id sellPrice ?price) // to here (?id listPrice ?id_var_1) (?id discountPrice ?id_var_2) => (retract (?id listPrice ?id_var_1)) (retract (?id discountPrice ?id_var_2)) (retract (?id sellPrice ?price)) (assert (?id sellPrice 0)) (assert (?id listPrice (* ?price 0.75))) (assert (?id discountPrice (* ?price 0.5)))) for achieving that, we first iterate over the actions to select the attributes that will be modified on the selected object.
protected  Condition GenericEventHandler.getCondition(IdGenerator idGenerator, antlr.collections.AST condition, antlr.collections.AST action, java.util.HashMap<java.lang.String,Entity> symbolTable)
           
protected  Condition GenericEventHandler.getConditionList(antlr.collections.AST conditionList, antlr.collections.AST actionList, java.util.HashMap<java.lang.String,Entity> symbolTable)
           
protected  Condition GenericEventHandler.getConditionList(IdGenerator idGenerator, antlr.collections.AST conditionList, antlr.collections.AST actionList, java.util.HashMap<java.lang.String,Entity> symbolTable)
           
protected  Condition GenericEventHandler.getConditionTemplate(java.lang.String id, antlr.collections.AST conditionTemplate)
           
 Condition GenericEventHandler.getTestCondition(antlr.collections.AST condition)
           
 

Methods in org.zilonis.shell with parameters of type Condition
 void GenericEventHandler.addProduction(java.lang.String name, int salience, Condition condition, Action action)
           
protected  Condition GenericEventHandler.addRemainingAttributes(java.lang.String id, java.util.LinkedList<AttributeValuePair> attributesList, Condition condition)
          This method adds the new required conditions to allow the modify actions remove the correct WME
protected  Action GenericEventHandler.getRetractAction(Condition c)
           
protected  void GenericEventHandler.replaceAttributesThatAreInConditions(java.util.LinkedList<AttributeValuePair> attributesList, Condition condition)
          We check each condition to make sure that the conditions that were already in the rule are not define twice
protected  void GenericEventHandler.setConditionsAndSalienceTo(Action action, Condition earlierCondition, int salience)