addChild(learningComponent);
addChild(qualityControlComponent);
addChild(parametersOptimizationComponent);
addChild(usingNetworkComponent);
learningComponent.setExecutionFinishedListener(new IExecutionFinishedListener()
{
public void signalExecutionFinished()
{
getDataManagementComponent().enableDataManagmentComponent(NetworkComponent.this);
try
{
Thread.sleep(500);
}
catch (InterruptedException e)
{
e.printStackTrace();
}
qualityControlComponent.analize();
}
});
learningComponent.setExecutionStartedListener(new IExecutionStartedListener()
{
public void signalExecutionStarted()
{
getDataManagementComponent().disableDataManagmentComponent(NetworkComponent.this);
}
});
learningComponent.setExecutionCanceledListener(new IExecutionFinishedListener()
{
public void signalExecutionFinished()
{
getDataManagementComponent().enableDataManagmentComponent(NetworkComponent.this);
cancelExecution();