alun.graph
Class CarefulNetwork<V,E>

java.lang.Object
  extended by alun.graph.AbstractGraph<V,E>
      extended by alun.graph.Network<V,E>
          extended by alun.graph.CarefulNetwork<V,E>
All Implemented Interfaces:
Graph<V,E>, MutableGraph<V,E>

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


Constructor Summary
CarefulNetwork()
           
CarefulNetwork(int initcap)
           
 
Method Summary
 boolean add(V x)
           
 java.util.Set<V> getVertices()
           
 
Methods inherited from class alun.graph.Network
connect, connection, getEdges, getNeighbours, nConnections, read, read, readAsIntegers, readAsIntegers, toString
 
Methods inherited from class alun.graph.AbstractGraph
clear, connect, connects, contains, disconnect, disconnect, 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
clear, connect, disconnect, remove
 
Methods inherited from interface alun.graph.Graph
connects, contains, inNeighbours, outNeighbours
 

Constructor Detail

CarefulNetwork

public CarefulNetwork(int initcap)

CarefulNetwork

public CarefulNetwork()
Method Detail

add

public boolean add(V x)
Specified by:
add in interface MutableGraph<V,E>
Overrides:
add in class AbstractGraph<V,E>

getVertices

public java.util.Set<V> getVertices()
Specified by:
getVertices in interface Graph<V,E>
Overrides:
getVertices in class AbstractGraph<V,E>