jInfer

cz.cuni.mff.ksi.jinfer.functionalDependencies.interfaces
Interface ModelGenerator

All Known Implementing Classes:
ModelGeneratorImpl

public interface ModelGenerator

Interface of an initial model Generator module.

Initial model Generator is the first module in repairing process. Its task is to create a tree representation the input files, and representation of functional dependencies. After the model is retreived, it is sent to the next inference stages via the callback.


Method Summary
 void start(Input input, ModelGeneratorCallback callback)
          Start the initial model generation process.
 

Method Detail

start

void start(Input input,
           ModelGeneratorCallback callback)
           throws InterruptedException
Start the initial model generation process. This method is called by the RepairRunner as the first stage of repair.

Parameters:
input - Input data. Implementation of ModelGenerator should retrieve the representation of XML tree and functional dependencies from this input alone.
callback - A callback object. After the initial model is retrieved, it must be sent to the next stages by calling the finished() method of this object.
Throws:
InterruptedException

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011