Generated on Fri Oct 19 11:25:52 2018 for Gecode by doxygen 1.6.3

Gecode::StdTracer Class Reference
[Tracing constraint propagation]

Default tracer. More...

#include <tracer.hpp>

List of all members.

Public Member Functions

 StdTracer (std::ostream &os=std::cerr)
 Initialize with output stream os.
virtual void propagate (const Space &home, const PropagateTraceInfo &pti)
 Propagate function.
virtual void commit (const Space &home, const CommitTraceInfo &cti)
 Commit function.

Static Public Attributes

static StdTracer def
 Default tracer (printing to std::cerr).

Protected Attributes

std::ostream & os
 Output stream to use.

Detailed Description

Default tracer.

Definition at line 194 of file tracer.hpp.


Constructor & Destructor Documentation

Gecode::StdTracer::StdTracer ( std::ostream &  os = std::cerr  ) 

Initialize with output stream os.

Definition at line 41 of file tracer.cpp.


Member Function Documentation

void Gecode::StdTracer::propagate ( const Space home,
const PropagateTraceInfo pti 
) [virtual]

Propagate function.

The propagate function is called when a propagator has been executed.

Implements Gecode::Tracer.

Definition at line 44 of file tracer.cpp.

void Gecode::StdTracer::commit ( const Space home,
const CommitTraceInfo cti 
) [virtual]

Commit function.

The commit function is called when a brancher has executed a commit operation.

Implements Gecode::Tracer.

Definition at line 50 of file tracer.cpp.


Member Data Documentation

std::ostream& Gecode::StdTracer::os [protected]

Output stream to use.

Definition at line 197 of file tracer.hpp.

Default tracer (printing to std::cerr).

Definition at line 218 of file tracer.hpp.


The documentation for this class was generated from the following files: