All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.biojava.ontology.OntologyOps Maven / Gradle / Ivy

There is a newer version: 1.9.7
Show newest version
package org.biojava.ontology;

import java.util.Set;

/**
 * This is an interface for optimizing ontology operators.
 *
 * 

* Some ontology implementations will be able to compute some derived properties * very quickly because of how they store their data. This is likely to out- * perform generic implementations of algorithms using the Ontology interface * to get the same result. Ontology instances provide an instance of * OntologyOps, publishing optimizations of some common operations. The reasoner * may then choose to call OntologyOps methods on the Ontology instance rather * than using its fall-back implementations. *

* * @author Matthew Pocock * @since 1.4 */ public interface OntologyOps { /** * Get the set of all remote terms. * *

* We do not currently specify whether this set is mutable or not, and if it * will reflect modifications to the optimised ontolgies. *

* * @return a Set containing all remote terms in the ontology */ public Set getRemoteTerms(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy