Gecode::StdSetTracer Class Reference
[Tracing for set variables]
Standard set variable tracer. More...
#include <set.hh>
Public Member Functions | |
StdSetTracer (std::ostream &os0=std::cerr) | |
Initialize with output stream os0. | |
virtual void | init (const Space &home, const SetTraceRecorder &t) |
Print init information. | |
virtual void | prune (const Space &home, const SetTraceRecorder &t, const ViewTraceInfo &vti, int i, SetTraceDelta &d) |
Print prune information. | |
virtual void | fix (const Space &home, const SetTraceRecorder &t) |
Print fixpoint information. | |
virtual void | fail (const Space &home, const SetTraceRecorder &t) |
Print failure information. | |
virtual void | done (const Space &home, const SetTraceRecorder &t) |
Print that trace recorder is done. | |
Static Public Attributes | |
static StdSetTracer | def |
Default tracer (printing to std::cerr). | |
Protected Attributes | |
std::ostream & | os |
Output stream to use. |
Detailed Description
Standard set variable tracer.
Definition at line 1783 of file set.hh.
Constructor & Destructor Documentation
Gecode::StdSetTracer::StdSetTracer | ( | std::ostream & | os0 = std::cerr |
) |
Initialize with output stream os0.
Definition at line 39 of file tracer.cpp.
Member Function Documentation
void Gecode::StdSetTracer::init | ( | const Space & | home, | |
const SetTraceRecorder & | t | |||
) | [virtual] |
Print init information.
Definition at line 43 of file tracer.cpp.
void Gecode::StdSetTracer::prune | ( | const Space & | home, | |
const SetTraceRecorder & | t, | |||
const ViewTraceInfo & | vti, | |||
int | i, | |||
SetTraceDelta & | d | |||
) | [virtual] |
Print prune information.
Definition at line 52 of file tracer.cpp.
void Gecode::StdSetTracer::fix | ( | const Space & | home, | |
const SetTraceRecorder & | t | |||
) | [virtual] |
Print fixpoint information.
Definition at line 85 of file tracer.cpp.
void Gecode::StdSetTracer::fail | ( | const Space & | home, | |
const SetTraceRecorder & | t | |||
) | [virtual] |
Print failure information.
Definition at line 103 of file tracer.cpp.
void Gecode::StdSetTracer::done | ( | const Space & | home, | |
const SetTraceRecorder & | t | |||
) | [virtual] |
Print that trace recorder is done.
Definition at line 121 of file tracer.cpp.
Member Data Documentation
std::ostream& Gecode::StdSetTracer::os [protected] |
StdSetTracer Gecode::StdSetTracer::def [static] |
The documentation for this class was generated from the following files:
- gecode/set.hh
- gecode/set/trace/tracer.cpp