public class AtomicPreprocessingCommand
extends org.jgap.gp.CommandGene
implements org.jgap.gp.IMutateable, org.jgap.util.ICloneable
| Modifier and Type | Field and Description |
|---|---|
Set<String> |
functions |
| Constructor and Description |
|---|
AtomicPreprocessingCommand(String command,
org.jgap.gp.impl.GPConfiguration a_conf) |
| Modifier and Type | Method and Description |
|---|---|
org.jgap.gp.CommandGene |
applyMutation()
Mutates this CommandGene.
|
org.jgap.gp.CommandGene |
applyMutation(int a_index,
double a_percentage) |
Object |
clone()
Clones the object.
|
Object |
execute_object(org.jgap.gp.impl.ProgramChromosome a_chrom,
int a_n,
Object[] args) |
void |
execute_void(org.jgap.gp.impl.ProgramChromosome a_chrom,
int a_n,
Object[] args) |
String |
toString() |
check, check, cleanup, compareTo, dynamizeArity, ensureUniqueness, ensureUniqueness, ensureUniqueness2, equals, execute_boolean, execute_double, execute_float, execute_int, execute_long, execute, getAllele, getApplicationData, getArity, getArityMax, getArityMin, getChildType, getCommandType, getEnergy, getGPConfiguration, getInternalValue, getName, getPersistentRepresentation, getPersistentRepresentationExt, getReturnType, getSubChildType, getSubChildTypes, getSubReturnType, hashCode, init, isAffectGlobalState, isCompareApplicationData, isFloatType, isIntegerType, isValid, isValid, setAllele, setApplicationData, setArity, setArityMax, setArityMin, setCompareApplicationData, setEnergy, setNoValidation, setReturnType, setToRandomValue, setValueFromPersistentRepresentation, setValueFromString, sizepublic AtomicPreprocessingCommand(String command, org.jgap.gp.impl.GPConfiguration a_conf) throws org.jgap.InvalidConfigurationException
org.jgap.InvalidConfigurationExceptionpublic org.jgap.gp.CommandGene applyMutation(int a_index,
double a_percentage)
throws org.jgap.InvalidConfigurationException
applyMutation in interface org.jgap.gp.IMutateableorg.jgap.InvalidConfigurationExceptionpublic org.jgap.gp.CommandGene applyMutation()
throws org.jgap.InvalidConfigurationException
org.jgap.InvalidConfigurationException - when an invalid value has been passed to a Configuration objectpublic Object clone()
public String toString()
toString in class org.jgap.gp.CommandGenepublic Object execute_object(org.jgap.gp.impl.ProgramChromosome a_chrom, int a_n, Object[] args)
execute_object in class org.jgap.gp.CommandGenepublic void execute_void(org.jgap.gp.impl.ProgramChromosome a_chrom,
int a_n,
Object[] args)
execute_void in class org.jgap.gp.CommandGeneCopyright © 2018. All rights reserved.