Package | Description |
---|---|
scratch.tom.simpleGraph |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGraph<V,E extends Edge<V>>
an example implementation of Graph
|
interface |
Graph<V,E extends Edge>
Graph is parameterized with vertex and edge
type.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Edge.Directed<W>
Directed adds two methods to Edge
|
static interface |
Edge.Hyper<W>
Hyper adds several methods to Edge
|
Modifier and Type | Class and Description |
---|---|
class |
DirectedEdge<V>
a directed edge with vertex parameters specified
|
class |
HyperEdge<V>
a hyper edge
|
class |
UndirectedEdge<V> |
Modifier and Type | Method and Description |
---|---|
static <V,E extends Edge> |
GraphUtils.getDegree(Graph<V,E> graph,
V vertex) |
static <V,E extends Edge> |
GraphUtils.getNeighbors(Graph<V,E> graph,
V vertex) |