Package org.aksw.deer.learning.genetic
Class Genotype
- java.lang.Object
-
- org.aksw.faraday_cage.engine.ExecutionGraph<Model>
-
- org.aksw.deer.learning.genetic.Genotype
-
- Direct Known Subclasses:
RandomGenotype
public class Genotype extends ExecutionGraph<Model>
-
-
Field Summary
Fields Modifier and Type Field Description static intSIZEprotected TrainingDatatrainingData-
Fields inherited from class org.aksw.faraday_cage.engine.ExecutionGraph
entries, ops
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<EvaluationResult>getBestEvaluationResult()java.util.concurrent.CompletableFuture<EvaluationResult>getBestEvaluationResult(FitnessFunction f)doublegetBestFitness()java.util.List<Model>getInputModels(int i)java.util.List<java.lang.Integer>getInputs(int i)ExecutionNode<Model>getNode(int i)java.util.Collection<java.lang.Integer>getRelevantRows(int i)java.lang.StringtoString()-
Methods inherited from class org.aksw.faraday_cage.engine.ExecutionGraph
addRow, getRow, getSize
-
-
-
-
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 ExecutionNode<Model> getNode(int i)
- Overrides:
getNodein classExecutionGraph<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 classExecutionGraph<Model>
-
getInputs
public java.util.List<java.lang.Integer> getInputs(int i)
-
getInputModels
public java.util.List<Model> getInputModels(int i)
-
getRelevantRows
public java.util.Collection<java.lang.Integer> getRelevantRows(int i)
-
-