public class MetricCommand
extends org.jgap.gp.CommandGene
implements org.jgap.gp.IMutateable, org.jgap.util.ICloneable
| Constructor and Description |
|---|
MetricCommand(org.jgap.gp.impl.GPConfiguration config) |
MetricCommand(org.jgap.gp.impl.GPConfiguration config,
Class<?> returnType) |
| Modifier and Type | Method and Description |
|---|---|
org.jgap.gp.CommandGene |
applyMutation(int a_index,
double a_percentage) |
Object |
clone() |
LinkSpecification |
execute_object(org.jgap.gp.impl.ProgramChromosome a_chrom,
int a_n,
Object[] args) |
Class<?> |
getChildType(org.jgap.gp.IGPProgram a_ind,
int a_chromNum) |
String |
toString() |
check, check, cleanup, compareTo, dynamizeArity, ensureUniqueness, ensureUniqueness, ensureUniqueness2, equals, execute_boolean, execute_double, execute_float, execute_int, execute_long, execute_void, execute, getAllele, getApplicationData, getArity, getArityMax, getArityMin, 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 MetricCommand(org.jgap.gp.impl.GPConfiguration config)
throws org.jgap.InvalidConfigurationException
org.jgap.InvalidConfigurationExceptionpublic MetricCommand(org.jgap.gp.impl.GPConfiguration config,
Class<?> returnType)
throws org.jgap.InvalidConfigurationException
org.jgap.InvalidConfigurationExceptionpublic Class<?> getChildType(org.jgap.gp.IGPProgram a_ind, int a_chromNum)
getChildType in class org.jgap.gp.CommandGenepublic String toString()
toString in class org.jgap.gp.CommandGenepublic org.jgap.gp.CommandGene applyMutation(int a_index,
double a_percentage)
throws org.jgap.InvalidConfigurationException
applyMutation in interface org.jgap.gp.IMutateableorg.jgap.InvalidConfigurationExceptionpublic Object clone()
public LinkSpecification execute_object(org.jgap.gp.impl.ProgramChromosome a_chrom, int a_n, Object[] args)
execute_object in class org.jgap.gp.CommandGeneCopyright © 2018. All rights reserved.