| Package | Description |
|---|---|
| xyz.cofe.collection.graph |
Графы, однонаправленные, многонаправленные, Прослушивание измений графа
|
| Modifier and Type | Field and Description |
|---|---|
protected Path.Direction |
PathFinder.direction
Направление движения
|
protected Path.Direction |
AbstractPath.direction
Описывает направление движения
|
| Modifier and Type | Method and Description |
|---|---|
Path.Direction |
Path.getDirection()
Описывает направление движения
|
Path.Direction |
AbstractPath.getDirection() |
static Path.Direction |
Path.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Path.Direction[] |
Path.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected Path<N,E> |
PathFinder.createPath(Path.Direction d)
Создаает путь
|
static <N,E> int |
GraphTools.getMaxPathLength(Graph<N,E> g,
N start,
Path.Direction direct)
Получение максимального длинный пути в графе (макс кол-во ребр в пути).
|
static <N,E> NodesExtracter<N,N> |
GraphTools.nodeExtracter(Graph<N,E> g,
Path.Direction direct)
Создает извелечение смеженных узлов из узла
|
void |
AbstractPath.setDirection(Path.Direction d)
Указывает направление движения
|
| Constructor and Description |
|---|
PathFinder(SingleDirectedGraph<N,E> graph,
N start,
Path.Direction direction,
Comparator<Path<N,E>> comparator)
Конструктор
|
PathFinder(SingleDirectedGraph<N,E> graph,
N start,
Path.Direction direction,
Convertor<Edge<N,E>,Double> getWeight)
Конструктор
|
Copyright © 2017. All rights reserved.