private Graph(Machine machine) { Machine = machine; Start = end = machine.Nodes.CreateEnd(); }
/// <summary> /// Creates graph from provided start and end nodes /// </summary> /// <param name="machine">Nfa nodes and accepting states</param> /// <param name="start">Starting node</param> /// <param name="end">Ending node</param> private Graph(Machine machine, int start, int end) { Machine = machine; Start = start; this.end = end; }