Package | Description |
---|---|
lavesdk.algorithm | |
lavesdk.math.graph |
Modifier and Type | Method and Description |
---|---|
<V extends Vertex> |
AlgorithmState.addPath(java.lang.String key,
PathByID<V> p)
Adds a path to the state.
|
<V extends Vertex,E extends Edge> |
AlgorithmState.getPath(java.lang.String key,
Graph<V,E> graph)
Gets a path for a given data key.
|
<V extends Vertex,E extends Edge> |
AlgorithmState.getPath(java.lang.String key,
Graph<V,E> graph,
PathByID<V> defValue)
Gets a path for a given data key.
|
Modifier and Type | Method and Description |
---|---|
<V extends Vertex> |
AlgorithmState.addPath(java.lang.String key,
PathByID<V> p)
Adds a path to the state.
|
<V extends Vertex,E extends Edge> |
AlgorithmState.getPath(java.lang.String key,
Graph<V,E> graph,
PathByID<V> defValue)
Gets a path for a given data key.
|
Modifier and Type | Method and Description |
---|---|
PathByID<V> |
Path.cast()
|
PathByID<V> |
PathByID.clone()
Gets a shallow copy of this path (the identifiers of the vertices in the path are not cloned).
|
Modifier and Type | Method and Description |
---|---|
boolean |
PathByID.equals(PathByID<V> p)
Indicates whether this path equals the specified one.
|