GraphArc

A weighted arc pointing to a graph node.

Summary
GraphArcA weighted arc pointing to a graph node.
Variables
nodeThe node that the arc points to.
weightThe weight (or cost) of the arc.
Functions
GraphArcCreates a new graph arc with a given weight.

Variables

node

public var node: GraphNode

The node that the arc points to.

weight

public var weight: Number

The weight (or cost) of the arc.

Functions

GraphArc

public function GraphArc(node: GraphNode,  
weight: Number = 1)

Creates a new graph arc with a given weight.

Parameters

nodeThe graph node.
weightThe node’s weight. 
public var node: GraphNode
The node that the arc points to.
public var weight: Number
The weight (or cost) of the arc.
public function GraphArc(node: GraphNode,  
weight: Number = 1)
Creates a new graph arc with a given weight.
Close