ecr2.1.1 package

Evolutionary Computation in R

approximateRefSets

Helper function to estimate reference set(s).

asemoa

Implementation of the NSGA-II EMOA algorithm by Deb.

categorize

Assign group membership based on another group membership.

computeAverageHausdorffDistance

Average Hausdorff Distance computation.

computeCrowdingDistance

Compute the crowding distance of a set of points.

computeDistanceFromPointToSetOfPoints

Computes distance between a single point and set of points.

addUnionGroup

Grouping helpers

approximateRefPoints

Helper function to estimate reference points.

computeDominanceRanking

Ranking of approximation sets.

computeGenerationalDistance

Computes Generational Distance.

computeIndicators

Computation of EMOA performance indicators.

computeInvertedGenerationalDistance

Computes Inverted Generational Distance.

dominated

Check for pareto dominance.

dominated_hypervolume

Functions for the calculation of the dominated hypervolume (contributi...

dominates

Dominance relation check.

doNondominatedSorting

Fast non-dominated sorting algorithm.

ecr

Interface to ecr similar to the optim function.

ecr_parallelization

Parallelization in ecr

ecr_result

Result object.

emoa_indicators

EMOA performance indicators

evaluateFitness

Computes the fitness value(s) for each individual of a given set.

explode

Explode/implode data frame column(s).

filterDuplicated

Filter approximation sets by duplicate objective vectors.

generateOffspring

Helper functions for offspring generation

generatesMultipleChildren

Does the recombinator generate multiple children?

generators

Population generators

getFront

Extract fitness values from Pareto archive.

getIndividuals

Extract individuals from Pareto archive.

getNumberOfChildren

Number of children

getNumberOfParentsNeededForMating

Number of parents needed for mating

getPopulationFitness

Access to logged population fitness.

getPopulations

Access to logged populations.

getSize

Get size of Pareto-archive.

getStatistics

Access the logged statistics.

getSupportedRepresentations

Get supported representations.

initECRControl

Control object generator.

initLogger

Initialize a log object.

initParetoArchive

Initialize Pareto Archive.

initPopulation

Helper function to build initial population.

is.supported

Check if ecr operator supports given representation.

isEcrOperator

Check if given function is an ecr operator.

makeECRMonitor

Factory method for monitor objects.

makeEMOAIndicator

Constructor for EMOA indicators.

makeMutator

Construct a mutation operator.

makeOperator

Construct evolutionary operator.

makeOptimizationTask

Creates an optimization task.

makeRecombinator

Construct a recombination operator.

makeSelector

Construct a selection operator.

makeTerminator

Generate stopping condition.

mutBitflip

Bitplip mutator.

mutGauss

Gaussian mutator.

mutInsertion

Insertion mutator.

mutInversion

Inversion mutator.

mutJump

Jump mutator.

mutPolynomial

Polynomial mutation.

mutScramble

Scramble mutator.

mutSwap

Swap mutator.

mutUniform

Uniform mutator.

niceCellFormater

Formatter for table cells of LaTeX tables.

normalize

Normalize approximations set(s).

nsga2

Implementation of the NSGA-II EMOA algorithm by Deb.

plotDistribution

Plot distribution of EMOA indicators.

plotFront

Draw scatterplot of Pareto-front approximation

plotHeatmap

Plot heatmap.

plotScatter2d

Visualize bi-objective Pareto-front approximations.

plotScatter3d

Visualize three-objective Pareto-front approximations.

plotStatistics

Generate line plot of logged statistics.

recCrossover

One-point crossover recombinator.

recIntermediate

Indermediate recombinator.

recOX

Ordered-Crossover (OX) recombinator.

recPMX

Partially-Mapped-Crossover (PMX) recombinator.

recSBX

Simulated Binary Crossover (SBX) recombinator.

recUnifCrossover

Uniform crossover recombinator.

reduceToSingleDataFrame

Combine multiple data frames into a single data.frame.

reference_point_approximation

Reference point approximations.

registerECROperator

Register operators to control object.

replace

(mu + lambda) selection

selDomHV

Dominated Hypervolume selector.

select

Select individuals.

selGreedy

Simple selector.

selNondom

Non-dominated sorting selector.

selRanking

Rank Selection Operator

selRoulette

Roulette-wheel / fitness-proportional selector.

selSimple

Simple (naive) selector.

selTournament

k-Tournament selector.

setDominates

Check if one set is better than another.

setup

Set up parameters for evolutionary operator.

setupECRDefaultMonitor

Default monitor.

smsemoa

Implementation of the SMS-EMOA by Emmerich et al.

sortByObjective

Sort Pareto-front approximation by objective.

stoppingConditions

Stopping conditions

toGG

Transform to long format.

toLatex

Export results of statistical tests to LaTeX table(s).

toParetoDf

Convert matrix to Pareto front data frame.

transformFitness

Fitness transformation / scaling.

updateLogger

Update the log.

updateParetoArchive

Update Pareto Archive.

which.dominated

Determine which points of a set are (non)dominated.

wrapChildren

Wrap the individuals constructed by a recombination operator.

Framework for building evolutionary algorithms for both single- and multi-objective continuous or discrete optimization problems. A set of predefined evolutionary building blocks and operators is included. Moreover, the user can easily set up custom objective functions, operators, building blocks and representations sticking to few conventions. The package allows both a black-box approach for standard tasks (plug-and-play style) and a much more flexible white-box approach where the evolutionary cycle is written by hand.

  • Maintainer: Jakob Bossek
  • License: GPL-3
  • Last published: 2023-03-08