mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-07 08:16:18 +00:00
Merge branch 'master' of https://github.com/UnickSoft/graphonline
This commit is contained in:
@@ -103,7 +103,7 @@ FloidAlgorithm.prototype.resultMatrix = function()
|
||||
for (var j = 0; j < this.graph.vertices.length; j ++)
|
||||
{
|
||||
var v2 = this.graph.vertices[j];
|
||||
var edge = this.graph.FindEdge(v1.id, v2.id);
|
||||
var edge = this.graph.FindEdgeMin(v1.id, v2.id);
|
||||
if (edge != null)
|
||||
{
|
||||
this.matrix[i][j] = edge.GetWeight();
|
||||
|
||||
Reference in New Issue
Block a user