Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 18.104.22.168
public class PenaltySettings
Public Class PenaltySettings
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.