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).
| 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. |
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)