java.lang.Object
xyz.cofe.collection.graph.AbstractPath<N,E>
- Type Parameters:
N- Тип вершиныE- Тип ребра
- All Implemented Interfaces:
Path<N,E>
- Direct Known Subclasses:
BasicPath
public abstract class AbstractPath<N,E> extends java.lang.Object implements Path<N,E>
Путь в графе
- Author:
- gocha
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected Path.DirectiondirectionОписывает направление движения -
Constructor Summary
Constructors Constructor Description AbstractPath()AbstractPath(AbstractPath<N,E> sample) -
Method Summary
-
Field Details
-
direction
Описывает направление движения
-
-
Constructor Details
-
AbstractPath
public AbstractPath() -
AbstractPath
-
-
Method Details
-
clone
Description copied from interface:PathСоздание клона -
edge
Description copied from interface:PathПолучение ребра между указаными вершинами. Растояние между вершинами, должно быть 1 ребро. -
segment
Description copied from interface:PathВозвращает под путь -
cycles
Description copied from interface:PathВозвращает циклы в пути
-