Gecode::ProjectorCompiler Class Reference
#include <projectors-compiler.hh>
Detailed Description
Compiler from projector specifications to C++.Definition at line 70 of file projectors-compiler.hh.
Configuration options | |
bool | compiletest |
Whether to generate a test case, default=false. | |
FixpointType | fixpoint |
What fixpoint to compute, default=ITER_FIX. | |
ViewsType | views |
How generic the propagator is, default=SINGLE_VIEW. | |
Public Types | |
enum | FixpointType { NO_FIX, ITER_FIX } |
Description of the fixpoint to compute. More... | |
enum | ViewsType { SINGLE_VIEW, MULTI_VIEW } |
Description of how generic the propagator should be. More... | |
Public Member Functions | |
ProjectorCompiler (std::ostream &hhos, std::ostream &iccos, const ProjectorPropagatorSpec &spec) | |
Construct compiler. | |
void | compile (void) |
Do the compilation. | |
Classes | |
class | Indent |
Indentation helper class. More... |
Member Enumeration Documentation
Description of the fixpoint to compute.
- Enumerator:
-
NO_FIX Do not compute fixpoint, return ES_NOFIX. ITER_FIX Compute fixpoint by iteration.
Definition at line 131 of file projectors-compiler.hh.
Description of how generic the propagator should be.
- Enumerator:
-
SINGLE_VIEW Make propagator parametric in a single view. MULTI_VIEW Make propagator parametric in one view per variable.
Definition at line 136 of file projectors-compiler.hh.
Constructor & Destructor Documentation
Gecode::ProjectorCompiler::ProjectorCompiler | ( | std::ostream & | hhos, | |
std::ostream & | iccos, | |||
const ProjectorPropagatorSpec & | spec | |||
) |
Member Function Documentation
void Gecode::ProjectorCompiler::compile | ( | void | ) |
Member Data Documentation
Whether to generate a test case, default=false.
Definition at line 144 of file projectors-compiler.hh.
How generic the propagator is, default=SINGLE_VIEW.
Definition at line 148 of file projectors-compiler.hh.
The documentation for this class was generated from the following files:
- gecode/set/projectors-compiler.hh (Revision: 4790)
- gecode/set/projectors/compiler.cc (Revision: 5862)