Example #1
0
 public override void calculate()
 {
     Node tempOut = new Node();
        OR or = new OR(InputNodesList[0], InputNodesList[1], tempOut);
        or.validate();
        NOT not = new NOT(tempOut, Output);
        not.validate();
 }
 public override void calculate()
 {
     Node tempOut = new Node();
      AND and = new AND(InputNodesList[0], InputNodesList[1], tempOut);
      and.validate();
      NOT not = new NOT(tempOut, Output);
      not.validate();
 }
Example #3
0
        public override void calculate()
        {
            Node tempOut = new Node();
            OR   or      = new OR(InputNodesList[0], InputNodesList[1], tempOut);

            or.validate();
            NOT not = new NOT(tempOut, Output);

            not.validate();
        }
Example #4
0
        public override void calculate()
        {
            Node tempOut = new Node();
            AND  and     = new AND(InputNodesList[0], InputNodesList[1], tempOut);

            and.validate();
            NOT not = new NOT(tempOut, Output);

            not.validate();
        }