RockyML  0.0.1
A High-Performance Scientific Computing Framework
rocky::zagros::benchmark::rastrigin_parallel< T_e > Class Template Reference
Inheritance diagram for rocky::zagros::benchmark::rastrigin_parallel< T_e >:
Collaboration diagram for rocky::zagros::benchmark::rastrigin_parallel< T_e >:

Public Member Functions

 rastrigin_parallel (int dim=2, T_e shift=0.0)
 Construct a new rastrigin object. More...
 
virtual T_e objective (T_e *x)
 
virtual T_e lower_bound ()
 lower bound specification should be used when lower bound is same for all parameters More...
 
virtual T_e upper_bound ()
 upper bound specification should be used when upper bound is same for all parameters More...
 
virtual std::string to_string ()
 
- Public Member Functions inherited from rocky::zagros::system< T_e >
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 (int p_index)
 upper bound specification for each parameter should be used if parameters have different upper bounds More...
 

Protected Attributes

int dim_
 
T_e shift_
 

Constructor & Destructor Documentation

◆ rastrigin_parallel()

template<typename T_e >
rocky::zagros::benchmark::rastrigin_parallel< T_e >::rastrigin_parallel ( int  dim = 2,
T_e  shift = 0.0 
)
inline

Construct a new rastrigin object.

Parameters
dimdimension of rastrigin function
shiftthe shift applied to global minimum

Member Function Documentation

◆ lower_bound()

template<typename T_e >
virtual T_e rocky::zagros::benchmark::rastrigin_parallel< 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 >.

◆ upper_bound()

template<typename T_e >
virtual T_e rocky::zagros::benchmark::rastrigin_parallel< 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 >.


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