Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.78 KB

File metadata and controls

32 lines (23 loc) · 1.78 KB

ResourceLocationConstraint

A constraint that limits a node to be visited only by resources within a maximum distance or travel time radius. At least one of maxRadiusDistance or maxRadiusTime must be provided. NOTE: This constraint type is currently under review and may not function as expected in all scenarios.

Properties

Name Type Description Notes
max_radius_distance str The maximum Euclidean or road-network distance a resource may be located from this node in order to be eligible to visit it. If omitted, only maxRadiusTime is enforced. [optional]
max_radius_time str The maximum travel time a resource may need to reach this node in order to be eligible to visit it. If omitted, only maxRadiusDistance is enforced. [optional]
type_name str The typeName of the object [default to 'ResourceLocationConstraint']

Example

from touroptimizer_py_client.models.resource_location_constraint import ResourceLocationConstraint

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

# convert the object into a dict
resource_location_constraint_dict = resource_location_constraint_instance.to_dict()
# create an instance of ResourceLocationConstraint from a dict
resource_location_constraint_from_dict = ResourceLocationConstraint.from_dict(resource_location_constraint_dict)

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