de.unima.alcomox.algorithms
Class GreedyMinimize

java.lang.Object
  extended by de.unima.alcomox.algorithms.AlcomoExtraction
      extended by de.unima.alcomox.algorithms.GreedyMinimize

public class GreedyMinimize
extends AlcomoExtraction

A uniform cost search to solve an extraction problem. .


Field Summary
 
Fields inherited from class de.unima.alcomox.algorithms.AlcomoExtraction
activeMapping, extractionProblem, inactiveMapping, log, mapping, sourceOntology, targetOntology, typeOfReasoning
 
Constructor Summary
GreedyMinimize(ExtractionProblem extractionProblem)
          Constructs a algorithm implementing a greedy search that removes first those correspondences that are involved in most conflicts.
 
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

GreedyMinimize

public GreedyMinimize(ExtractionProblem extractionProblem)
Constructs a algorithm implementing a greedy search that removes first those correspondences that are involved in most conflicts. In cases these are several, the correspondence with lowest confidence is first removed.

Parameters:
extractionProblem - The problem to be solved.
Method Detail

run

public void run()
         throws AlcomoException
Description copied from class: AlcomoExtraction
Solves the eaxtraction problem by selecting a part of the mapping as activated and the remainder as inactive.

Specified by:
run in class AlcomoExtraction
Throws:
AlcomoException
See Also:
AlcomoExtraction.run()