Example #1
0
 public CYKNode(CNFProduction Production, CYKNode HeadNode, CYKNode TailNode, long Offset = 0L)
 {
     this.Production = Production ?? throw new ArgumentNullException(nameof(Production));
     this.HeadNode   = HeadNode ?? throw new ArgumentNullException(nameof(HeadNode));
     this.TailNode   = TailNode ?? throw new ArgumentNullException(nameof(TailNode));
     this.Offset     = Offset;
 }
Example #2
0
 public CYKNode(CNFProduction Production, CYKNode SingleNode, long Offset = 0L)
 {
     this.Production = Production ?? throw new ArgumentNullException(nameof(Production));
     this.SingleNode = SingleNode ?? throw new ArgumentNullException(nameof(SingleNode));
     this.Offset     = Offset;
 }