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