48 os <<
"trace<Set>::init(id:" << t.
id();
58 os <<
"trace<Set>::prune(id:" << t.
id();
61 os <<
"): [" << i <<
"] = " << t[
i] <<
" + {";
65 os << glb.min() <<
".." << glb.max();
68 os <<
"," << glb.min() <<
".." << glb.max();
77 os << lub.min() <<
".." << lub.max();
80 os <<
"," << lub.min() <<
".." << lub.max();
85 os <<
"} by " << ei << std::endl;
90 os <<
"trace<Set>::fix(id:" << t.
id();
97 double p_c = 100.0 * (sl_c / sl_i);
98 double p_d = 100.0 * (sl_p / sl_i) - p_c;
99 os << std::showpoint << std::setprecision(4)
101 << std::showpoint << std::setprecision(4)
108 os <<
"trace<Set>::done(id:" << t.
id();
111 os <<
") slack: 0%" << std::endl;
bool in(Group a) const
Check whether actor group a is included in this group.
const Slack & slack(void) const
Provide access to slack information.
SlackValue initial(void) const
Return initial slack value.
Standard set variable tracer.
unsigned int id(void) const
Return a unique id for the group.
Print that trace recorder is virtual done void done(const Space &home, const SetTraceRecorder &t)
unsigned int id(void) const
Return propagator id.
Print prune virtual information void prune(const Space &home, const SetTraceRecorder &t, const ExecInfo &ei, int i, SetTraceDelta &d)
Gecode::IntArgs i(4, 1, 2, 3, 4)
Propagator for recording trace information.
Print init virtual information void init(const Space &home, const SetTraceRecorder &t)
PropagatorGroup group(void) const
Return group propagator belongs to.
Output stream to use std::ostream & os
Trace delta information for set variables.
SlackValue previous(void) const
Return previous slack value.
Gecode toplevel namespace
SlackValue current(void) const
Return current slack value.
Initialize with output stream a os0 StdSetTracer(std::ostream &os0=std::cerr)
Print fixpoint virtual information void fix(const Space &home, const SetTraceRecorder &t)