Skip to content

Commit

Permalink
#566: Sorting 'Engine' parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenetics committed Jan 24, 2020
1 parent 4ebf55b commit 7fbcbca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenetics/src/main/java/io/jenetics/engine/Engine.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ public final class Engine<
// Problem definition.
private final Evaluator<G, C> _evaluator;
private final Factory<Genotype<G>> _genotypeFactory;
private final Constraint<G, C> _constraint;
private final Optimize _optimize;

// Evolution parameters.
private final Selector<G, C> _survivorsSelector;
private final Selector<G, C> _offspringSelector;
private final Alterer<G, C> _alterer;
private final Optimize _optimize;
private final int _offspringCount;
private final int _survivorsCount;
private final long _maximalPhenotypeAge;
Expand All @@ -142,7 +143,6 @@ public final class Engine<
private final Clock _clock;

// Additional parameters.
private final Constraint<G, C> _constraint;
private final UnaryOperator<EvolutionResult<G, C>> _mapper;


Expand Down Expand Up @@ -692,7 +692,7 @@ Builder<G, C> builder(


/* *************************************************************************
* Inner classes
* Engine builder
**************************************************************************/


Expand Down

0 comments on commit 7fbcbca

Please sign in to comment.