RockyML  0.0.1
A High-Performance Scientific Computing Framework
rocky::zagros::blocked_system< T_e > Class Template Reference

a virtual system to implement blocked coordinate descent More...

#include <system.h>

Inheritance diagram for rocky::zagros::blocked_system< T_e >:
Collaboration diagram for rocky::zagros::blocked_system< T_e >:

Public Member Functions

int original_dim () const
 
int block_dim () const
 
 blocked_system (system< T_e > *main_system, int original_dim, int block_dim, int *mask)
 
void set_solution_state (tbb::enumerable_thread_specific< std::vector< T_e >> *solution_state)
 
virtual T_e objective (T_e *partial)
 
virtual T_e lower_bound ()
 lower bound specification should be used when lower bound is same for all parameters More...
 
virtual T_e lower_bound (int p_index)
 lower bound specification for each parameter should be used if parameters have different lower bounds More...
 
virtual T_e upper_bound ()
 upper bound specification should be used when upper bound is same for all parameters More...
 
virtual T_e upper_bound (int p_index)
 upper bound specification for each parameter should be used if parameters have different upper bounds More...
 
- Public Member Functions inherited from rocky::zagros::system< T_e >
virtual std::string to_string ()
 

Public Attributes

int block_dim_
 
int original_dim_
 
tbb::enumerable_thread_specific< std::vector< T_e > > * solution_state_
 
system< T_e > * main_system_
 
int * bcd_mask_
 

Detailed Description

template<typename T_e>
class rocky::zagros::blocked_system< T_e >

a virtual system to implement blocked coordinate descent

Member Function Documentation

◆ lower_bound() [1/2]

template<typename T_e >
virtual T_e rocky::zagros::blocked_system< T_e >::lower_bound ( )
inlinevirtual

lower bound specification should be used when lower bound is same for all parameters

Returns
** T_e

Reimplemented from rocky::zagros::system< T_e >.

◆ lower_bound() [2/2]

template<typename T_e >
virtual T_e rocky::zagros::blocked_system< T_e >::lower_bound ( int  p_index)
inlinevirtual

lower bound specification for each parameter should be used if parameters have different lower bounds

Parameters
p_index
Returns
** T_e

Reimplemented from rocky::zagros::system< T_e >.

◆ upper_bound() [1/2]

template<typename T_e >
virtual T_e rocky::zagros::blocked_system< T_e >::upper_bound ( )
inlinevirtual

upper bound specification should be used when upper bound is same for all parameters

Returns
** T_e

Reimplemented from rocky::zagros::system< T_e >.

◆ upper_bound() [2/2]

template<typename T_e >
virtual T_e rocky::zagros::blocked_system< T_e >::upper_bound ( int  p_index)
inlinevirtual

upper bound specification for each parameter should be used if parameters have different upper bounds

Parameters
p_index
Returns
** T_e

Reimplemented from rocky::zagros::system< T_e >.


The documentation for this class was generated from the following file: