This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Constants > E > esriNAOrderAssignmentRule Constants (ArcObjects .NET 10.4 SDK) |
Options for order assignment rule.
Constant | Value | Description |
---|---|---|
esriNAOrderExcludeFromSolve | 0 | Exclude from solve. |
esriNAOrderPreserveRouteAndRelativeSequence | 1 | Preserve route and relative sequence pre-assignment. |
esriNAOrderPreserveRoute | 2 | Preserve route pre-assignment. |
esriNAOrderOverride | 3 | Override pre-assignment. |
esriNAOrderAnchorFirst | 4 | Anchor as first order on any route. |
esriNAOrderAnchorLast | 5 | Anchor as last order on any route. |
The values within this enumeration are used to determine order usage and assignment within a VRP problem instance. These values are stored in the AssignmentRule field on the Orders NAClass within a VRP NAContext.
AssignmentRule field values on the Orders NAClass identify whether or not to include a given order feature within a Solve operation and how to preserve any pre-existing route assignment information.
The esriNAOrderAssignmentRule enumeration has the following values: