Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.66 KB

File metadata and controls

33 lines (24 loc) · 1.66 KB

ReducedNodeEdgeConnectorItem

Pre-computed connections used exclusively during the construction hook phase. These connections override the default element connections for hook-related routing decisions, allowing special distance/time calculations during construction (e.g. depot-to-first-stop distances that differ from normal driving).

Properties

Name Type Description Notes
distance str The distance of the hook connection.
time str The time needed to pass the hook connection.
from_element_id str The fromElementId defines the element where the connections starts.
to_element_id str The toElementId defines the element where the connections ends.

Example

from touroptimizer_py_client.models.reduced_node_edge_connector_item import ReducedNodeEdgeConnectorItem

# TODO update the JSON string below
json = "{}"
# create an instance of ReducedNodeEdgeConnectorItem from a JSON string
reduced_node_edge_connector_item_instance = ReducedNodeEdgeConnectorItem.from_json(json)
# print the JSON string representation of the object
print(ReducedNodeEdgeConnectorItem.to_json())

# convert the object into a dict
reduced_node_edge_connector_item_dict = reduced_node_edge_connector_item_instance.to_dict()
# create an instance of ReducedNodeEdgeConnectorItem from a dict
reduced_node_edge_connector_item_from_dict = ReducedNodeEdgeConnectorItem.from_dict(reduced_node_edge_connector_item_dict)

[Back to Model list] [Back to API list] [Back to README]