Provides the cost penalties that are applied for violating restrictions during a path search.

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

Syntax

C#
public class PenaltySettings
Visual Basic
Public Class PenaltySettings

Remarks

Provides the cost penalties that are applied for violating restrictions during a path search.

The PathSearch calculates the 'shortest' path from a source to a target at which 'shortest' path means the path with the lowest costs. Costs results from violations of restrictions that are defined by the different PathSearchExtension s. This class defines penalties for the various violations. The path search can be adapted to specific needs by varying these penalties. In order to avoid a certain violation, the appropriate penalty must be increased.

Inheritance Hierarchy

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

See Also