Package org.aksw.deer.learning.genetic
Class Genotype
- java.lang.Object
-
- org.aksw.faraday_cage.engine.ExecutionGraph<org.apache.jena.rdf.model.Model>
-
- org.aksw.deer.learning.genetic.Genotype
-
- Direct Known Subclasses:
RandomGenotype
public class Genotype extends org.aksw.faraday_cage.engine.ExecutionGraph<org.apache.jena.rdf.model.Model>
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZEprotected TrainingDatatrainingData
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<EvaluationResult>getBestEvaluationResult()java.util.concurrent.CompletableFuture<EvaluationResult>getBestEvaluationResult(FitnessFunction f)doublegetBestFitness()java.util.List<org.apache.jena.rdf.model.Model>getInputModels(int i)java.util.List<java.lang.Integer>getInputs(int i)org.aksw.faraday_cage.engine.ExecutionNode<org.apache.jena.rdf.model.Model>getNode(int i)java.util.Collection<java.lang.Integer>getRelevantRows(int i)java.lang.StringtoString()
-
-
-
Field Detail
-
SIZE
public static int SIZE
-
trainingData
protected TrainingData trainingData
-
-
Constructor Detail
-
Genotype
protected Genotype()
-
Genotype
protected Genotype(int size)
-
Genotype
protected Genotype(TrainingData trainingData)
-
Genotype
public Genotype(Genotype other)
-
-
Method Detail
-
getNode
public org.aksw.faraday_cage.engine.ExecutionNode<org.apache.jena.rdf.model.Model> getNode(int i)
- Overrides:
getNodein classorg.aksw.faraday_cage.engine.ExecutionGraph<org.apache.jena.rdf.model.Model>
-
getBestEvaluationResult
public java.util.concurrent.CompletableFuture<EvaluationResult> getBestEvaluationResult()
-
getBestEvaluationResult
public java.util.concurrent.CompletableFuture<EvaluationResult> getBestEvaluationResult(FitnessFunction f)
-
getBestFitness
public double getBestFitness()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.aksw.faraday_cage.engine.ExecutionGraph<org.apache.jena.rdf.model.Model>
-
getInputs
public java.util.List<java.lang.Integer> getInputs(int i)
-
getInputModels
public java.util.List<org.apache.jena.rdf.model.Model> getInputModels(int i)
-
getRelevantRows
public java.util.Collection<java.lang.Integer> getRelevantRows(int i)
-
-