Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 22.214.171.124
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.