Exemplo n.º 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();
 }
Exemplo n.º 2
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();
 }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }