owltools.gaf.inference
Class AbstractAnnotationPredictor
java.lang.Object
owltools.gaf.inference.AbstractAnnotationPredictor
- All Implemented Interfaces:
- AnnotationPredictor
- Direct Known Subclasses:
- BasicAnnotationPropagator, CompositionalClassPredictor, FoldBasedPredictor
public abstract class AbstractAnnotationPredictor
- extends Object
- implements AnnotationPredictor
- Author:
- cjm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationPredictor
public AbstractAnnotationPredictor(GafDocument gafDocument,
OWLGraphWrapper graph)
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 over all relationships
- Parameters:
predictions
- aClasses
-
setAndFilterRedundantPredictions
protected void setAndFilterRedundantPredictions(Set<Prediction> predictions,
Set<org.semanticweb.owlapi.model.OWLClass> aClasses,
Set<org.semanticweb.owlapi.model.OWLPropertyExpression> overProps)
- side-effects: removes redundant predictions over a set of relationships.
If overProps set is empty, only the subClassOf hierarchy is used, if it's
null all relationships are used.
- Parameters:
predictions
- aClasses
- overProps
-
predict
public List<Prediction> predict(String bioentity)
- Specified by:
predict
in interface AnnotationPredictor
getAllPredictions
public List<Prediction> getAllPredictions()
- Specified by:
getAllPredictions
in interface AnnotationPredictor
dispose
public void dispose()
- Specified by:
dispose
in interface AnnotationPredictor
Copyright © 2010-2014. All Rights Reserved.