gko::stop::Combined#
Meta-criterion: holds a list of inner CriterionFactory objects and stops
the solver as soon as any of them fires. The standard
pattern is Combined::build().with_criteria(iteration_factory, residual_factory): iteration cap as a safety net, tolerance test as
the primary stopping condition. Solvers combine the criteria passed to
with_criteria(...) the same way, so Combined is rarely spelled out.
-
class Combined #
Inherits from
public gko::stop::Criterion
The Combined class is used to combine multiple criterions together through an OR operation. The typical use case is to stop the iteration process if any of the criteria is fulfilled, e.g. a number of iterations, the relative residual norm has reached a threshold, etc.
-
struct parameters_type #
Inherits from
public gko::enable_parameters_type<parameters_type, Factory>
-
class Factory #
Inherits from
public gko::EnableDefaultFactory<ConcreteFactory, ConcreteCriterion, ParametersType, PolymorphicBase>