Implementation of Edge
|
|
Edge Implementation
|
GraphEdge
|
|
|
constructor (Vertex
from, Vertex to)
|
O(1)
|
|
|
constructor (Vertex
from, Vertex to, Object label)
|
O(1)
|
|
|
constructor (Vertex
from, Vertex to, GraphSubEdge subEdge)
|
O(1)
|
|
|
|
|
| void
|
clearMark ().
|
O(1)
|
| int
|
compareTo (Object that)
|
O(1)
|
| boolean
|
equals (Object obj)
|
O(1)
|
| Vertex
|
getFromVertex ()
|
O(1)
|
| Object
|
getLabel ()
|
O(1)
|
| Vertex
|
getToVertex ()
|
O(1)
|
| double
|
getWeight ()
|
O(1)
|
| int
|
hashCode ()
|
O(1)
|
| boolean
|
isMarked ()
|
O(1)
|
| void
|
setLabel (Object label)
|
O(1)
|
| void
|
setMark ()
|
O(1)
|
| void
|
setWeight (double
weight)
|
O(1)
|
| String
|
toString ()
|
O(1)
|
|