Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ISAM2Result

ISAM2Result summarizes the work performed by one ISAM2.update() call: affected variables, relinearization and re-elimination counts, new factor indices, clique statistics, and optional nonlinear errors.

Open In Colab

Obtaining a result

Although a default constructor exists, useful results come from ISAM2.update(). Enable detailed results or nonlinear error evaluation in ISAM2Params before constructing the solver when those diagnostics are needed.

Update work

getVariablesRelinearized(), getVariablesReeliminated(), getFactorsRecalculated(), and getCliques() quantify incremental work. getNewFactorsIndices() identifies where new factors were inserted.

Error and affected-key diagnostics

When error evaluation is enabled, getErrorBefore() and getErrorAfter() report the nonlinear objective around the update. Key-set accessors distinguish observed, marked, unused, and factor-removal-related variables. getBatchReorderTriggered() and getTreeNnz() expose structural events.

Source

ISAM2Result.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.