*/
protected boolean[] extractLogicalAxioms(boolean[] subOnt, Set<OWLEntity> signature, LocalityClass localityClass, boolean verbose) {
boolean[] mod = ontologyAxiomSet.getSubset(false);
boolean[] q2 = ontologyAxiomSet.cloneSubset(subOnt);
SyntacticLocalityEvaluator sle = new SyntacticLocalityEvaluator(localityClass);
boolean change = true;
int loopNumber = 0;
while (change) {
change = false;
loopNumber++;
if (verbose) {
System.out.println(" Loop " + loopNumber);
}
for (int i = 0; i < q2.length; i = i + 1) {
if (q2[i]) {
if (!sle.isLocal(ontologyAxiomSet.getAxiom(i), signature)) {
if (verbose){
System.out.println(" Non-local axiom: " + ontologyAxiomSet.getAxiom(i));
}
mod[i] = true;
q2[i] = false;