예제 #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");
 }
예제 #2
0
 /// <inheritdoc />
 public NandNode(string nodeId)
     : base(nodeId)
 {
     this.notNode = new NotNode(nodeId + "-Not");
     this.andNode = new AndNode(nodeId + "-And");
 }