OpenGM  2.3.x
Discrete Graphical Model Library
Classes | Public Types | Public Member Functions | List of all members
opengm::proposal_gen::WeightRandomization< VALUE_TYPE > Class Template Reference

#include <intersection_based_inf.hxx>

+ Inheritance diagram for opengm::proposal_gen::WeightRandomization< VALUE_TYPE >:
+ Collaboration diagram for opengm::proposal_gen::WeightRandomization< VALUE_TYPE >:

Classes

struct  Parameter
 

Public Types

typedef VALUE_TYPE ValueType
 

Public Member Functions

 WeightRandomization (const Parameter &param=Parameter())
 
void randomize (const std::vector< ValueType > &weights, std::vector< ValueType > &rweights)
 
vigra::RandomNumberGenerator< > & randGen ()
 

Detailed Description

template<class VALUE_TYPE>
class opengm::proposal_gen::WeightRandomization< VALUE_TYPE >

Definition at line 167 of file intersection_based_inf.hxx.

Member Typedef Documentation

template<class VALUE_TYPE>
typedef VALUE_TYPE opengm::proposal_gen::WeightRandomization< VALUE_TYPE >::ValueType

Definition at line 169 of file intersection_based_inf.hxx.

Constructor & Destructor Documentation

template<class VALUE_TYPE>
opengm::proposal_gen::WeightRandomization< VALUE_TYPE >::WeightRandomization ( const Parameter param = Parameter())
inline

Definition at line 209 of file intersection_based_inf.hxx.

Member Function Documentation

template<class VALUE_TYPE>
vigra::RandomNumberGenerator< >& opengm::proposal_gen::WeightRandomization< VALUE_TYPE >::randGen ( )
inline

Definition at line 275 of file intersection_based_inf.hxx.

+ Here is the caller graph for this function:

template<class VALUE_TYPE>
void opengm::proposal_gen::WeightRandomization< VALUE_TYPE >::randomize ( const std::vector< ValueType > &  weights,
std::vector< ValueType > &  rweights 
)
inline

Definition at line 217 of file intersection_based_inf.hxx.

+ Here is the caller graph for this function: