Class: Quicopt::Arrangement
- Inherits:
-
Data
- Object
- Data
- Quicopt::Arrangement
- Defined in:
- lib/quicopt/client.rb
Overview
The arrangement the service found for one permutation (see
Model#permutation), both ways round and counted from 0: item_at[k] is the
item in slot k — for a route, the stops in the order visited — and
slot_of[i] the slot of item i.
Instance Attribute Summary collapse
-
#item_at ⇒ Object
readonly
Returns the value of attribute item_at.
-
#slot_of ⇒ Object
readonly
Returns the value of attribute slot_of.
Instance Attribute Details
#item_at ⇒ Object (readonly)
Returns the value of attribute item_at
58 59 60 |
# File 'lib/quicopt/client.rb', line 58 def item_at @item_at end |
#slot_of ⇒ Object (readonly)
Returns the value of attribute slot_of
58 59 60 |
# File 'lib/quicopt/client.rb', line 58 def slot_of @slot_of end |