#include <l_cpp/l_exception.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
Go to the source code of this file.
|
| kjb |
| Classes and functions for dealing with trajectory files.
|
|
|
template<class Model , class Adapter > |
void | kjb::move_param (Model &x, size_t i, double dv, const Adapter &aptr) |
| Helper function that moves a parameter by an amount. More...
|
|
template<class Model , class Adapter > |
void | kjb::move_params (Model &x, size_t i, size_t j, double dv, double dw, const Adapter &aptr) |
| Helper function that moves a pair of parameters by an amount. More...
|
|
template<class Model , class Vec , class Adapter > |
void | kjb::move_params (Model &x, const Vec &dx, const Adapter &aptr) |
| Helper function that moves all parameters by specified vector. More...
|
|
template<class M , class A > |
bool | kjb::next_point (const std::vector< std::pair< double, double > > &bounds, const std::vector< double > &widths, size_t nbins, std::vector< size_t > &indices, M &x, const A &adapter) |
| Gets the next point in a N-dimensional grid. More...
|
|