libeblearn
ebl::cost_module< T1, T2, Tstate1, Tstate2 > Class Template Reference

#include <ebl_cost.h>

Inheritance diagram for ebl::cost_module< T1, T2, Tstate1, Tstate2 >:
ebl::ebm_2< Tstate1, Tstate2, Tstate1 > ebl::module ebl::euclidean_module< T1, T2, Tstate1, Tstate2 >

List of all members.

Public Member Functions

 cost_module (idx< T1 > &targets_)

Public Attributes

idx< T1 > & targets
 all the input targets
Tstate1 in2
 a temporary buffer where targets are copied based on input label
idx< T1 > energies
 the energy for each target

Detailed Description

template<typename T1, typename T2, class Tstate1 = bbstate_idx<T1>, class Tstate2 = bbstate_idx<T2>>
class ebl::cost_module< T1, T2, Tstate1, Tstate2 >

cost module base class


Constructor & Destructor Documentation

template<typename T1, typename T2 , class Tstate1 , class Tstate2 >
ebl::cost_module< T1, T2, Tstate1, Tstate2 >::cost_module ( idx< T1 > &  targets_)

Constructor. Keep a reference to targets and allocate other buffers based on the targets order and dimensions.


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