public class ClassTaxonMatrix extends Object
TaxonConstraintsEngine
to infer the taxon constraints.
Use the static methods to create and write instances.Modifier | Constructor and Description |
---|---|
protected |
ClassTaxonMatrix(int classCount,
int taxonCount) |
Modifier and Type | Method and Description |
---|---|
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. |
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 identifierpublic 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
Copyright © 2010–2015. All rights reserved.