vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::SingleParticleBase< T > Class Template Reference

A thin wrapper over a complete Particle. More...

#include <vsmc/core/single_particle.hpp>

Public Member Functions

 SingleParticleBase (typename Particle< T >::size_type id, Particle< T > *pptr)
 
Particle< T >::size_type id () const
 
Particle< T > & particle () const
 
Particle< T >::rng_type & rng () const
 

Detailed Description

template<typename T>
class vsmc::SingleParticleBase< T >

A thin wrapper over a complete Particle.

Definition at line 43 of file single_particle.hpp.

Constructor & Destructor Documentation

template<typename T>
vsmc::SingleParticleBase< T >::SingleParticleBase ( typename Particle< T >::size_type  id,
Particle< T > *  pptr 
)
inline

Definition at line 46 of file single_particle.hpp.

Member Function Documentation

template<typename T>
Particle<T>::size_type vsmc::SingleParticleBase< T >::id ( ) const
inline

Definition at line 51 of file single_particle.hpp.

template<typename T>
Particle<T>& vsmc::SingleParticleBase< T >::particle ( ) const
inline

Definition at line 53 of file single_particle.hpp.

template<typename T>
Particle<T>::rng_type& vsmc::SingleParticleBase< T >::rng ( ) const
inline

Definition at line 55 of file single_particle.hpp.