예제 #1
0
 public WeightedResult BfsMod(int m, int startVertex, int endVertex = -1)
 {
     return(ShortestPathCore.BfsMod(m, VertexesCount, v => this[v], startVertex, endVertex));
 }
예제 #2
0
 public WeightedResult BfsMod(int m, Point startVertex, Point endVertex)
 {
     return(ShortestPathCore.BfsMod(m, Height, Width, v => this[v], startVertex, endVertex));
 }