Package jcommon.graph

Contains the standard API for interfacing with the jcommon-graph library.

See:
          Description

Interface Summary
IAdjacencyList<TVertex extends IVertex<TValue>,TValue> An adjacency list is essentially an array of size n where A[i] is the list of out-neighbors of node i.
IAdjacencyListPair<TVertex extends IVertex> Maintains a reference between a IVertex (IAdjacencyListPair.getVertex()) and its out-neighbors (IAdjacencyListPair.getOutNeighbors()).
IEdge<TVertex extends IVertex> Represents a connection between two instances of IVertex of type TVertex.
IGraph<TVertex extends IVertex<TValue>,TValue> This is a simple graph holding IVertex vertices and IEdge edges connecting them.
ITopologicalSortAsyncResult<TValue> Returned by an asynchronous sort call.
ITopologicalSortCallback<TValue> A callback for when a vertex has been found in topological order.
ITopologicalSortCoordinator Provides a means for communication with the asynchronous sorting driver (which is typically done by an instance of ITopologicalSortStrategy).
ITopologicalSortErrorCallback<TValue> A callback for when an error has occurred during asynchronous processing.
ITopologicalSortInput<TValue> Aggregates the output of out neighbor vertices as input to a vertex being processed.
ITopologicalSortStrategy<TVertex extends IVertex<TValue>,TValue> Provides a strategy for implementing a topological sort of an IGraph.
IVertex<TValue> Marker interface that designates an object as something that can be reasoned about in an IGraph instance.
 

Class Summary
DirectedAcyclicGraph<TVertex extends IVertex<TValue>,TValue> Factory and implementation of a dependency graph that can topologically sort its vertices.
NumberGraph Factory and implementation of a dependency graph that can topologically sort vertices that are Numbers.
NumberVertex A representation of an IVertex instance using Numbers.
ObjectGraph Factory and implementation of a dependency graph that can topologically sort vertices that are Objects.
ObjectVertex A representation of an IVertex instance using Objects.
Pair<TValue1,TValue2> Associates two values together.
StringGraph Factory and implementation of a dependency graph that can topologically sort vertices that are Strings.
StringVertex A representation of an IVertex instance using Strings.
 

Exception Summary
CyclicGraphException Exception thrown when a cycle has been detected during a topological sort.
 

Package jcommon.graph Description

Contains the standard API for interfacing with the jcommon-graph library.

See Also:
StringGraph, NumberGraph, DirectedAcyclicGraph, IGraph, IVertex


Copyright © 2012-2013. All Rights Reserved.