A base class for sums of 'generalised' objective functions, i.e. objective functions for which at least a 'gradient' is defined.
More...
|
template<typename IterT > |
| SumOfGeneralisedObjectiveFunctions (IterT begin, IterT end) |
|
template<typename IterT > |
void | set_functions (IterT begin, IterT end) |
|
virtual Succeeded | set_up (shared_ptr< TargetT > const &target_sptr) |
| Has to be called before using this object. More...
|
|
virtual void | compute_sub_gradient_without_penalty (TargetT &gradient, const TargetT ¤t_estimate, const int subset_num) |
| This computes the gradient of the unregularised objective function at the current_estimate. More...
|
|
virtual double | actual_compute_objective_function_without_penalty (const TargetT ¤t_estimate, const int subset_num) |
|
virtual int | set_num_subsets (const int num_subsets) |
| Attempts to change the number of subsets. More...
|
|
template<typename ObjFuncT, typename TargetT, typename ParentT = GeneralisedObjectiveFunction<TargetT>>
class stir::SumOfGeneralisedObjectiveFunctions< ObjFuncT, TargetT, ParentT >
A base class for sums of 'generalised' objective functions, i.e. objective functions for which at least a 'gradient' is defined.
- Todo:
document why use of ParentT template
doc subsets