Class StringPropertyPair
- java.lang.Object
-
- org.jgap.gp.CommandGene
-
- org.aksw.limes.core.ml.algorithm.eagle.genes.StringPropertyPair
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,org.jgap.gp.IMutateable,org.jgap.util.ICloneable
public class StringPropertyPair extends org.jgap.gp.CommandGene implements org.jgap.gp.IMutateable, org.jgap.util.ICloneableClass to evolve properties as Pairs.- Version:
- Jul 21, 2016
- Author:
- Klaus Lyko, Mohamed Sherif (sherif@informatik.uni-leipzig.de)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringPropertyPair(LinkSpecGeneticLearnerConfig a_conf, Class<?> a_returnType, int a_subReturnType, boolean a_mutateable, int propPairIndex)StringPropertyPair(LinkSpecGeneticLearnerConfig a_conf, Class<?> a_returnType, int a_subReturnType, int propPairIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jgap.gp.CommandGeneapplyMutation(int arg0, double arg1)org.jgap.gp.CommandGeneclone()Objectexecute_object(org.jgap.gp.impl.ProgramChromosome a_chrom, int a_n, Object[] args)voidexecute_void(org.jgap.gp.impl.ProgramChromosome a_chrom, int a_n, Object[] args)StringtoString()-
Methods inherited from class org.jgap.gp.CommandGene
check, check, cleanup, compareTo, dynamizeArity, ensureUniqueness, ensureUniqueness, ensureUniqueness2, equals, execute, execute_boolean, execute_double, execute_float, execute_int, execute_long, 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, size
-
-
-
-
Constructor Detail
-
StringPropertyPair
public StringPropertyPair(LinkSpecGeneticLearnerConfig a_conf, Class<?> a_returnType, int a_subReturnType, boolean a_mutateable, int propPairIndex) throws org.jgap.InvalidConfigurationException
- Throws:
org.jgap.InvalidConfigurationException
-
StringPropertyPair
public StringPropertyPair(LinkSpecGeneticLearnerConfig a_conf, Class<?> a_returnType, int a_subReturnType, int propPairIndex) throws org.jgap.InvalidConfigurationException
- Throws:
org.jgap.InvalidConfigurationException
-
-
Method Detail
-
toString
public String toString()
- Specified by:
toStringin classorg.jgap.gp.CommandGene
-
applyMutation
public org.jgap.gp.CommandGene applyMutation(int arg0, double arg1) throws org.jgap.InvalidConfigurationException- Specified by:
applyMutationin interfaceorg.jgap.gp.IMutateable- Throws:
org.jgap.InvalidConfigurationException
-
clone
public org.jgap.gp.CommandGene clone()
-
execute_void
public void execute_void(org.jgap.gp.impl.ProgramChromosome a_chrom, int a_n, Object[] args)- Overrides:
execute_voidin classorg.jgap.gp.CommandGene
-
-