saealib.Individual¶
- class saealib.Individual(population, index)[source]¶
Bases:
Generic[T_Population]Individual class representing a single solution in the population.
- Parameters:
population (T_Population)
index (int)
- _popref¶
Weak reference to the parent population.
- Type:
weakref.ref
- _index¶
Index of the individual in the population.
- Type:
int
- _structure_version¶
Version number to track structure modifications.
- Type:
int
Methods
Retrieve the value of the specified key. |
|
Update value in place and bump the value version. |
Method Details