Started NLO state
parent
46a1fb1103
commit
fdb4138d10
2
.project
2
.project
|
|
@ -23,7 +23,7 @@
|
|||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
||||
<value>-j7</value>
|
||||
<value>-j5</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
||||
|
|
|
|||
|
|
@ -59,6 +59,27 @@ public:
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a nonlinear optimization state, including the current estimate
|
||||
* of the variable values, error, and number of iterations. Optimizers derived
|
||||
* from NonlinearOptimizer usually also define a derived state class containing
|
||||
* additional state specific to the algorithm (for example, Dogleg state
|
||||
* contains the current trust region radius).
|
||||
*/
|
||||
class NonlinearOptimizerState {
|
||||
public:
|
||||
|
||||
/** The current estimate of the variable values. */
|
||||
Values values;
|
||||
|
||||
/** The factor graph error on the current values. */
|
||||
double error;
|
||||
|
||||
/** The number of optimization iterations performed. */
|
||||
unsigned int iterations;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* This is the abstract interface for classes that can optimize for the
|
||||
* maximum-likelihood estimate of a NonlinearFactorGraph.
|
||||
|
|
|
|||
Loading…
Reference in New Issue