public class PathSearchConfiguration extends Object
Constructor and Description |
---|
PathSearchConfiguration(LayoutGraph graph,
GroupingSupport grouping,
EdgeRouter edgeRouter)
Creates a new instance of
PathSearchConfiguration used for a path search. |
Modifier and Type | Method and Description |
---|---|
EdgeRouter |
getEdgeRouter()
Gets the edge routing algorithm using this configuration.
|
LayoutGraph |
getGraph()
Gets the graph containing the edges whose path is searched.
|
GroupingSupport |
getGrouping()
Gets the grouping information of the graph.
|
long |
getRemainingTime()
Gets the remaining time (in milliseconds) within which the algorithm should complete its calculation.
|
public PathSearchConfiguration(LayoutGraph graph, GroupingSupport grouping, EdgeRouter edgeRouter)
PathSearchConfiguration
used for a path search.graph
- the graph containing the edges whose path will be searchedgrouping
- the grouping information of the graphedgeRouter
- the edge routing algorithm using this configurationpublic EdgeRouter getEdgeRouter()
public LayoutGraph getGraph()
public GroupingSupport getGrouping()
public long getRemainingTime()