This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Indoor/smc/smoothing/ArtificialDistribution.h
2017-11-15 17:46:06 +01:00

25 lines
423 B
C++

#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