Skip To Content

Assign evaluators

The steps below show how to assign an evaluator to the cost attribute. These steps can also be used to assign evaluators to restriction attributes.

  1. Access network attributes from the Network Dataset Properties dialog box.
  2. Click the Costs tab.
  3. From the list of available cost attributes, select the one to which you want to assign an evaluator.
  4. In the Evaluators section, for the Edges source feature, select a type of evaluator from the Type drop-down list and define its value in the Value column.
  5. If you select Function, Field Script, or Element Script from the Type drop-down list, double-click in the Value column to make the Evaluator Settings button Set an expression available. When you click the Evaluator Settings button, a dialog box appears where you can define your expression or script.

    In real-world networks, the cost to traverse an edge usually depends on the specific characteristics of the edge, such as its length, the speed limit of the street, etc. Therefore, if the cost for an edge source is set to "Same as Default," a warning will be shown to ensure that this setting is intentional.

  6. Repeat the previous steps to define evaluators for Junctions and Turns source features.
  7. Click OK to save the evaluators.