public GraphConnection ( |
||
sourceNode | ||
targetNode | ||
weight | float |
public GraphConnection(GraphNode sourceNode, GraphNode targetNode, float weight)
{
_sourceNode = sourceNode;
_targetNode = targetNode;
_weight = weight;
}