Package | Description |
---|---|
com.hp.ds.graph |
Various graph abstractions and algorithms for graph traversal & search, e.g.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutablePath
Abstraction of a mutable path through a directed graph.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPath
Simple concrete implementation of a directed graph path.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Vertex,Path> |
AbstractGraphPathSearch.DefaultResult.pathMap |
protected Set<Path> |
AbstractGraphPathSearch.DefaultResult.pathSet |
Modifier and Type | Method and Description |
---|---|
Collection<Path> |
GraphPathSearch.Result.getPaths()
Returns the paths accrued during the search.
|
Collection<Path> |
AbstractGraphPathSearch.DefaultResult.getPaths() |
Set<Path> |
GraphPathSearch.Result.paths()
Deprecated
Returns the set of paths accrued during the search.
|
Set<Path> |
AbstractGraphPathSearch.DefaultResult.paths() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGraphPathSearch.DefaultResult.addPath(Path path)
Add the path to the search results.
|
Constructor and Description |
---|
DefaultPath(Path path)
Creates a new path as a copy of another path.
|
Copyright © 2016. All Rights Reserved.