Class: Quicopt::Grouping

Inherits:
Data
  • Object
show all
Defined in:
lib/quicopt/client.rb

Overview

The assignment the service found for one partition (see Model#partition), parts counted from 0: part_of[i] is the part of item i and size_of[b] the number of items in part b.

Instance Attribute Summary collapse

Instance Attribute Details

#part_of ⇒ Object (readonly)

Returns the value of attribute part_of

Returns:

  • (Object) —

    the current value of part_of



63
64
65
# File 'lib/quicopt/client.rb', line 63

def part_of
  @part_of
end

#size_of ⇒ Object (readonly)

Returns the value of attribute size_of

Returns:

  • (Object) —

    the current value of size_of



63
64
65
# File 'lib/quicopt/client.rb', line 63

def size_of
  @size_of
end