|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.Subgraph<V,E,DirectedGraph<V,E>>
org.jgrapht.graph.DirectedSubgraph<V,E>
org.jgrapht.graph.DirectedWeightedSubgraph<V,E>
public class DirectedWeightedSubgraph<V,E>
A directed weighted graph that is a subgraph on other graph.
Subgraph
,
Serialized FormField Summary |
---|
Fields inherited from interface org.jgrapht.WeightedGraph |
---|
DEFAULT_EDGE_WEIGHT |
Constructor Summary | |
---|---|
DirectedWeightedSubgraph(WeightedGraph<V,E> base,
java.util.Set<V> vertexSubset,
java.util.Set<E> edgeSubset)
Creates a new weighted directed subgraph. |
Method Summary |
---|
Methods inherited from class org.jgrapht.graph.DirectedSubgraph |
---|
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf |
Methods inherited from class org.jgrapht.graph.Subgraph |
---|
addEdge, addEdge, addVertex, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getBase, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeEdge, removeEdge, removeVertex, setEdgeWeight, vertexSet |
Methods inherited from class org.jgrapht.graph.AbstractGraph |
---|
assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jgrapht.WeightedGraph |
---|
setEdgeWeight |
Methods inherited from interface org.jgrapht.Graph |
---|
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet |
Constructor Detail |
---|
public DirectedWeightedSubgraph(WeightedGraph<V,E> base, java.util.Set<V> vertexSubset, java.util.Set<E> edgeSubset)
base
- the base (backing) graph on which the subgraph will be based.vertexSubset
- vertices to include in the subgraph. If
null
then all vertices are included.edgeSubset
- edges to in include in the subgraph. If
null
then all the edges whose vertices found in the graph are
included.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |