Packagecom.lookbackon.ds.graph
Classpublic class WeightedEdge
InheritanceWeightedEdge Inheritance Edge Inheritance Object

WeightedEdge.as class.



Public Properties
 PropertyDefined By
 Inheriteddst : int
Edge
 Inheritedsrc : int
Edge
  weight : int
WeightedEdge
Public Methods
 MethodDefined By
  
WeightedEdge(src:int, dst:int, weight:int = 1)
WeightedEdge
  
dump():String
[override] Prints out all elements (for debug/demo purposes).
WeightedEdge
 Inherited
toString():String
Edge
Property Detail
weightproperty
public var weight:int

Constructor Detail
WeightedEdge()Constructor
public function WeightedEdge(src:int, dst:int, weight:int = 1)



Parameters
src:int
 
dst:int
 
weight:int (default = 1)
Method Detail
dump()method
override public function dump():String

Prints out all elements (for debug/demo purposes).

Returns
String — A human-readable representation of the structure.