alun.graph
Class DirectedNetwork<V,E>

java.lang.Object
  extended by alun.graph.AbstractGraph<V,E>
      extended by alun.graph.Network<V,E>
          extended by alun.graph.DirectedNetwork<V,E>
All Implemented Interfaces:
Graph<V,E>, MutableGraph<V,E>
Direct Known Subclasses:
Decomposition, MarriageNodeMap

public class DirectedNetwork<V,E>
extends Network<V,E>


Constructor Summary
DirectedNetwork()
           
 
Method Summary
 java.util.Collection<E> getEdges()
           
 java.util.Collection<V> getNeighbours(java.lang.Object x)
           
 V next(java.lang.Object x)
           
 java.lang.String toString()
           
 
Methods inherited from class alun.graph.Network
connect, connection, nConnections, read, read, readAsIntegers, readAsIntegers
 
Methods inherited from class alun.graph.AbstractGraph
add, clear, connect, connects, contains, disconnect, disconnect, getVertices, inNeighbours, outNeighbours, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface alun.graph.MutableGraph
add, clear, connect, disconnect, remove
 
Methods inherited from interface alun.graph.Graph
connects, contains, getVertices, inNeighbours, outNeighbours
 

Constructor Detail

DirectedNetwork

public DirectedNetwork()
Method Detail

getNeighbours

public java.util.Collection<V> getNeighbours(java.lang.Object x)
Specified by:
getNeighbours in interface Graph<V,E>
Overrides:
getNeighbours in class Network<V,E>

getEdges

public java.util.Collection<E> getEdges()
Specified by:
getEdges in interface Graph<V,E>
Overrides:
getEdges in class Network<V,E>

next

public V next(java.lang.Object x)

toString

public java.lang.String toString()
Overrides:
toString in class Network<V,E>