dk.brics.string.directedgraph
Interface GraphComponent<N extends GraphNode>

All Known Implementing Classes:
Component

public interface GraphComponent<N extends GraphNode>

Interface for strongly connected component.


Method Summary
 void add(N n)
          Adds a node to this component.
 Collection<N> getNodes()
          Returns the (unmodifiable) collection of nodes in this component.
 

Method Detail

add

void add(N n)
Adds a node to this component.


getNodes

Collection<N> getNodes()
Returns the (unmodifiable) collection of nodes in this component.



Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.