Package | Description |
---|---|
edu.uci.ics.jung.graph |
Interfaces for the JUNG graph types, and some representative implementations.
|
edu.uci.ics.jung.graph.util |
Utility interfaces and classes for the JUNG API.
|
org.girod.jgraphml.model |
This package contains the graphml model classes.
|
Modifier and Type | Field and Description |
---|---|
protected EdgeType |
AbstractTypedGraph.edgeType
The edge type for all edges in this graph.
|
Modifier and Type | Method and Description |
---|---|
EdgeType |
AbstractTypedGraph.getDefaultEdgeType()
Returns this graph's edge type.
|
EdgeType |
GraphDecorator.getDefaultEdgeType() |
EdgeType |
Hypergraph.getDefaultEdgeType()
Returns the default edge type for this graph.
|
EdgeType |
SetHypergraph.getDefaultEdgeType() |
EdgeType |
SparseGraph.getDefaultEdgeType() |
EdgeType |
SparseMultigraph.getDefaultEdgeType() |
EdgeType |
AbstractTypedGraph.getEdgeType(E e)
Returns this graph's edge type, or
null if e is not
in this graph. |
EdgeType |
GraphDecorator.getEdgeType(E edge) |
EdgeType |
Hypergraph.getEdgeType(E edge)
Returns the edge type of
edge in this graph. |
EdgeType |
SparseGraph.getEdgeType(E edge) |
EdgeType |
SparseMultigraph.getEdgeType(E edge) |
EdgeType |
SetHypergraph.getEdgeType(H edge) |
Modifier and Type | Method and Description |
---|---|
boolean |
DelegateTree.addChild(E edge,
V parent,
V child,
EdgeType edgeType)
add the passed child node as a child of parent.
|
boolean |
AbstractGraph.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
boolean |
DelegateForest.addEdge(E e,
V v1,
V v2,
EdgeType edgeType)
Add an edge to the tree, connecting v1, the parent and v2, the child.
|
boolean |
DelegateTree.addEdge(E e,
V v1,
V v2,
EdgeType edgeType)
Add an edge to the tree, connecting v1, the parent and v2, the child.
|
boolean |
Graph.addEdge(E e,
V v1,
V v2,
EdgeType edgeType)
Adds edge
e to this graph such that it connects
vertex v1 to v2 . |
boolean |
GraphDecorator.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
boolean |
ObservableGraph.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
boolean |
OrderedKAryTree.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
boolean |
UndirectedSparseMultigraph.addEdge(E edge,
V v1,
V v2,
EdgeType edgeType) |
abstract boolean |
AbstractGraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType)
Adds
edge to this graph with the specified endpoints
and EdgeType . |
boolean |
DirectedSparseGraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
DirectedSparseMultigraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
OrderedKAryTree.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
SparseGraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
SparseMultigraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
UndirectedSparseGraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edgeType) |
boolean |
UndirectedSparseMultigraph.addEdgeWithEndpoints(E edge,
Pair<? extends V> endpoints,
EdgeType edge_type) |
boolean |
AbstractGraph.addEdgeWithVertices(E edge,
java.util.Collection<? extends V> vertices,
EdgeType edgeType) |
boolean |
GraphDecorator.addEdgeWithVertices(E edge,
java.util.Collection<? extends V> vertices,
EdgeType edgeType) |
boolean |
Hypergraph.addEdgeWithVertices(E edge,
java.util.Collection<? extends V> vertices,
EdgeType edgeType)
Adds
edge to this graph with type edge_type . |
boolean |
OrderedKAryTree.addEdgeWithVertices(E edge,
java.util.Collection<? extends V> vertices,
EdgeType edgeType) |
boolean |
SetHypergraph.addEdgeWithVertices(H hyperedge,
java.util.Collection<? extends V> to_attach,
EdgeType edge_type) |
int |
AbstractTypedGraph.getEdgeCount(EdgeType edgeType)
Returns the edge count for this graph if
edge_type matches
the edge type for this graph, and 0 otherwise. |
int |
GraphDecorator.getEdgeCount(EdgeType edgeType) |
int |
Hypergraph.getEdgeCount(EdgeType edgeType)
Returns the number of edges of type
edge_type in this graph. |
int |
SetHypergraph.getEdgeCount(EdgeType edge_type) |
int |
SparseGraph.getEdgeCount(EdgeType edge_type) |
int |
SparseMultigraph.getEdgeCount(EdgeType edge_type) |
java.util.Collection<E> |
AbstractTypedGraph.getEdges(EdgeType edgeType)
Returns the edge set for this graph if
edgeType matches the
edge type for this graph, and an empty set otherwise. |
java.util.Collection<E> |
GraphDecorator.getEdges(EdgeType edgeType) |
java.util.Collection<E> |
Hypergraph.getEdges(EdgeType edgeType)
Returns the collection of edges in this graph which are of type
edge_type . |
java.util.Collection<H> |
SetHypergraph.getEdges(EdgeType edge_type) |
java.util.Collection<E> |
SparseGraph.getEdges(EdgeType edgeType) |
java.util.Collection<E> |
SparseMultigraph.getEdges(EdgeType edgeType) |
protected boolean |
AbstractTypedGraph.hasEqualEdgeType(EdgeType edgeType)
Returns
true if edge_type matches the default edge type for
this graph, and false otherwise. |
protected void |
AbstractTypedGraph.validateEdgeType(EdgeType edgeType)
Throws an
IllegalArgumentException if edge_type does not
match the default edge type for this graph. |
Constructor and Description |
---|
AbstractTypedGraph(EdgeType edgeType)
Creates an instance with the specified edge type.
|
Modifier and Type | Method and Description |
---|---|
static EdgeType |
EdgeType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeType[] |
EdgeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected EdgeType |
AbstractGraphMLDiagram.defaultEdgeType
The diagram edges type.
|
Modifier and Type | Method and Description |
---|---|
EdgeType |
AbstractGraphMLDiagram.getDefaultEdgeType()
Returns the default edge type for this graph.
|
EdgeType |
AbstractGraphMLDiagram.getEdgeType(GraphMLEdge edge)
Returns the edge type of
edge in this graph. |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractGraphMLDiagram.addEdgeWithEndpoints(GraphMLEdge edge,
Pair<? extends IGraphMLNode> endpoints,
EdgeType edgeType)
Add an edgeto this graph with the specified endpoints and EdgeType.
|
int |
AbstractGraphMLDiagram.getEdgeCount(EdgeType edgeType)
Returns the number of edges in this graph.
|
java.util.Collection<GraphMLEdge> |
AbstractGraphMLDiagram.getEdges(EdgeType edgeType)
Returns the collection of edges in this graph which are of type
edgeType . |
void |
AbstractGraphMLDiagram.setDefaultEdgeType(EdgeType edgeType)
Set the default edge type for this graph.
|
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence