Typically, Shape Length is used. However, other network attributes can be used to calculate cost. For example, if you are looking for the nearest underground vault, you might
prefer a more geographically distant vault that is connected via a duct bank, versus a geographically closer vault that requires excavation in the ground.