RoadPath

public class RoadPath extends Path

Directed path (a list of directed nodes).

Author:Milan Lovric

Constructors

RoadPath

public RoadPath()

RoadPath

public RoadPath(Collection nodes)

Methods

buildEdges

protected List buildEdges()

Internal method for building the edge set of the walk. This method calculated the edges upon every call.

Returns:The list of edges for the walk, or null if the edge set could not be calculated due to an invalid walk.

isValid

public boolean isValid()