owltools.gaf.inference
Class AbstractAnnotationPredictor

java.lang.Object
  extended by owltools.gaf.inference.AbstractAnnotationPredictor
All Implemented Interfaces:
AnnotationPredictor
Direct Known Subclasses:
BasicAnnotationPropagator, CompositionalClassPredictor

public abstract class AbstractAnnotationPredictor
extends Object
implements AnnotationPredictor

Author:
cjm

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
AbstractAnnotationPredictor(GafDocument gafDocument, OWLGraphWrapper graph)
           
 
Method Summary
 Set<Prediction> getAllPredictions()
           
 GafDocument getGafDocument()
           
 OWLGraphWrapper getGraph()
           
protected  void setAndFilterRedundantPredictions(Set<Prediction> predictions, Set<org.semanticweb.owlapi.model.OWLClass> aClasses)
          side-effects: removes redundant predictions
 void setGafDocument(GafDocument gafDocument)
           
 void setGraph(OWLGraphWrapper graph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface owltools.gaf.inference.AnnotationPredictor
predict
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

AbstractAnnotationPredictor

public AbstractAnnotationPredictor(GafDocument gafDocument,
                                   OWLGraphWrapper graph)
Method Detail

getGafDocument

public GafDocument getGafDocument()

setGafDocument

public void setGafDocument(GafDocument gafDocument)

getGraph

public OWLGraphWrapper getGraph()

setGraph

public void setGraph(OWLGraphWrapper graph)

setAndFilterRedundantPredictions

protected void setAndFilterRedundantPredictions(Set<Prediction> predictions,
                                                Set<org.semanticweb.owlapi.model.OWLClass> aClasses)
side-effects: removes redundant predictions

Parameters:
predictions -
aClasses -

getAllPredictions

public Set<Prediction> getAllPredictions()
Specified by:
getAllPredictions in interface AnnotationPredictor


Copyright © 2010-2012. All Rights Reserved.