resources/memory/weight_balancing_memory_heuristic.rb
# Computes the JRE memory switch values based on the current state.
#
# @return [Array<String>] an array of JRE memory switches with values
Computes the JRE memory switch values based on the current state.
Computes the JRE memory switch values based on the current state .
def resolve
    buckets = create_memory_buckets(@sizes, @heuristics)
    if @memory_limit
      allocate_by_balancing(buckets)
    else
      allocate_lower_bounds(buckets)
    end
    switches(buckets)
  end
def resolve buckets = create_memory_buckets ( @sizes , @heuristics ) if @memory_limit allocate_by_balancing ( buckets ) else allocate_lower_bounds ( buckets ) end switches ( buckets ) end
Computes the JRE memory switch values based on the current state.
Computes the JRE memory switch values based on the current state .
an array of JRE memory switches with values
an array of JRE memory switches with values
Array<String>