Package org.goplanit.path
Class SimpleDirectedPathFactoryImpl
- java.lang.Object
-
- org.goplanit.path.SimpleDirectedPathFactoryImpl
-
- All Implemented Interfaces:
DirectedPathFactory<SimpleDirectedPath>
public class SimpleDirectedPathFactoryImpl extends Object implements DirectedPathFactory<SimpleDirectedPath>
Factory for creating simple directed paths- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description SimpleDirectedPathFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleDirectedPathImpl
createNew()
Create new pathSimpleDirectedPathImpl
createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path
-
-
-
Method Detail
-
createNew
public SimpleDirectedPathImpl createNew()
Create new path- Specified by:
createNew
in interfaceDirectedPathFactory<SimpleDirectedPath>
- Returns:
- the created path
-
createNew
public SimpleDirectedPathImpl createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new path- Specified by:
createNew
in interfaceDirectedPathFactory<SimpleDirectedPath>
- Parameters:
edgeSegments
- of the path- Returns:
- the created path
-
-