示例#1
0
 public SpanningTree GetMinimumSpanningTree()
 {
     if (this.minimumSpanningTree == null)
     {
         this.minimumSpanningTree = SpanningTree.Create(this.points, new List <DelaunayEdge>(GetDelaunayEdges()));
     }
     return(this.minimumSpanningTree);
 }
示例#2
0
 public SpanningTree GetMinimumSpanningTree()
 {
     if (this.minimumSpanningTree == null)
     {
         this.minimumSpanningTree = SpanningTree.Create(this.Vertices, this.Edges);
     }
     return(this.minimumSpanningTree);
 }