示例#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 NorNode(string nodeId)
     : base(nodeId)
 {
     this.notNode = new NotNode(nodeId + "-Not");
     this.orNode  = new OrNode(nodeId + "-Or");
 }