44 #include "IterationPack_print_algorithm_step.hpp"
46 void IterationPack::print_algorithm_step(
const Algorithm& algo
47 , Algorithm::poss_type step_poss, EDoStepType type
48 , Algorithm::poss_type assoc_step_poss, std::ostream& out )
50 out <<
"\n(" << algo.state().k() <<
") " << step_poss;
51 if(type == DO_MAIN_STEP) {
53 <<
": \"" << algo.get_step_name(step_poss) <<
"\"";
56 EAssocStepType _type = (type == DO_PRE_STEP ? PRE_STEP : POST_STEP );
57 int num_assoc_steps = algo.num_assoc_steps(step_poss,_type);
61 out << - num_assoc_steps + ((int)assoc_step_poss - 1);
64 out << assoc_step_poss;
67 out <<
": \"" << algo.get_assoc_step_name(step_poss,_type,assoc_step_poss) <<
"\"";