Class: Google::Cloud::Optimization::V1::TransitionAttributes
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::TransitionAttributes
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Specifies attributes of transitions between two consecutive visits on a
route. Several TransitionAttributes may apply to the same transition: in
that case, all extra costs add up and the strictest constraint or limit
applies (following natural "AND" semantics).
Instance Attribute Summary collapse
-
#cost ⇒ ::Float
Specifies a cost for performing this transition.
-
#cost_per_kilometer ⇒ ::Float
Specifies a cost per kilometer applied to the distance traveled while performing this transition.
-
#delay ⇒ ::Google::Protobuf::Duration
Specifies a delay incurred when performing this transition.
-
#distance_limit ⇒ ::Google::Cloud::Optimization::V1::DistanceLimit
Specifies a limit on the distance traveled while performing this transition.
-
#dst_tag ⇒ ::String
A destination visit or vehicle end matches iff its VisitRequest.tags or Vehicle.end_tags either contains
dst_tagor does not containexcluded_dst_tag(depending on which of these two fields is non-empty). -
#excluded_dst_tag ⇒ ::String
See
dst_tag. -
#excluded_src_tag ⇒ ::String
See
src_tag. -
#src_tag ⇒ ::String
Tags defining the set of (src->dst) transitions these attributes apply to.
Instance Attribute Details
#cost ⇒ ::Float
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#cost_per_kilometer ⇒ ::Float
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#delay ⇒ ::Google::Protobuf::Duration
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#distance_limit ⇒ ::Google::Cloud::Optimization::V1::DistanceLimit
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#dst_tag ⇒ ::String
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#excluded_dst_tag ⇒ ::String
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#excluded_src_tag ⇒ ::String
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#src_tag ⇒ ::String
1721 1722 1723 1724 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1721 class TransitionAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |