Extensions are added to a PathSearch to influence the search process.

Namespace: yWorks.yFiles.Layout.Router.Polyline
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public abstract class PathSearchExtension
Visual Basic
Public MustInherit Class PathSearchExtension

Remarks

Extensions are added to a PathSearch to influence the search process.

It contains several callback methods that are used by the PathSearch to e.g. calculate the costs for the next possible steps (i.e. entering the next partition cell) and to decide when the target is reached.

The PathSearch uses the callbacks in the following order:

  1. initialize
  2. initializeEdges
  3. initializeCurrentEdge
  4. appendStartEntrances
  5. calculateStartEntranceCost
  6. calculateCosts
  7. calculateHeuristicCosts
  8. isValidTargetEntrance
  9. finalizePath
  10. finalizeCurrentEdge or cancelCurrentEdge
  11. finalizeEdges
  12. finalizePathSearchResult
  13. cleanup

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Router.Polyline..::..PathSearchExtension

See Also