44 #ifndef ROL_COMBINEDSTATUSTEST_H 45 #define ROL_COMBINEDSTATUSTEST_H 60 std::vector<ROL::Ptr<StatusTest<Real> > >
status_;
72 status_.push_back(status);
76 int size =
static_cast<int>(status_.size());
82 for (
int i = 0; i < size; ++i) {
83 if (!(status_[i]->
check(state))) {
State for algorithm class. Will be used for restarts.
Provides an interface to check status of optimization algorithms.
std::vector< ROL::Ptr< StatusTest< Real > > > status_
Provides an interface to check two status tests of optimization algorithms.
void add(const ROL::Ptr< StatusTest< Real > > &status)
bool check(AlgorithmState< Real > &state)
Check algorithm status.