cpp/motions/random.cpp

17 lines
340 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(delta, eta, rng) {}
RandomJump::RandomJump(std::mt19937_64 &rng) : Motion(rng) {}
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
}