Package org.opt4j.core
Interface IndividualSetListener
- All Known Implementing Classes:
ArchiveWidget
,ConstraintCheckerImpl
,PopulationWidget
,ScalingNsga2
public interface IndividualSetListener
The
IndividualSetListener
. Methods of this interface are invoked if
an Individual
is added to or removed from an IndividualSet
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
individualAdded
(IndividualSet collection, Individual individual) Invoked if theIndividual
is added to theIndividualSet
.void
individualRemoved
(IndividualSet collection, Individual individual) Invoked if theIndividual
is removed from theIndividualSet
.
-
Method Details
-
individualAdded
Invoked if theIndividual
is added to theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the added individual
-
individualRemoved
Invoked if theIndividual
is removed from theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the removed individual
-