Package org.opt4j.core
Interface IndividualSetListener
-
- All Known Implementing Classes:
ArchiveWidget
,ConstraintCheckerImpl
,PopulationWidget
,ScalingNsga2
public interface IndividualSetListener
TheIndividualSetListener
. Methods of this interface are invoked if anIndividual
is added to or removed from anIndividualSet
.- See Also:
IndividualSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
individualAdded
void individualAdded(IndividualSet collection, Individual individual)
Invoked if theIndividual
is added to theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the added individual
-
individualRemoved
void individualRemoved(IndividualSet collection, Individual individual)
Invoked if theIndividual
is removed from theIndividualSet
.- Parameters:
collection
- the observed collectionindividual
- the removed individual
-
-