| 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 |
|---|---|
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 |
|---|---|
static <N,E> N |
GraphTools.firstNode(Edge<N,E> edge,
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)
Создает извелечение смеженных узлов из узла
|
static <N,E> N |
GraphTools.secondNode(Edge<N,E> edge,
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 © 2018. All rights reserved.