#include <Eigen/Eigen>#include <Eigen/LU>#include <iostream>#include <fstream>#include <cmath>#include <limits>#include <vector>#include <map>
Go to the source code of this file.
Classes | |
| struct | Params |
| struct | TrainingEntry |
| struct | TrainingSet |
Defines | |
| #define | EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT |
| #define | EIGEN_DONT_VECTORIZE |
Typedefs | |
| typedef vector< Params > | Genome |
| typedef vector< Params > | ParamsVector |
Functions | |
| double | computeError (const Params &p, const TrainingEntry &e) |
| double | computeError (const Params &p) |
| void | dumpParamsStats (ostream &stream, const ParamsVector ¶ms) |
| double | evolveOneGen (Genome &genome, double annealing=1.0, Params *bestParams=0) |
| double | gaussianRand (double mean, double sigm) |
| static int | generationCount (64) |
| static double | inlierRatio (0.8) |
| int | main (int argc, char **argv) |
| void | normalizeParams (ParamsVector ¶ms) |
| static int | restartCount (1) |
| double | uniformRand () |
Variables | |
| TrainingSet | trainingSet |
Definition at line 5 of file optimize.cpp.
| #define EIGEN_DONT_VECTORIZE |
Definition at line 4 of file optimize.cpp.
Definition at line 204 of file optimize.cpp.
| typedef vector<Params> ParamsVector |
Definition at line 205 of file optimize.cpp.
| double computeError | ( | const Params & | p, |
| const TrainingEntry & | e | ||
| ) |
Definition at line 251 of file optimize.cpp.
| double computeError | ( | const Params & | p | ) |
Definition at line 308 of file optimize.cpp.
| void dumpParamsStats | ( | ostream & | stream, |
| const ParamsVector & | params | ||
| ) |
Definition at line 213 of file optimize.cpp.
| double evolveOneGen | ( | Genome & | genome, |
| double | annealing = 1.0, |
||
| Params * | bestParams = 0 |
||
| ) |
Definition at line 325 of file optimize.cpp.
| double gaussianRand | ( | double | mean, |
| double | sigm | ||
| ) |
Definition at line 26 of file optimize.cpp.
| static int generationCount | ( | 64 | ) | [static] |
| static double inlierRatio | ( | 0. | 8 | ) | [static] |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 369 of file optimize.cpp.
| void normalizeParams | ( | ParamsVector & | params | ) |
Definition at line 207 of file optimize.cpp.
| static int restartCount | ( | 1 | ) | [static] |
| double uniformRand | ( | ) |
Definition at line 21 of file optimize.cpp.
Definition at line 111 of file optimize.cpp.