Ejemplo n.º 1
0
        public ConditionNode(Expression <Func <T, bool> > expression)
        {
            _successors = new SuccessorSet <T>();
            _expression = expression;
            _eval       = _expression.Compile();

            Body = GetExpressionBody(_expression);
        }
Ejemplo n.º 2
0
        public JoinNode(RightActivation <T> rightActivation)
        {
            _rightActivation = rightActivation;

            _successors = new SuccessorSet <T>();
        }
Ejemplo n.º 3
0
 public TypeNode()
 {
     _successors = new SuccessorSet <T>();
 }
Ejemplo n.º 4
0
 public BetaMemory(IEnumerable <Activation <T> > successors)
 {
     _successors = new SuccessorSet <T>(successors);
     _contexts   = new HashSet <RuleContext <T> >();
 }
Ejemplo n.º 5
0
 public BetaMemory(params Activation <T>[] successors)
 {
     _successors = new SuccessorSet <T>(successors);
     _contexts   = new HashSet <RuleContext <T> >();
 }
Ejemplo n.º 6
0
 public AlphaNode()
 {
     _successors = new SuccessorSet <T>();
 }