org.dllearner.algorithms.hybridgp
Class Psi

java.lang.Object
  extended by org.dllearner.algorithms.hybridgp.Psi
All Implemented Interfaces:
GeneticRefinementOperator

public class Psi
extends Object
implements GeneticRefinementOperator


Field Summary
 SortedMap<Description,ScorePosNeg> evalCache
           
 SortedMap<Description,Set<Description>> pdCache
           
 SortedMap<Description,Set<Description>> puCache
           
 long someTime
           
 
Constructor Summary
Psi(PosNegLP learningProblem, AbstractReasonerComponent reasoningService)
           
 
Method Summary
 Program applyOperator(Program program)
           
 Description applyPsi(Description concept, int coveredPositives, int coveredNegatives)
           
 int getCacheSize()
           
 int getConceptCacheHits()
           
 int getNrOfRequests()
           
 SortedMap<Description,Set<Description>> getPdCache()
           
 int getPdCacheHits()
           
 long getPdRequests()
           
 long getPsiApplicationTimeNs()
           
 long getPsiReasoningTimeNs()
           
 SortedMap<Description,Set<Description>> getPuCache()
           
 int getPuCacheHits()
           
 long getPuRequests()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

evalCache

public SortedMap<Description,ScorePosNeg> evalCache

pdCache

public SortedMap<Description,Set<Description>> pdCache

puCache

public SortedMap<Description,Set<Description>> puCache

someTime

public long someTime
Constructor Detail

Psi

public Psi(PosNegLP learningProblem,
           AbstractReasonerComponent reasoningService)
Method Detail

applyPsi

public Description applyPsi(Description concept,
                            int coveredPositives,
                            int coveredNegatives)

applyOperator

public Program applyOperator(Program program)
Specified by:
applyOperator in interface GeneticRefinementOperator

getCacheSize

public int getCacheSize()

getConceptCacheHits

public int getConceptCacheHits()

getNrOfRequests

public int getNrOfRequests()

getPsiApplicationTimeNs

public long getPsiApplicationTimeNs()

getPsiReasoningTimeNs

public long getPsiReasoningTimeNs()

getPdCacheHits

public int getPdCacheHits()

getPuCacheHits

public int getPuCacheHits()

getPdRequests

public long getPdRequests()

getPuRequests

public long getPuRequests()

getPdCache

public SortedMap<Description,Set<Description>> getPdCache()

getPuCache

public SortedMap<Description,Set<Description>> getPuCache()


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann