| Package | Description |
|---|---|
| com.github.chen0040.gp.lgp.gp | |
| com.github.chen0040.gp.lgp.helpers | |
| com.github.chen0040.gp.lgp.program | |
| com.github.chen0040.gp.services | |
| com.github.chen0040.gp.utils |
| Modifier and Type | Method and Description |
|---|---|
static void |
Crossover.apply(Program program1,
Program program2,
LGP manager,
RandEngine randEngine) |
static Program |
Replacement.compete(List<Program> programs,
Program current,
Program candidate,
LGP manager,
RandEngine randEngine) |
static void |
PopulationInitialization.initialize(List<Program> programs,
LGP manager,
RandEngine randEngine) |
static void |
MicroMutation.mutate(Program program,
LGP manager,
RandEngine randEngine) |
static void |
MacroMutation.mutate(Program child,
LGP manager,
RandEngine randEngine) |
| Constructor and Description |
|---|
Population(LGP manager,
RandEngine randEngine) |
| Modifier and Type | Method and Description |
|---|---|
static void |
InstructionHelper.initialize(Instruction instruction,
Program program,
RandEngine randEngine) |
static void |
InstructionHelper.mutateConstant(Instruction instruction,
RandEngine randEngine,
double sd) |
static void |
InstructionHelper.mutateOperator(Program program,
Instruction instruction,
RandEngine randEngine) |
static void |
InstructionHelper.mutateRegister(Program program,
Instruction instruction,
RandEngine randEngine) |
static void |
InstructionHelper.mutateRegister(Program program,
Instruction instruction,
RandEngine randEngine,
double p_const) |
| Modifier and Type | Method and Description |
|---|---|
T |
EntityContainer.any(RandEngine randEngine) |
T |
EntityContainer.anyOther(T excluded,
RandEngine rand) |
void |
Register.mutate(RandEngine randomEngine,
double sd) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleRandEngine
Created by xschen on 28/4/2017.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
TournamentSelection.select(List<T> population,
RandEngine randEngine) |
static <T> void |
CollectionUtils.shuffle(List<T> a,
RandEngine randEngine) |
Copyright © 2017. All rights reserved.