Go to the source code of this file.
Namespaces | |
namespace | robotLibPbD |
Defines | |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
#define | MIN(a, b) ((a)<(b)?(a):(b)) |
#define | RND(x) (round ? rnd(x*10)/10.0 : x) |
#define | RND(x) (round ? rnd(x*10)/10.0 : x) |
#define | ROUND(x) rnd(x*10)/10.0) |
#define | SWAP(x, y) tmp = a[x];a[x]=a[y];a[y] = tmp; |
Functions | |
void | robotLibPbD::calculateTransformationFromPlane (CVec &plane, CMatrix &transformation) |
void | robotLibPbD::convertMatrix (CMatrix &from, double(*R)[3], double *T) |
void | robotLibPbD::convertMatrix (double(*R)[3], double *T, CMatrix &to) |
double | robotLibPbD::getGaussian (double value, double mean, double std) |
double | robotLibPbD::getGaussianWithoutNormalization (double value, double mean, double std) |
double | robotLibPbD::getLogisticProb (double alpha, double beta) |
void | robotLibPbD::getMeanFromVectors (std::vector< std::vector< double > > &values, std::vector< double > &mean) |
double | robotLibPbD::getSigmoid (double value, double offset, double factor) |
void | robotLibPbD::orientation2scaledAxis (CMatrix &matrix, CVec &axis) |
void | robotLibPbD::orientation2scaledAxis (CMatrix &matrix, std::vector< double > &axis) |
boost::variate_generator < boost::mt19937 &, boost::uniform_01< double > > | robotLibPbD::pRngUniform01 (pRngMt19937, pRngDist) |
int | robotLibPbD::rnd (PRECISION value) |
Rounds a value. | |
void | robotLibPbD::rosenbrock (int n, double *x, double *bl, double *bu, double bigbnd, int maxiter, double eps, int verbose, void obj(int, double *, double *, void *), void *extraparams) |
void | robotLibPbD::scaledAxis2Orientation (CVec &axis, CMatrix &matrix) |
void | robotLibPbD::scaledAxis2Orientation (std::vector< double > &axis, CMatrix &matrix) |
void | robotLibPbD::setUniformSeed (unsigned int seed) |
void | robotLibPbD::simulatedannealing (int n, double *x, double *bl, double *bu, double bigbnd, int maxiter, double eps, int verbose, void obj(int, double *, double *, void *), void *extraparams) |
double | robotLibPbD::vectorlength (std::vector< double > &v) |
Variables | |
char | robotLibPbD::rosenbrock_version [] = "rosenbrock 0.99" |
#define MAX | ( | a, | |
b | |||
) | ((a)>(b)?(a):(b)) |
Definition at line 802 of file vecmath.cpp.
#define MIN | ( | a, | |
b | |||
) | ((a)<(b)?(a):(b)) |
Definition at line 801 of file vecmath.cpp.
#define RND | ( | x | ) | (round ? rnd(x*10)/10.0 : x) |
#define RND | ( | x | ) | (round ? rnd(x*10)/10.0 : x) |
#define ROUND | ( | x | ) | rnd(x*10)/10.0) |
Definition at line 37 of file vecmath.cpp.
#define SWAP | ( | x, | |
y | |||
) | tmp = a[x];a[x]=a[y];a[y] = tmp; |
The rosenbrock code:
Copyright (c) Dr. Ir. Frank Vanden Berghen For further details see: http://applied-mathematics.net/ email: frank@applied-mathematics.net
Anything else is licensed as follows:
Copyright (c) 2016, Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 36 of file vecmath.cpp.