edu.stanford.smi.protegex.owl.inference.protegeowl.task
Class GetSubsumptionRelationshipTask
java.lang.Object
edu.stanford.smi.protegex.owl.inference.protegeowl.task.AbstractReasonerTask
edu.stanford.smi.protegex.owl.inference.protegeowl.task.GetSubsumptionRelationshipTask
- All Implemented Interfaces:
- IntegerResultReasonerTask, ReasonerTask
- public class GetSubsumptionRelationshipTask
- extends AbstractReasonerTask
- implements IntegerResultReasonerTask
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: May 6, 2005
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
Fields inherited from class edu.stanford.smi.protegex.owl.inference.protegeowl.task.AbstractReasonerTask |
|
Methods inherited from class edu.stanford.smi.protegex.owl.inference.protegeowl.task.AbstractReasonerTask |
addTaskListener, doAbortCheck, fireDescriptionChangedEvent, fireMessageChangedEvent, fireProgressChangedEvent, fireProgressIndeterminateChnaged, fireTaskCompletedEvent, fireTaskFailedEvent, getDescription, getMessage, getProgress, getTranslator, isProgressIndeterminate, isRequestAbort, postLogRecord, removeTaskListener, setDescription, setMessage, setProgress, setProgressIndeterminate, setRequestAbort, setTaskCompleted, setTaskFailed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protegeOWLReasoner
private ProtegeOWLReasoner protegeOWLReasoner
cls1
private OWLClass cls1
cls2
private OWLClass cls2
result
private int result
GetSubsumptionRelationshipTask
public GetSubsumptionRelationshipTask(ProtegeOWLReasoner protegeOWLReasoner,
OWLClass cls1,
OWLClass cls2)
getTaskSize
public int getTaskSize()
- Description copied from interface:
ReasonerTask
- Gets the size of the task. When the progress
reaches this size, the task should be complete.
- Specified by:
getTaskSize
in interface ReasonerTask
run
public void run()
throws DIGReasonerException
- Description copied from interface:
ReasonerTask
- Executes the task.
- Specified by:
run
in interface ReasonerTask
- Throws:
DIGReasonerException
getResult
public int getResult()
- Specified by:
getResult
in interface IntegerResultReasonerTask