Search this API

y.layout.router.polyline
Class PathSearchConfiguration

java.lang.Object
  extended by y.layout.router.polyline.PathSearchConfiguration

public class PathSearchConfiguration
extends Object

Contains the basic configuration used by path search algorithms.


Constructor Summary
PathSearchConfiguration(LayoutGraph graph, Grouping grouping, EdgeRouter edgeRouter)
          Creates a new configuration used for a path search.
 
Method Summary
 EdgeRouter getEdgeRouter()
          Returns the orthogonal layout algorithm using this configuration.
 LayoutGraph getGraph()
          Returns the graph of the edge whose path is searched.
 Grouping getGrouping()
          Returns the grouping information of the graph.
 long getRestOfComputingTime()
          Returns the remaining time in that the calculation of the algorithm should be completed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathSearchConfiguration

public PathSearchConfiguration(LayoutGraph graph,
                               Grouping grouping,
                               EdgeRouter edgeRouter)
Creates a new configuration used for a path search.

Parameters:
graph - The graph of the edges whose path will be searched.
grouping - The grouping information of the graph.
edgeRouter - The orthogonal layout algorithm using this configuration.
Method Detail

getGraph

public LayoutGraph getGraph()
Returns the graph of the edge whose path is searched.

Returns:
the current graph

getGrouping

public Grouping getGrouping()
Returns the grouping information of the graph.

Returns:
the grouping information of the graph.

getEdgeRouter

public EdgeRouter getEdgeRouter()
Returns the orthogonal layout algorithm using this configuration.

Returns:
The orthogonal layout algorithm using this configuration.

getRestOfComputingTime

public long getRestOfComputingTime()
Returns the remaining time in that the calculation of the algorithm should be completed.

Returns:
The remaining time in that the calculation of the algorithm should be completed.

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.