Exemple #1
0
 private void BuildRuleNode(ICompiledRule rule, IEnumerable<ITerminalNode> terminalNodes)
 {
     var ruleNode = new RuleNode(rule);
     foreach (var terminalNode in terminalNodes)
     {
         terminalNode.Attach(ruleNode);
     }
 }
Exemple #2
0
        private void BuildRuleNode(ICompiledRule rule, ITerminalNode terminalNode)
        {
            var ruleNode = new RuleNode(rule);

            terminalNode.Attach(ruleNode);
        }
Exemple #3
0
 internal Activation(ICompiledRule compiledRule, Tuple tuple, IndexMap factMap)
 {
     CompiledRule = compiledRule;
     Tuple        = tuple;
     FactMap      = factMap;
 }
Exemple #4
0
 public RuleNode(ICompiledRule compiledRule)
 {
     CompiledRule = compiledRule;
 }
Exemple #5
0
 internal AgendaEventArgs(ICompiledRule rule, Tuple tuple)
 {
     _rule  = rule;
     _tuple = tuple;
 }
Exemple #6
0
 public Activation(ICompiledRule rule, Tuple tuple, IndexMap tupleFactMap)
 {
     _rule         = rule;
     _tuple        = tuple;
     _tupleFactMap = tupleFactMap;
 }
Exemple #7
0
        private void BuildRuleNode(ICompiledRule compiledRule, ITerminal terminal)
        {
            var ruleNode = new RuleNode(compiledRule);

            terminal.Source.Attach(ruleNode);
        }
Exemple #8
0
 public Activation(ICompiledRule rule, Tuple tuple)
 {
     Rule  = rule;
     Tuple = tuple;
 }
Exemple #9
0
 public RuleNode(ICompiledRule rule)
 {
     Rule = rule;
 }
Exemple #10
0
 internal Activation(ICompiledRule compiledRule, Tuple tuple)
 {
     CompiledRule = compiledRule;
     Tuple        = tuple;
 }
Exemple #11
0
 internal AgendaEventArgs(ICompiledRule rule, Tuple tuple)
 {
     _rule = rule;
     _tuple = tuple;
 }