Class 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 int SIZE  
      protected TrainingData trainingData  
      • Fields inherited from class org.aksw.faraday_cage.engine.ExecutionGraph

        entries, ops
    • Method Summary

      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<EvaluationResult> getBestEvaluationResult()  
      java.util.concurrent.CompletableFuture<EvaluationResult> getBestEvaluationResult​(FitnessFunction f)  
      double getBestFitness()  
      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.String toString()  
      • Methods inherited from class org.aksw.faraday_cage.engine.ExecutionGraph

        addRow, getRow, getSize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • SIZE

        public static int SIZE
    • 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:
        getNode in class org.aksw.faraday_cage.engine.ExecutionGraph<org.apache.jena.rdf.model.Model>
      • getBestEvaluationResult

        public java.util.concurrent.CompletableFuture<EvaluationResult> getBestEvaluationResult()
      • getBestFitness

        public double getBestFitness()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.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)