|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.gaf.inference.ClassTaxonMatrix
public class ClassTaxonMatrix
Matrix representing the applicability of classes and taxa. Uses the
TaxonConstraintsEngine
to infer the taxon constraints.
Use the static methods to create and write instances.
Constructor Summary | |
---|---|
protected |
ClassTaxonMatrix(int classCount,
int taxonCount)
|
Method Summary | |
---|---|
protected void |
add(boolean applicable,
org.semanticweb.owlapi.model.OWLClass owlClass,
org.semanticweb.owlapi.model.OWLClass taxon)
|
static ClassTaxonMatrix |
create(OWLGraphWrapper graph,
Collection<org.semanticweb.owlapi.model.OWLClass> classes,
Collection<org.semanticweb.owlapi.model.OWLClass> taxa)
Create a new taxon-class-matrix for the given classes and taxa. |
static ClassTaxonMatrix |
create(OWLGraphWrapper graph,
Collection<org.semanticweb.owlapi.model.OWLClass> classes,
String... taxa)
Create a new taxon-class-matrix for the given classes and taxa. |
Boolean |
get(org.semanticweb.owlapi.model.OWLClass cls,
org.semanticweb.owlapi.model.OWLClass taxon)
|
static void |
write(ClassTaxonMatrix matrix,
OWLGraphWrapper graph,
BufferedWriter writer)
Write a ClassTaxonMatrix using the default delimiter. |
static void |
write(ClassTaxonMatrix matrix,
OWLGraphWrapper graph,
char delimiter,
BufferedWriter writer)
Write a ClassTaxonMatrix using the specified delimiter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClassTaxonMatrix(int classCount, int taxonCount)
Method Detail |
---|
protected void add(boolean applicable, org.semanticweb.owlapi.model.OWLClass owlClass, org.semanticweb.owlapi.model.OWLClass taxon)
public Boolean get(org.semanticweb.owlapi.model.OWLClass cls, org.semanticweb.owlapi.model.OWLClass taxon)
public static ClassTaxonMatrix create(OWLGraphWrapper graph, Collection<org.semanticweb.owlapi.model.OWLClass> classes, String... taxa)
graph
- classes
- taxa
- taxa identifier
public static ClassTaxonMatrix create(OWLGraphWrapper graph, Collection<org.semanticweb.owlapi.model.OWLClass> classes, Collection<org.semanticweb.owlapi.model.OWLClass> taxa)
graph
- classes
- taxa
-
public static void write(ClassTaxonMatrix matrix, OWLGraphWrapper graph, BufferedWriter writer) throws IOException
ClassTaxonMatrix
using the default delimiter.
Hint: Do not forget to close the writer after use.
matrix
- graph
- required for rendering the OBO style identifierswriter
-
IOException
public static void write(ClassTaxonMatrix matrix, OWLGraphWrapper graph, char delimiter, BufferedWriter writer) throws IOException
ClassTaxonMatrix
using the specified delimiter.
Hint: Do not forget to close the writer after use.
matrix
- graph
- required for rendering the OBO style identifiersdelimiter
- writer
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |