public class Individual
extends java.lang.Object
Class which represents an individual
Constructor and Description |
---|
Individual(int s)
Constructor that sets individual's size
|
Individual(SetupParameters global)
Constructor that initializes all the attributes of an individual instance,
given the SetupParameters 'global' object.
|
public Individual(int s)
Constructor that sets individual's size
s
- size of the vectors representing the individualspublic Individual(SetupParameters global)
Constructor that initializes all the attributes of an individual instance, given the SetupParameters 'global' object.
global
- SetupParameters of the algorithm