cz.cuni.mff.ksi.jinfer.base.interfaces.inference
Interface IGGenerator
- All Superinterfaces:
- Capabilities, NamedModule
- All Known Implementing Classes:
- IGGeneratorImpl
public interface IGGenerator
- extends NamedModule, Capabilities
Interface of an IGGenerator module.
Initial Grammar Generator is the first module in inference process. Its task
is to create a list of rules from the input files, schemas and queries.
After the rules are retrieved, they are sent to the next inference stages
via the callback.
start
void start(Input input,
IGGeneratorCallback callback)
throws InterruptedException
- Start the IG generation process. This method is called by the Runner module
as the first stage of inference.
- Parameters:
input
- Input data. Implementation of IGGenerator should retrieve the
list of initial grammar rules from this input alone.callback
- A callback object. After all the IG rules are retrieved, their
list must be sent to the next stages by calling the finished()
method of this object.
- Throws:
InterruptedException
Generated on Fri Dec 9 00:01:25 CET 2011