|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Node - The type of the graph's nodes.Label - The type of the labels on the graph's edges.public interface ILabeledGraph<Node,Label>
Specification of an immutable, labeled, directed graph with useful operations on it.
This interface must be used when it is desirable to provide an immutable view of a labeled, directed graph to clients even though the underlying implementation may be that of a mutable graph.
Classes implementing this interface are:
MutableLabeledGraph, a complete implementation that
provides both, the useful operations and a representation of
the graph.AbstractGraph, a partial implementation that provides
the useful operations but leaves the representation of the
graph unspecified.
| Method Summary | |
|---|---|
java.util.Set<Label> |
getLabels(Node srcNode,
Node dstNode)
Provides the set of all labels on a given directed edge in the graph. |
| Methods inherited from interface chord.util.graph.IGraph |
|---|
getAllPathsBuilder, getBackEdges, getNodeMap, getNodes, getNodesInCycles, getNodesInRPO, getPreds, getRoots, getShortestPathsBuilder, getSimpleCycles, getSuccs, getTopSortedSCCs, hasCycles, hasEdge, hasNode, hasRoot, isConnected, numNodes, numPreds, numRoots, numSuccs |
| Method Detail |
|---|
java.util.Set<Label> getLabels(Node srcNode,
Node dstNode)
srcNode - The source node of the edge.dstNode - The target node of the edge.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||