- java.lang.Object
-
- xyz.cofe.collection.graph.AbstractPath<N,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface xyz.cofe.collection.graph.Path
Path.Direction
-
-
Field Summary
Fields Modifier and Type Field Description protected Path.DirectiondirectionОписывает направление движения
-
Constructor Summary
Constructors Constructor Description AbstractPath()AbstractPath(AbstractPath<N,E> sample)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Path<N,E>clone()Создание клонаList<Path<N,E>>cycles()Возвращает циклы в путиEedge(int beginIndex, int endIndex)Получение ребра между указаными вершинами.Path<N,E>segment(int beginIdx, int endExc)Возвращает под путь
-
-
-
Field Detail
-
direction
protected Path.Direction direction
Описывает направление движения
-
-
Constructor Detail
-
AbstractPath
public AbstractPath()
-
AbstractPath
public AbstractPath(AbstractPath<N,E> sample)
-
-
Method Detail
-
edge
public E edge(int beginIndex, int endIndex)
Description copied from interface:PathПолучение ребра между указаными вершинами. Растояние между вершинами, должно быть 1 ребро.
-
segment
public Path<N,E> segment(int beginIdx, int endExc)
Description copied from interface:PathВозвращает под путь
-
-