10 #ifndef SERIAL_COMPUTATION_ENGINE_H_
11 #define SERIAL_COMPUTATION_ENGINE_H_
50 return "SerialComputationEngine"
56 #endif // SERIAL_COMPUTATION_ENGINE_H_
virtual void submit_job(CIndependentJob *job)
Class that computes multiple independent instances of computation jobs sequentially.
virtual const char * get_name() const
virtual void wait_for_all()
all of classes and functions are contained in the shogun namespace
Abstract base for general computation jobs to be registered in CIndependentComputationEngine. compute method produces a job result and submits it to the internal JobResultAggregator. Each set of jobs that form a result will share the same job result aggregator.
Abstract base class for solving multiple independent instances of CIndependentJob. It has one method, submit_job, which may add the job to an internal queue and might block if there is yet not space in the queue. After jobs are submitted, it might not yet be ready. wait_for_all waits until all jobs are completed, which must be called to guarantee that all jobs are finished.