Package | Description |
---|---|
broadwick.graph |
This package contains classes for reading and manipulating graphs.
|
Modifier and Type | Method and Description |
---|---|
EdgeType |
UndirectedGraph.getEdgeType() |
EdgeType |
Tree.getEdgeType() |
EdgeType |
Graph.getEdgeType()
Get the type of edge (directed/undirected employed in the graph.
|
EdgeType |
DirectedGraph.getEdgeType() |
static EdgeType |
EdgeType.valueOf(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 | Method and Description |
---|---|
boolean |
UndirectedGraph.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
boolean |
Tree.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
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 |
DirectedGraph.addEdge(E e,
V v1,
V v2,
EdgeType edgeType) |
Copyright © 2015 University of Glasgow. All rights reserved.