24
smc/smoothing/ArtificialDistribution.h
Normal file
24
smc/smoothing/ArtificialDistribution.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef ARTIFICIALDISTRIBUTION_H
|
||||
#define ARTIFICIALDISTRIBUTION_H
|
||||
|
||||
#include <vector>
|
||||
#include "../Particle.h"
|
||||
|
||||
namespace SMC {
|
||||
|
||||
/**
|
||||
* interface for artificial distributions
|
||||
*/
|
||||
template <typename State>
|
||||
class ArtificialDistribution {
|
||||
|
||||
public:
|
||||
|
||||
/** calculate the probability/density*/
|
||||
virtual double calculate(Particle<State> const& particle) = 0;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // ARTIFICIALDISTRIBUTION_H
|
||||
Reference in New Issue
Block a user