/** * Iterate over the entire space and check if the candidates mapped to * this space are valid. If they are valid, then add them to the list. */ void operator() (const pfunc::space_1D& space) { for(size_t i=space.begin();i<space.end();++i) A->initialize_X((*map)(i)); }