| Package | Description |
|---|---|
| org.opt4j.common.archive |
Provides different implementations for the
Archive. |
| org.opt4j.common.completer |
Provides the classes for the
IndividualCompleters. |
| org.opt4j.common.logger |
Provides the classes for the data loggers.
|
| org.opt4j.core |
Provides the classes that join the problem and optimizer.
|
| org.opt4j.core.domination | |
| org.opt4j.core.optimizer |
Provides the classes for the optimizer.
|
| org.opt4j.operator.mutate |
Provides the classes for the mutate operator for genotypes.
|
| org.opt4j.optimizer.ea |
Provides the classes for a (Multi-Objective) Evolutionary Algorithm (MOEA).
|
| org.opt4j.optimizer.mopso |
Provides the classes for the multi-objective particle swarm optimizer
MOPSO. |
| org.opt4j.viewer |
Provides the classes for the optimization visualization, i.e., the
Viewer. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundedArchive.addCheckedIndividual(Individual individual) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundedArchive.addCheckedIndividuals(Collection<? extends Individual> c) |
boolean |
AbstractArchive.update(Set<? extends Individual> individuals) |
boolean |
PopulationArchive.update(Set<? extends Individual> individuals) |
| Modifier and Type | Method and Description |
|---|---|
void |
SequentialIndividualCompleter.complete(Individual... individuals) |
| Modifier and Type | Method and Description |
|---|---|
void |
ParallelIndividualCompleter.complete(Iterable<? extends Individual> iterable) |
void |
SequentialIndividualCompleter.complete(Iterable<? extends Individual> iterable) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLogger.inidividualStateChanged(Individual individual) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIndividualFactory<I extends Individual>
The
AbstractIndividualFactory creates Individuals using a
given Provider and sets the registered
IndividualStateListeners. |
| Modifier and Type | Method and Description |
|---|---|
Individual |
AbstractIndividualFactory.create() |
Individual |
IndividualFactory.create()
Creates a new
Individual. |
Individual |
AbstractIndividualFactory.create(Genotype genotype) |
Individual |
IndividualFactory.create(Genotype genotype)
Creates a new
Individual with a specified Genotype. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Individual> |
IndividualSet.iterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndividualSet.add(Individual individual) |
boolean |
IndividualSet.addAll(Individual... c)
Add all
Individuals. |
void |
IndividualSetListener.individualAdded(IndividualSet collection,
Individual individual)
Invoked if the
Individual is added to the IndividualSet. |
void |
IndividualSetListener.individualRemoved(IndividualSet collection,
Individual individual)
Invoked if the
Individual is removed from the
IndividualSet. |
void |
IndividualStateListener.inidividualStateChanged(Individual individual)
Invoked if the
Individual changes its state. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndividualSet.addAll(Collection<? extends Individual> c) |
| Constructor and Description |
|---|
DefaultIndividualFactory(com.google.inject.Provider<Individual> individualProvider,
Creator creator)
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConstraintCheckerImpl.individualAdded(IndividualSet collection,
Individual individual) |
void |
ConstraintCheckerImpl.individualRemoved(IndividualSet collection,
Individual individual) |
void |
ConstraintCheckerImpl.inidividualStateChanged(Individual individual) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Archive.add(Individual individual)
Deprecated.
|
boolean |
Archive.addAll(Individual... c)
Deprecated.
|
void |
IndividualCompleter.complete(Individual... individuals)
Decodes and evaluates all given
Individuals if they are not
already evaluated. |
boolean |
Archive.update(Individual individual)
Updates the archive with a single individual.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Archive.addAll(Collection<? extends Individual> c)
Deprecated.
|
void |
IndividualCompleter.complete(Iterable<? extends Individual> iterable)
Decodes and evaluates all
Individuals in the Iterable if
they are not already evaluated. |
abstract boolean |
Archive.update(Set<? extends Individual> individuals)
Updates the archive with a set of individuals.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AdaptiveMutationRate.inidividualStateChanged(Individual individual) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Individual>> |
Nsga2.fronts(Collection<Individual> individuals)
Evaluate the fronts and set the correspondent rank values.
|
Collection<Pair<Individual>> |
Coupler.getCouples(int size,
List<Individual> parents)
Returns a list of
Individual-groups (couples) that are designated
to create offspring. |
Collection<Pair<Individual>> |
CouplerDefault.getCouples(int size,
List<Individual> parents) |
Collection<Pair<Individual>> |
CouplerRandom.getCouples(int size,
List<Individual> parents) |
Collection<Pair<Individual>> |
CouplerUnique.getCouples(int size,
List<Individual> parents) |
Map<Individual,Double> |
Crowding.getDensityValues(Collection<Individual> individuals) |
Map<Individual,Double> |
FrontDensityIndicator.getDensityValues(Collection<Individual> individuals)
Returns the density values for a collection on
Individuals. |
Map<Individual,Double> |
Hypervolume.getDensityValues(Collection<Individual> individuals) |
Collection<Individual> |
AlternativeNsga2.getLames(int n,
Collection<Individual> population)
Deprecated.
|
Collection<Individual> |
ElitismSelector.getLames(int lambda,
Collection<Individual> population) |
Collection<Individual> |
Nsga2.getLames(int n,
Collection<Individual> population) |
Collection<Individual> |
Selector.getLames(int lambda,
Collection<Individual> population)
|
Collection<Individual> |
Spea2.getLames(int lambda,
Collection<Individual> population) |
Collection<Individual> |
Spea2.getLamesFromNonDominated(int count)
Returns a specific number of lames from the non-dominated
Individuals. |
Collection<Individual> |
Mating.getOffspring(int size,
Collection<Individual> parents)
Creates offspring from a given set of parents.
|
Collection<Individual> |
MatingCrossoverMutate.getOffspring(int size,
Collection<Individual> parents) |
Collection<Individual> |
Mating.getOffspring(int size,
Individual... parents)
Creates offspring from a given set of parents.
|
Collection<Individual> |
MatingCrossoverMutate.getOffspring(int size,
Individual... parents) |
Collection<Individual> |
AlternativeNsga2.getParents(int mu,
Collection<Individual> population)
Deprecated.
|
Collection<Individual> |
ElitismSelector.getParents(int mu,
Collection<Individual> population) |
Collection<Individual> |
Nsga2.getParents(int mu,
Collection<Individual> population) |
Collection<Individual> |
Selector.getParents(int mu,
Collection<Individual> population)
Selects a subset of
Individuals and returns it as a new
Collection. |
Collection<Individual> |
Spea2.getParents(int mu,
Collection<Individual> population) |
List<Individual> |
Crowding.order(Map<Individual,Double> values)
Returns an ordered list of the
Individuals corresponding to their
crowding distance. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Individual> |
Mating.getOffspring(int size,
Individual... parents)
Creates offspring from a given set of parents.
|
Collection<Individual> |
MatingCrossoverMutate.getOffspring(int size,
Individual... parents) |
void |
ScalingNsga2.individualAdded(IndividualSet collection,
Individual individual) |
void |
ScalingNsga2.individualRemoved(IndividualSet collection,
Individual individual) |
void |
Normalizer.inidividualStateChanged(Individual individual) |
void |
ScalingNsga2.inidividualStateChanged(Individual individual) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Individual>> |
Nsga2.fronts(Collection<Individual> individuals)
Evaluate the fronts and set the correspondent rank values.
|
Collection<Pair<Individual>> |
Coupler.getCouples(int size,
List<Individual> parents)
Returns a list of
Individual-groups (couples) that are designated
to create offspring. |
Collection<Pair<Individual>> |
CouplerDefault.getCouples(int size,
List<Individual> parents) |
Collection<Pair<Individual>> |
CouplerRandom.getCouples(int size,
List<Individual> parents) |
Collection<Pair<Individual>> |
CouplerUnique.getCouples(int size,
List<Individual> parents) |
Map<Individual,Double> |
Crowding.getDensityValues(Collection<Individual> individuals) |
Map<Individual,Double> |
FrontDensityIndicator.getDensityValues(Collection<Individual> individuals)
Returns the density values for a collection on
Individuals. |
Map<Individual,Double> |
Hypervolume.getDensityValues(Collection<Individual> individuals) |
Collection<Individual> |
AlternativeNsga2.getLames(int n,
Collection<Individual> population)
Deprecated.
|
Collection<Individual> |
ElitismSelector.getLames(int lambda,
Collection<Individual> population) |
Collection<Individual> |
Nsga2.getLames(int n,
Collection<Individual> population) |
Collection<Individual> |
Selector.getLames(int lambda,
Collection<Individual> population)
|
Collection<Individual> |
Spea2.getLames(int lambda,
Collection<Individual> population) |
Collection<Individual> |
Mating.getOffspring(int size,
Collection<Individual> parents)
Creates offspring from a given set of parents.
|
Collection<Individual> |
MatingCrossoverMutate.getOffspring(int size,
Collection<Individual> parents) |
Collection<Individual> |
AlternativeNsga2.getParents(int mu,
Collection<Individual> population)
Deprecated.
|
Collection<Individual> |
ElitismSelector.getParents(int mu,
Collection<Individual> population) |
Collection<Individual> |
Nsga2.getParents(int mu,
Collection<Individual> population) |
Collection<Individual> |
Selector.getParents(int mu,
Collection<Individual> population)
Selects a subset of
Individuals and returns it as a new
Collection. |
Collection<Individual> |
Spea2.getParents(int mu,
Collection<Individual> population) |
List<Individual> |
Crowding.order(Map<Individual,Double> values)
Returns an ordered list of the
Individuals corresponding to their
crowding distance. |
| Modifier and Type | Class and Description |
|---|---|
class |
Particle
The
Particle extends the Individual by an id, a velocity
Genotype, a personal best Genotype and the corresponding best
Objectives. |
| Modifier and Type | Method and Description |
|---|---|
void |
ArchiveWidget.individualAdded(IndividualSet collection,
Individual individual) |
void |
PopulationWidget.individualAdded(IndividualSet collection,
Individual individual) |
void |
ArchiveWidget.individualRemoved(IndividualSet collection,
Individual individual) |
void |
PopulationWidget.individualRemoved(IndividualSet collection,
Individual individual) |
void |
ObjectivesMonitor.inidividualStateChanged(Individual individual) |
void |
PopulationWidget.inidividualStateChanged(Individual individual) |
void |
IndividualMouseListener.onDoubleClick(Individual individual,
Component component,
Point p)
Invoked if an
Individual is selected by a double click. |
void |
IndividualMouseListener.onPopup(Individual individual,
Component component,
Point p,
JPopupMenu menu)
Invoked if an
Individual is selected by a popup (usually
with a right click of the mouse). |