lux::MetroSample Class Reference

#include <metropolis.h>

Inheritance diagram for lux::MetroSample:
[legend]
Collaboration diagram for lux::MetroSample:
[legend]

List of all members.

Public Member Functions

 MetroSample ()
float mutate (const float x) const
float value (const int i, float defval) const
MetroSample next () const

Public Attributes

vector< float > values
vector< intmodify
int time

Detailed Description

Definition at line 42 of file metropolis.h.


Constructor & Destructor Documentation

lux::MetroSample::MetroSample (  )  [inline]

Definition at line 47 of file metropolis.h.


Member Function Documentation

float MetroSample::mutate ( const float  x  )  const

Definition at line 34 of file metropolis.cpp.

References cimg_library::exp(), and cimg_library::log().

Referenced by value().

MetroSample MetroSample::next (  )  const

Definition at line 68 of file metropolis.cpp.

References time.

Referenced by lux::Metropolis::GetNextSample().

float MetroSample::value ( const int  i,
float  defval 
) const [virtual]

Member Data Documentation

vector<int> lux::MetroSample::modify [mutable]

Definition at line 45 of file metropolis.h.

Referenced by value().

Definition at line 46 of file metropolis.h.

Referenced by next(), and value().

vector<float> lux::MetroSample::values [mutable]

Definition at line 44 of file metropolis.h.

Referenced by value().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208