cpp/motions/random.cpp
2024-11-09 17:59:37 +01:00

17 lines
396 B
C++

//
// 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) {}
RandomJump::RandomJump(std::mt19937_64 &rng) : Motion(std::string("Random Jump"), rng) {}
void RandomJump::initialize() {}
double RandomJump::jump() {
return omega_q(draw_position());
}