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_
CLinearOperator< T > * m_linear_operator
CLinearOperator< T > * get_operator() const
COperatorFunction(CLinearOperator< T > *op, CIndependentComputationEngine *engine, EOperatorFunction type=OF_UNDEFINED)
virtual const char * get_name() const
Class SGObject is the base class of all shogun objects.
virtual CJobResultAggregator * submit_jobs(SGVector< T > sample)=0
virtual ~COperatorFunction()
virtual void precompute()=0
Abstract base class that provides an interface for computing an aggeregation of the job results of in...
Abstract template base class that represents a linear operator, e.g. a matrix.
all of classes and functions are contained in the shogun namespace
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
CIndependentComputationEngine * m_computation_engine