Exemplo n.º 1
0
 /// <inheritdoc />
 public XorNode(string nodeId)
     : base(nodeId)
 {
     this.andNode  = new AndNode(nodeId + "-And");
     this.nandNode = new NandNode(nodeId + "-Nand");
     this.orNode   = new OrNode(nodeId + "-Or");
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public NorNode(string nodeId)
     : base(nodeId)
 {
     this.notNode = new NotNode(nodeId + "-Not");
     this.orNode  = new OrNode(nodeId + "-Or");
 }