GODPAPER | All Packages | All Classes | Index | Frames No Frames |
WeightedEdge

Package | com.lookbackon.ds.graph
Class | public class WeightedEdge
Inheritance | WeightedEdge Edge Object

WeightedEdge.as class.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | dst : int | Edge
|  | src : int | Edge
|  | weight : int | WeightedEdge

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | WeightedEdge(src:int, dst:int, weight:int = 1) | WeightedEdge
|  | dump():String [override] Prints out all elements (for debug/demo purposes). | WeightedEdge
|  | toString():String | Edge

Property Detail

weight | property

`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.

Thu Jan 16 2014, 01:11 PM +08:00