de.tudresden.inf.lat.jcel.reasoner.module
Class ModuleProcessor

java.lang.Object
  extended by de.tudresden.inf.lat.jcel.reasoner.module.ModuleProcessor
All Implemented Interfaces:
de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

public class ModuleProcessor
extends Object
implements de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

An object of this class classifies an ontology. It divides a set of axioms in subsets such that they have disjoint sets of classes and properties. Then, it uses the default processor to classify each subset. The resulting class and property hierarchies are the union of the partial ones.

Author:
Julian Mendez

Constructor Summary
ModuleProcessor(Set<de.tudresden.inf.lat.jcel.ontology.axiom.complex.ComplexIntegerAxiom> axiomSet, ModuleProcessorFactory factory)
          Constructs a new module processor.
 
Method Summary
 de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getClassHierarchy()
           
 de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getDataPropertyHierarchy()
           
 Map<Integer,Set<Integer>> getDirectTypes()
           
 de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getObjectPropertyHierarchy()
           
 Map<Integer,Set<Integer>> getSameIndividualMap()
           
 boolean isReady()
           
 boolean process()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleProcessor

public ModuleProcessor(Set<de.tudresden.inf.lat.jcel.ontology.axiom.complex.ComplexIntegerAxiom> axiomSet,
                       ModuleProcessorFactory factory)
Constructs a new module processor. It uses an auxiliary processor to classify each module.

Parameters:
axiomSet - set of axioms
factory - factory to create the auxiliary processor
Method Detail

getClassHierarchy

public de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getClassHierarchy()
Specified by:
getClassHierarchy in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

getDataPropertyHierarchy

public de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getDataPropertyHierarchy()
                                                                                       throws de.tudresden.inf.lat.jcel.core.algorithm.common.UnclassifiedOntologyException
Specified by:
getDataPropertyHierarchy in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor
Throws:
de.tudresden.inf.lat.jcel.core.algorithm.common.UnclassifiedOntologyException

getDirectTypes

public Map<Integer,Set<Integer>> getDirectTypes()
Specified by:
getDirectTypes in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

getObjectPropertyHierarchy

public de.tudresden.inf.lat.jcel.core.graph.IntegerHierarchicalGraph getObjectPropertyHierarchy()
Specified by:
getObjectPropertyHierarchy in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

getSameIndividualMap

public Map<Integer,Set<Integer>> getSameIndividualMap()
Specified by:
getSameIndividualMap in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

isReady

public boolean isReady()
Specified by:
isReady in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor

process

public boolean process()
Specified by:
process in interface de.tudresden.inf.lat.jcel.core.algorithm.common.Processor


Copyright © 2012. All Rights Reserved.