Class: Google::Cloud::Optimization::V1::ShipmentModel::DurationDistanceMatrix::Row
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::ShipmentModel::DurationDistanceMatrix::Row
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Specifies a row of the duration and distance matrix.
Instance Attribute Summary collapse
-
#durations ⇒ ::Array<::Google::Protobuf::Duration>
Duration values for a given row.
-
#meters ⇒ ::Array<::Float>
Distance values for a given row.
Instance Attribute Details
#durations ⇒ ::Array<::Google::Protobuf::Duration>
Returns Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
651 652 653 654 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 651 class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#meters ⇒ ::Array<::Float>
Returns Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations
.
651 652 653 654 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 651 class Row include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |