ch.bfh.algo.graph
Class DefaultGraph<E,V>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by ch.bfh.algo.core.sequence.GenericLinkedSequence<V,PV>
                  extended by ch.bfh.algo.core.graph.GenericAdjacencyListGraph<E,V,Edge<E,V>,Vertex<E,V>>
                      extended by ch.bfh.algo.graph.DefaultGraph<E,V>
All Implemented Interfaces:
Container<V>, GenericContainer<V,Vertex<E,V>>, GenericGraph<E,V,Edge<E,V>,Vertex<E,V>>, GenericSequence<V,Vertex<E,V>>, Graph<E,V>, Sequence<V>, Iterable<V>, Collection<V>, List<V>

public class DefaultGraph<E,V>
extends GenericAdjacencyListGraph<E,V,Edge<E,V>,Vertex<E,V>>


Field Summary
 
Fields inherited from class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
factory
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DefaultGraph()
           
DefaultGraph(boolean directed)
           
DefaultGraph(Collection<? extends V> c)
           
DefaultGraph(DefaultGraph<E,V> g)
           
DefaultGraph(Graph<E,V> g)
           
DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory)
           
DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory, boolean directed)
           
DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory, Graph<? extends E,? extends V> g)
           
 
Method Summary
 
Methods inherited from class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
adjacentVertices, adjacentVertices, delete, deleteEdge, deleteEdge, deleteVertex, deleteVertex, destination, destination, detach, detachVertex, edgeElement, edgeElement, edgeElements, edges, edges, getFactory, incidentEdges, incidentEdges, insertAfter, insertBefore, insertBetween, insertEdge, insertEdge, insertEdge, insertVertex, isDirected, isDirected, opposite, opposite, origin, origin, positionListIterator, positionListIterator, replaceEdge, replaceVertex, reverse, reverse, setDestination, setDestination, setDirected, setDirected, setOrigin, setOrigin, setOriginAfter, setOriginBefore, setUndirected, setUndirected, swapEdge, swapVertex, vertexElement, vertexElements, vertices
 
Methods inherited from class ch.bfh.algo.core.sequence.GenericLinkedSequence
after, after, before, before, delete, element, element, encloses, encloses, first, head, insert, insert, insertAfter, insertBefore, insertBetween, last, listIterator, position, positionIterator, rank, rank, replace, replace, size, swap, swap, tail, validate
 
Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, iterator, remove, set
 
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.bfh.algo.core.GenericContainer
insert, positionIterator
 
Methods inherited from interface ch.bfh.algo.Container
delete, element, encloses, replace, swap
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface ch.bfh.algo.Container
delete, element, encloses, replace, swap
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Constructor Detail

DefaultGraph

public DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory,
                    boolean directed)

DefaultGraph

public DefaultGraph(boolean directed)

DefaultGraph

public DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory)

DefaultGraph

public DefaultGraph()

DefaultGraph

public DefaultGraph(Collection<? extends V> c)

DefaultGraph

public DefaultGraph(Graph<E,V> g)

DefaultGraph

public DefaultGraph(DefaultGraph<E,V> g)

DefaultGraph

public DefaultGraph(GraphFactory<Edge<E,V>,Vertex<E,V>> factory,
                    Graph<? extends E,? extends V> g)