27#ifndef SPARSE_OPTIMIZER_TERMINATE_ACTION_H
28#define SPARSE_OPTIMIZER_TERMINATE_ACTION_H
54 void setGainThreshold(
double gainThreshold);
57 void setMaxIterations(
int maxit);
Abstract action that operates on an entire graph.
stop iterating based on the gain which is (oldChi - currentChi) / currentChi.
int maxIterations() const
double gainThreshold() const