Package org.planit.path
Interface Path
- 
- All Superinterfaces:
- Iterable<EdgeSegment>
 - All Known Implementing Classes:
- PathImpl
 
 public interface Path extends Iterable<EdgeSegment> Path interface representing a path through the network on edge segment level- Author:
- markr
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanaddEdgeSegment(EdgeSegment edgeSegment)add an edge segment to the path by appending itlonggetId()Return the Id of this pathStringtoString(PathOutputIdentificationType pathOutputType)Outputs this path as a String, appropriate to a specified path output type- 
Methods inherited from interface java.lang.IterableforEach, iterator, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
addEdgeSegmentBoolean addEdgeSegment(EdgeSegment edgeSegment) add an edge segment to the path by appending it- Parameters:
- edgeSegment- the edge segment to add
- Returns:
- true as per Collection.add
 
 - 
toStringString toString(PathOutputIdentificationType pathOutputType) Outputs this path as a String, appropriate to a specified path output type- Parameters:
- pathOutputType- the specified path output type
- Returns:
- String describing the path
 
 - 
getIdlong getId() Return the Id of this path- Returns:
- the Id of this path
 
 
- 
 
-