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