|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.algorithms.AlcomoExtraction
public abstract class AlcomoExtraction
Field Summary | |
---|---|
protected Mapping |
activeMapping
|
protected ExtractionProblem |
extractionProblem
|
protected Mapping |
inactiveMapping
|
protected AlcomoLogger |
log
|
protected Mapping |
mapping
|
protected LocalOntology |
sourceOntology
|
protected LocalOntology |
targetOntology
|
protected int |
typeOfReasoning
|
Constructor Summary | |
---|---|
AlcomoExtraction(ExtractionProblem extractionProblem)
Constructs an algorithm for solving an extraction problem. |
Method Summary | |
---|---|
Mapping |
getActiveMapping()
Returns the activated mapping (also referred to as the extracted mapping). |
Mapping |
getInactiveMapping()
Returns the deactivated mapping (also referred to as the thrown, removed or rejected mapping). |
protected boolean |
hasBeenInterrupted()
Checks for an interrupt, stores current results and stops computation. |
abstract void |
run()
Solves the eaxtraction problem by selecting a part of the mapping as activated and the remainder as inactive. |
void |
setMapping(Mapping mapping)
|
void |
setSourceOntology(LocalOntology sourceOntology)
|
void |
setTargetOntology(LocalOntology targetOntology)
|
boolean |
terminatedCorrectly()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ExtractionProblem extractionProblem
protected LocalOntology sourceOntology
protected LocalOntology targetOntology
protected Mapping mapping
protected Mapping activeMapping
protected Mapping inactiveMapping
protected int typeOfReasoning
protected AlcomoLogger log
Constructor Detail |
---|
public AlcomoExtraction(ExtractionProblem extractionProblem)
extractionProblem
- The problem to be solved.Method Detail |
---|
public abstract void run() throws AlcomoException
AlcomoException
public Mapping getActiveMapping()
public Mapping getInactiveMapping()
public void setSourceOntology(LocalOntology sourceOntology)
sourceOntology
- The source ontology.public void setTargetOntology(LocalOntology targetOntology)
targetOntology
- The target ontology.public void setMapping(Mapping mapping)
mapping
- The mapping that the algorithm extracts from.protected boolean hasBeenInterrupted()
public boolean terminatedCorrectly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |