|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unima.alcomox.algorithms.AlcomoExtraction
de.unima.alcomox.algorithms.Greedy
public class Greedy
A greedy algoritm to solve an extraction problem. In some publication referred to as naive descending.
| Field Summary |
|---|
| Fields inherited from class de.unima.alcomox.algorithms.AlcomoExtraction |
|---|
activeMapping, extractionProblem, inactiveMapping, log, mapping, sourceOntology, targetOntology, typeOfReasoning |
| Constructor Summary | |
|---|---|
Greedy(ExtractionProblem extractionProblem)
Constructs a greedy algorithm for solving the extraction problem. |
|
| Method Summary | |
|---|---|
void |
run()
Solves the eaxtraction problem by selecting a part of the mapping as activated and the remainder as inactive. |
| Methods inherited from class de.unima.alcomox.algorithms.AlcomoExtraction |
|---|
getActiveMapping, getInactiveMapping, hasBeenInterrupted, setMapping, setSourceOntology, setTargetOntology, terminatedCorrectly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Greedy(ExtractionProblem extractionProblem)
extractionProblem - The problem to be solved.| Method Detail |
|---|
public void run()
throws AlcomoException
AlcomoExtraction
run in class AlcomoExtractionAlcomoExceptionAlcomoExtraction.run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||