Class: Nsga2BinaryTournament

Inherits:
Object
  • Object
show all
Includes:
SelectMore
Defined in:
../algorithm/nsga2.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) population

Returns the value of attribute population



46
47
48
# File '../algorithm/nsga2.rb', line 46

def population
  @population
end

Instance Method Details

- (Object) select_one(population = self.population)



48
49
50
51
# File '../algorithm/nsga2.rb', line 48

def select_one population=self.population
  @population = population
  select_one_internal      
end