17 lines
396 B
C++
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());
|
|
}
|