changed weight factor to double
This commit is contained in:
parent
7c61d9565b
commit
2b3a1bb5bc
@ -3,8 +3,8 @@
|
||||
public struct Edge
|
||||
{
|
||||
public Node neighbor { get; }
|
||||
public ushort weight { get; }
|
||||
public Edge(Node neighbor, ushort weight)
|
||||
public double weight { get; }
|
||||
public Edge(Node neighbor, double weight)
|
||||
{
|
||||
this.neighbor = neighbor;
|
||||
this.weight = weight;
|
||||
|
Loading…
Reference in New Issue
Block a user