default 10 step relin
parent
872ef5fe05
commit
45cd8e5772
|
|
@ -19,7 +19,7 @@ using namespace boost::assign;
|
||||||
#include <gtsam/inference/ISAM2.h>
|
#include <gtsam/inference/ISAM2.h>
|
||||||
|
|
||||||
|
|
||||||
#if 0 // timing - note: adds some time when applied in inner loops
|
#if 1 // timing - note: adds some time when applied in inner loops
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
// simple class for accumulating execution timing information by name
|
// simple class for accumulating execution timing information by name
|
||||||
class Timing {
|
class Timing {
|
||||||
|
|
@ -407,7 +407,7 @@ void ISAM2<Conditional, Config>::update(
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
VectorConfig deltaMarked;
|
VectorConfig deltaMarked;
|
||||||
if (relinearize) { // && count%10 == 0) { // todo: every n steps
|
if (relinearize && count%10 == 0) { // todo: every n steps
|
||||||
tic("step4");
|
tic("step4");
|
||||||
// 4. Mark keys in \Delta above threshold \beta: J=\{\Delta_{j}\in\Delta|\Delta_{j}\geq\beta\}.
|
// 4. Mark keys in \Delta above threshold \beta: J=\{\Delta_{j}\in\Delta|\Delta_{j}\geq\beta\}.
|
||||||
list<Symbol> markedRelin;
|
list<Symbol> markedRelin;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue