CAPD DynSys Library
5.2.0
|
In this reorganization policy column vector B_i corresponding to the biggest coordinate in r (r_i) replaces vector in C_j the 'closest' to B_i and the r_i is moved to r0. More...
#include <capd/dynset/reorganization/CoordWiseReorganization.h>
Public Member Functions | |
CoordWiseReorganization () | |
template<class SetType > | |
void | reorganize (SetType &result) const |
reorganize given set More... | |
template<class Matrix , class Vector > | |
void | reorganize (Matrix &B, Matrix &, Vector &r, Matrix &C, Vector &r0) const |
reorganize given set More... | |
template<class SetType > | |
bool | isReorganizationNeeded (const SetType &result) const |
template<class SetType > | |
bool | reorganizeIfNeeded (SetType &result) const |
makes reorganization if needed. return true if reorganization was performed More... | |
template<class Matrix , class Vector > | |
bool | reorganizeIfNeeded (Matrix &B, Matrix &invB, Vector &r, Matrix &C, Vector &r0) const |
std::string | name () const |
void | reorganize (Matrix1 &B, Matrix2 &invB, Vector &r, Matrix1 &C, Vector &r0) const |
void | reorganizeC1 (SetType &result) const |
void | reorganizeC1 (Matrix &B, Matrix &invB, Matrix &R, Matrix &C, Matrix &R0) const |
void | reorganizeC2 (Matrix &B, Matrix &invB, HessianT &R, Matrix &C, HessianT &R0) const |
void | setFactor (double A_factor) |
sets c0,c1,c2 factors to new value More... | |
void | setC0Factor (double A_factor) |
sets new value of c0Factor; More... | |
void | setC1Factor (double A_factor) |
sets new value of c1Factor; More... | |
void | setC2Factor (double A_factor) |
sets new value of c2Factor; More... | |
double | getC0Factor () const |
returns current value of c0Factor; More... | |
double | getC1Factor () const |
returns current value of c1Factor; More... | |
double | getC2Factor () const |
returns current value of c2Factor; More... | |
void | onoffReorganization (bool flag) |
sets the flag which controls possibility of reorganization to new value More... | |
bool | isReorganizationEnabled () const |
returns current value of the flag which controls possibility of reorganization More... | |
std::string | toString () const |
std::string | toString () const |
template<class VectorT , class MatrixT > | |
void | computeBinvB (MatrixT &B, MatrixT &invB, const VectorT &) const |
template<class Matrix1 , class Matrix2 , class Vector > | |
bool | reorganizeIfNeeded (Matrix1 &, Matrix2 &, Vector &, Matrix1 &, Vector &) const |
template<class Matrix > | |
bool | reorganizeC1IfNeeded (Matrix &, Matrix &, Matrix &, Matrix &, Matrix &) const |
template<class Matrix , class Hessian > | |
bool | reorganizeC2IfNeeded (Matrix &, Matrix &, Hessian &, Matrix &, Hessian &) const |
void | disableReorganization () |
Static Public Member Functions | |
template<class VectorType > | |
static int | findBiggestCoord (const VectorType &v) |
it finds index of the biggest coordinate of vector v More... | |
template<class MatrixType , class VectorType > | |
static int | findBestFittingVector (const MatrixType &base, const VectorType &v) |
returns index of the column vector in base which best fits to given vector v More... | |
Protected Attributes | |
double | m_minReorganizationSize |
double | m_c0Factor |
double | m_c1Factor |
double | m_c2Factor |
bool | m_onoff |
In this reorganization policy column vector B_i corresponding to the biggest coordinate in r (r_i) replaces vector in C_j the 'closest' to B_i and the r_i is moved to r0.
|
inline |
|
inlineinherited |
|
inlinestatic |
returns index of the column vector in base which best fits to given vector v
|
inlinestatic |
it finds index of the biggest coordinate of vector v
|
inlineinherited |
returns current value of c0Factor;
|
inlineinherited |
returns current value of c1Factor;
|
inlineinherited |
returns current value of c2Factor;
|
inlineinherited |
returns current value of the flag which controls possibility of reorganization
|
inline |
|
inline |
|
inlineinherited |
sets the flag which controls possibility of reorganization to new value
|
inline |
reorganize given set
|
inlineinherited |
|
inline |
reorganize given set
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
makes reorganization if needed. return true if reorganization was performed
|
inlineinherited |
sets new value of c0Factor;
|
inlineinherited |
sets new value of c1Factor;
|
inlineinherited |
sets new value of c2Factor;
|
inlineinherited |
sets c0,c1,c2 factors to new value
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |