public DirectedAcyclicGraph(DirectedGraph template, bool throw_exception_on_flaws = false)
     : this(template, new List <Edge>(), throw_exception_on_flaws)
 {
 }
Beispiel #2
0
 public KeyValuePair <string, string[]>[] DisassemblesToLoops(DirectedGraph graph)
 {
     this.DisassemblesToDirectedAcyclicGraph(graph);
     return(graph.ToArray());
 }
 public DirectedAcyclicGraph_ConstructionException(string message, DirectedGraph cycles, List <Edge> disconnected_edges)
     : base(message)
 {
     this.Cycles            = cycles;
     this.DisconnectedEdges = disconnected_edges;
 }