public class LinkSpecGeneticLearnerConfig
extends org.jgap.gp.impl.GPConfiguration
| Modifier and Type | Field and Description |
|---|---|
ACache |
sC |
KBInfo |
source |
KBInfo |
target |
ACache |
tC |
PROPERTY_BFITFNC_INST, PROPERTY_EVENT_MGR_INST, PROPERTY_FITEVAL_INST, PROPERTY_FITFUNC_INST, PROPERTY_JGAPFACTORY_CLASS, PROPERTY_SAMPLE_CHROM_INST, S_CHROMOSOME_SIZE, S_CONFIGURATION, S_CONFIGURATION_HANDLER, S_CONFIGURATION_NAME, S_EVENT_MANAGER, S_FITNESS_EVALUATOR, S_FITNESS_FUNCTION, S_GENETIC_OPERATORS, S_MINPOPSIZE, S_NATURAL_SELECTORS, S_NONE, S_POPULATION_SIZE, S_POST, S_PRE, S_RANDOM_GENERATOR, S_SAMPLE_CHROM, S_SIZE, S_TOSTRING| Constructor and Description |
|---|
LinkSpecGeneticLearnerConfig(KBInfo KBIsource,
KBInfo KBItarget,
PropertyMapping propMapping)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionProperty(String discriminant,
int id)
Function to retrieve properties of the Linked Data sources dubbed source and target
completed with the specified variable of the knowledge base to comply with the limes dtd.
|
String |
getExpressionProperty(String discriminant,
String propName) |
PropertyMapping |
getPropertyMapping() |
String |
getPropertyName(String discriminant,
int id)
Little helper function to retrieve plane property names.
|
boolean |
hasDateProperties()
Do we have to consider date properties?
|
boolean |
hasNumericProperties()
Do we have to consider numeric properties?
|
boolean |
hasPointSetProperties()
Do we have to consider pointset properties?
|
boolean |
isPropertyMatch(int sourceIndex,
int targetIndex) |
protected boolean |
redundantCommands()
In case we don't want to.
|
void |
setPropertyMapping(PropertyMapping propMap) |
addGeneticOperator, clearMemory, clearStack, clone, compareTo, createMatrix, equals, flagMaxNodeWarningPrinted, getCrossMethod, getCrossoverProb, getDynamizeArityProb, getFunctionProb, getGPFitnessEvaluator, getGPFitnessFunction, getInitStrategy, getJGAPFactory, getMatrix, getMaxCrossoverDepth, getMaxInitDepth, getMemorySize, getMinInitDepth, getMutationProb, getNewChromsPercent, getNodeValidator, getProgramCreationMaxtries, getPrototypeProgram, getReproductionProb, getSelectionMethod, getVariable, init, isMaxNodeWarningPrinted, isNoCommandGeneCloning, isStrictProgramCreation, isUseProgramCache, isVerifyPrograms, newInstanceGP, peekStack, popFromStack, pushToStack, putToProgramCache, putVariable, readFromMemory, readFromMemoryIfExists, readIndexedMemory, readMatrix, readMatrixMemory, readProgramCache, resetMatrix, setCrossoverMethod, setCrossoverProb, setDynamizeArityProb, setFitnessEvaluator, setFitnessFunction, setFunctionProb, setGPFitnessEvaluator, setInitStrategy, setMatrix, setMaxCrossoverDepth, setMaxInitDepth, setMinInitDepth, setMutationProb, setNewChromsPercent, setNoCommandGeneCloning, setNodeValidator, setProgramCreationMaxTries, setPrototypeProgram, setReproductionProb, setSelectionMethod, setStrictProgramCreation, setUseProgramCache, setVerifyPrograms, stackSize, storeIndexedMemory, storeInMemory, storeMatrixMemory, validateNode, verifyStateIsValidaddNaturalSelector, checkProperty, doClone, getBreeder, getBulkFitnessFunction, getChromosomePool, getChromosomeSize, getConfigurationHandler, getEventManager, getFitnessEvaluator, getFitnessFunction, getGenerationNr, getGeneticOperators, getId, getMinimumPopSizePercent, getName, getNaturalSelector, getNaturalSelector, getNaturalSelectors, getNaturalSelectorsSize, getPopulationSize, getRandomGenerator, getSampleChromosome, getSelectFromPrevGen, getThreadKey, incrementGenerationNr, isAlwaysCalculateFitness, isKeepPopulationSizeConstant, isLocked, isPreserveFittestIndividual, lockSettings, makeKey, makeThreadKey, newInstance, removeNaturalSelectors, reset, reset, resetProperty, resetProperty, setAlwaysCaculateFitness, setBreeder, setBulkFitnessFunction, setChromosomePool, setEventManager, setFitnessEvaluator, setFitnessFunction, setId, setJGAPFactory, setKeepPopulationSizeConstant, setMinimumPopSizePercent, setName, setNaturalSelector, setPopulationSize, setPreservFittestIndividual, setRandomGenerator, setSampleChromosome, setSelectFromPrevGen, toString, verifyChangesAllowedpublic KBInfo source
public KBInfo target
public ACache sC
public ACache tC
public LinkSpecGeneticLearnerConfig(KBInfo KBIsource, KBInfo KBItarget, PropertyMapping propMapping) throws org.jgap.InvalidConfigurationException
KBIsource - Specifies the source knowledge base.KBItarget - Specifies the target knowledge base.propMapping - A Mapping of Properties of both source and target.org.jgap.InvalidConfigurationException - when an invalid value has been passed to a Configuration objectpublic String getPropertyName(String discriminant, int id)
id - Number of the property in the property List.discriminant - String to differ between the two Linked Data Sources dubbed "source" and "target".public String getExpressionProperty(String discriminant, int id)
discriminant - String "source" or "target" to differ between the both knowledge bases.id - Number of the property in the properties list in the according KBInfo.public boolean hasNumericProperties()
public boolean hasDateProperties()
public boolean hasPointSetProperties()
protected boolean redundantCommands()
public boolean isPropertyMatch(int sourceIndex,
int targetIndex)
public PropertyMapping getPropertyMapping()
public void setPropertyMapping(PropertyMapping propMap)
Copyright © 2020. All rights reserved.