public abstract class AbstractAnnotationPredictor extends Object implements AnnotationPredictor
Constructor and Description |
---|
AbstractAnnotationPredictor(GafDocument gafDocument,
OWLGraphWrapper graph) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
List<Prediction> |
getAllPredictions() |
GafDocument |
getGafDocument() |
OWLGraphWrapper |
getGraph() |
List<Prediction> |
predict(String bioentity) |
protected void |
setAndFilterRedundantPredictions(Set<Prediction> predictions,
Set<org.semanticweb.owlapi.model.OWLClass> aClasses)
side-effects: removes redundant predictions over all relationships
|
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.
|
void |
setGafDocument(GafDocument gafDocument) |
void |
setGraph(OWLGraphWrapper graph) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isInitialized, predictForBioEntity
public AbstractAnnotationPredictor(GafDocument gafDocument, OWLGraphWrapper graph)
public GafDocument getGafDocument()
public void setGafDocument(GafDocument gafDocument)
public OWLGraphWrapper getGraph()
public void setGraph(OWLGraphWrapper graph)
protected void setAndFilterRedundantPredictions(Set<Prediction> predictions, Set<org.semanticweb.owlapi.model.OWLClass> aClasses)
predictions
- aClasses
- protected void setAndFilterRedundantPredictions(Set<Prediction> predictions, Set<org.semanticweb.owlapi.model.OWLClass> aClasses, Set<org.semanticweb.owlapi.model.OWLPropertyExpression> overProps)
predictions
- aClasses
- overProps
- public List<Prediction> predict(String bioentity)
predict
in interface AnnotationPredictor
public List<Prediction> getAllPredictions()
getAllPredictions
in interface AnnotationPredictor
public void dispose()
dispose
in interface AnnotationPredictor
Copyright © 2010-2014. All Rights Reserved.