cpp/motions/bimodalangle.h
2024-11-10 15:52:54 +01:00

27 lines
564 B
C++

//
// Created by dominik on 8/23/24.
//
#ifndef BIMODALANGLE_H
#define BIMODALANGLE_H
#include "base.h"
class BimodalAngle : public Motion {
public:
BimodalAngle(double, double, double, double, double, std::mt19937_64& );
explicit BimodalAngle(std::mt19937_64&);
void initialize() override;
double jump() override;
void setParameters(const std::unordered_map<std::string, double> &) override;
protected:
double m_angle1{0};
double m_angle2{0};
double m_prob{0};
SphericalPos m_prev_pos{0., 0.};
};
#endif //BIMODALANGLE_H