cpp/motions/bimodalangle.h

27 lines
564 B
C
Raw Normal View History

2024-09-16 17:52:51 +00:00
//
// 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;
2024-11-10 14:52:54 +00:00
void setParameters(const std::unordered_map<std::string, double> &) override;
2024-09-16 17:52:51 +00:00
protected:
double m_angle1{0};
double m_angle2{0};
double m_prob{0};
SphericalPos m_prev_pos{0., 0.};
};
#endif //BIMODALANGLE_H