Files Classes Functions Hierarchy
#include <cassert>#include <iostream>#include <typeop.h>#include <print.h>
Go to the source code of this file.
Typedefs | |
| typedef typeop< EXP >::Tbare::Ttype | T |
Functions | |
| explorepd1 (uintc N_, uintc lineiterations_, T const h0step=20.0, uintc indexmax_=100) | |
| Construct a N dimensional direct search object on FN. | |
| explorepd1 (FN fn_, uintc N_, uintc lineiterations_, T const h0step=20.0, uintc indexmax_=100) | |
| FN can be a reference. | |
| ~explorepd1 () | |
| Cleanup. | |
| void | reset (T const *x0) |
| void | operator++ () |
| Iterate towards the minimum. | |
Variables | |
| T | delta |
| The multiplier on hi[] for partial derivative calc. | |
| T * | linex0 |
| x0 in line minimization. | |
| T * | linedi |
| Direction in line minimization. | |
| T | linet0 |
| The initial left t interval point. | |
| T | linet1 |
| The initial right t interval point. | |
| LNM | linemin |
| The line minimizer. | |
| uint | lineiterations |
| How many times to evaluate the line minimizer per iteration. | |
Definition at line 17 of file explorepd1.h.
| explorepd1::explorepd1 | ( | FN | fn_, | |
| uintc | N_, | |||
| uintc | lineiterations_, | |||
| T const | h0step = 20.0, |
|||
| uintc | indexmax_ = 100 | |||
| ) | [inline] |
FN can be a reference.
Definition at line 95 of file explorepd1.h.
00102 : EXP(fn_,N_,h0step,indexmax_), 00103 delta(0.01), 00104 linex0(new T[N_]), linedi(new T[N_]), 00105 linet0(-2.0), linet1(2.0), 00106 linemin(N_,EXP::fn_,EXP::xi,linex0,linedi), 00107 lineiterations(lineiterations_) 00108 { 00109 }
| explorepd1::explorepd1 | ( | uintc | N_, | |
| uintc | lineiterations_, | |||
| T const | h0step = 20.0, |
|||
| uintc | indexmax_ = 100 | |||
| ) | [inline] |
Construct a N dimensional direct search object on FN.
Definition at line 78 of file explorepd1.h.
00084 : EXP(N_,h0step,indexmax_), 00085 delta(0.01), 00086 linex0(new T[N_]), linedi(new T[N_]), 00087 linet0(-2.0), linet1(2.0), 00088 linemin(N_,EXP::fn,EXP::xi,linex0,linedi), 00089 lineiterations(lineiterations_) 00090 { 00091 }
| void operator++ | ( | ) |
Iterate towards the minimum.
| void reset | ( | T const * | x0 | ) |
| explorepd1::~explorepd1 | ( | ) | [inline] |
The multiplier on hi[] for partial derivative calc.
Definition at line 20 of file explorepd1.h.
Referenced by d4minoperator::approximatelyequal(), gobjMyArrow::gobjMyArrow(), diskinttest::keyboard01(), circleD2test::keyboard01(), boxOBBhalfspaceD2test::keyboard01(), diskinttest::keyboard02(), diskinttest::keyboard03(), menu01< T >::readBufferedTerminationAction(), d2simplextestmenu01::readImmediate(), desystest::test01(), linetest::test01(), and linetest::test02().
Direction in line minimization.
Definition at line 25 of file explorepd1.h.
Referenced by ~explorepd1().
How many times to evaluate the line minimizer per iteration.
Definition at line 35 of file explorepd1.h.
| LNM linemin |
1.5.8