cpp/motions/random.cpp

17 lines
396 B
C++
Raw Normal View History

2024-08-16 17:55:27 +00:00
//
// Created by dominik on 8/12/24.
//
#include "random.h"
RandomJump::RandomJump(const double delta, const double eta, std::mt19937_64 &rng) : Motion(std::string("Random Jump"), delta, eta, rng) {}
2024-08-16 17:55:27 +00:00
RandomJump::RandomJump(std::mt19937_64 &rng) : Motion(std::string("Random Jump"), rng) {}
2024-08-16 17:55:27 +00:00
2024-08-18 11:21:27 +00:00
void RandomJump::initialize() {}
2024-08-16 17:55:27 +00:00
double RandomJump::jump() {
2024-08-23 16:33:38 +00:00
return omega_q(draw_position());
2024-08-16 17:55:27 +00:00
}