de.unima.alcomox.algorithms
Class AStarSearch

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

public class AStarSearch
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
AStarSearch(ExtractionProblem extractionProblem)
          Constructs a algorithm implementing a uniform cost search by spanning a tree where every node in the tree is a (sub) mapping.
 
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

AStarSearch

public AStarSearch(ExtractionProblem extractionProblem)
Constructs a algorithm implementing a uniform cost search by spanning a tree where every node in the tree is a (sub) mapping.

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()