DiagramLite Programmer's Guide
RoutingOptions.MaxAbs Property
See Also
 





Gets a heuristic delegate function that returns max(dx, dy) as a cost evaluation of the distance between two pieces of the routing grid.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static RouteHeuristics MaxAbs { get; }

Visual Basic  Copy Code

Public Shared ReadOnly Property MaxAbs As RouteHeuristics

 Property Value

A predefined RouteHeuristics delegate instance.

 Remarks

MaxAbs is a predefined delegate that assigns to pieces the higher value from the horizontal or vertical -only distances between a piece and the target. MaxAbs can be assigned to the RouteHeuristics property. By returning smaller values than the default heuristic function Distance, it makes the prediction part of the routing algorithm have less impact on the evaluated routes. That might lead to slower path-finding, but the real cost functions would have greater impact and thus the quality of the found routes could be higher.

 See Also

RoutingOptions Members
RoutingOptions Class
MindFusion.Diagramming Namespace