10 #ifndef OPERATOR_FUNCTION_H_
11 #define OPERATOR_FUNCTION_H_
31 template<
class T>
class SGVector;
32 class CJobResultAggregator;
33 template<
class T>
class CLinearOperator;
40 template<
class T>
class COperatorFunction :
public CSGObject
108 return "OperatorFunction";
124 m_linear_operator=NULL;
125 m_computation_engine=NULL;
136 #endif // OPERATOR_FUCNTION_H_
COperatorFunction(CLinearOperator< T > *op, CIndependentComputationEngine *engine, EOperatorFunction type=OF_UNDEFINED)
CIndependentComputationEngine * m_computation_engine
virtual void precompute()=0
virtual ~COperatorFunction()
Class SGObject is the base class of all shogun objects.
CLinearOperator< T > * get_operator() const
virtual const char * get_name() const
Abstract base class that provides an interface for computing an aggeregation of the job results of in...
all of classes and functions are contained in the shogun namespace
CLinearOperator< T > * m_linear_operator
Abstract template base class that represents a linear operator, e.g. a matrix.
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.
const EOperatorFunction m_function_type
virtual CJobResultAggregator * submit_jobs(SGVector< T > sample)=0