
#include <gecode/flatzinc.hh>#include <gecode/flatzinc/registry.hh>#include <gecode/flatzinc/plugin.hh>#include <gecode/flatzinc/branch.hh>#include <gecode/search.hh>#include <vector>#include <string>#include <sstream>#include <limits>#include <unordered_set>Go to the source code of this file.
Classes | |
| struct | std::hash< Gecode::TupleSet > |
| Hashing for tuple sets. More... | |
| struct | std::hash< Gecode::SharedArray< int > > |
| Hashing for tuple sets. More... | |
| struct | std::hash< Gecode::DFA > |
| Hashing for DFAs. More... | |
| class | Gecode::FlatZinc::AuxVarBrancher |
| Branching on the introduced variables. More... | |
| class | Gecode::FlatZinc::AuxVarBrancher::Choice |
| Choice that only signals failure or success More... | |
| class | Gecode::FlatZinc::BranchInformationO |
| class | Gecode::FlatZinc::FlatZincSpaceInitData |
| class | Gecode::FlatZinc::GistEngine< Engine > |
| Traits class for search engines. More... | |
| class | Gecode::FlatZinc::GistEngine< DFS< S > > |
| Specialization for DFS. More... | |
| class | Gecode::FlatZinc::GistEngine< BAB< S > > |
| Specialization for BAB. More... | |
| class | Gecode::FlatZinc::FZPrintingInspector< S > |
| An inspector for printing simple text output. More... | |
| class | Gecode::FlatZinc::FZPrintingComparator< S > |
| class | Gecode::FlatZinc::FlatZincGetInfo |
Namespaces | |
| std | |
Functions | |
| template<class Var > | |
| void | Gecode::FlatZinc::varValPrint (const Space &home, const Brancher &b, unsigned int a, Var, int i, const int &n, std::ostream &o) |
| void | Gecode::FlatZinc::varValPrintF (const Space &home, const Brancher &b, unsigned int a, FloatVar, int i, const FloatNumBranch &nl, std::ostream &o) |
| IntSet | Gecode::FlatZinc::vs2is (IntVarSpec *vs) |
| int | Gecode::FlatZinc::vs2bsl (BoolVarSpec *bs) |
| int | Gecode::FlatZinc::vs2bsh (BoolVarSpec *bs) |
| TieBreak< IntVarBranch > | Gecode::FlatZinc::ann2ivarsel (AST::Node *ann, Rnd rnd, double decay) |
| IntValBranch | Gecode::FlatZinc::ann2ivalsel (AST::Node *ann, std::string &r0, std::string &r1, Rnd rnd) |
| IntAssign | Gecode::FlatZinc::ann2asnivalsel (AST::Node *ann, Rnd rnd) |
| TieBreak< BoolVarBranch > | Gecode::FlatZinc::ann2bvarsel (AST::Node *ann, Rnd rnd, double decay) |
| BoolValBranch | Gecode::FlatZinc::ann2bvalsel (AST::Node *ann, std::string &r0, std::string &r1, Rnd rnd) |
| BoolAssign | Gecode::FlatZinc::ann2asnbvalsel (AST::Node *ann, Rnd rnd) |
| SetVarBranch | Gecode::FlatZinc::ann2svarsel (AST::Node *ann, Rnd rnd, double decay) |
| SetValBranch | Gecode::FlatZinc::ann2svalsel (AST::Node *ann, std::string r0, std::string r1, Rnd rnd) |
| TieBreak< FloatVarBranch > | Gecode::FlatZinc::ann2fvarsel (AST::Node *ann, Rnd rnd, double decay) |
| FloatValBranch | Gecode::FlatZinc::ann2fvalsel (AST::Node *ann, std::string r0, std::string r1) |
| void | Gecode::FlatZinc::flattenAnnotations (AST::Array *ann, std::vector< AST::Node * > &out) |
| void | Gecode::FlatZinc::printIntVar (std::ostream &os, const std::string name, const Int::IntView &x) |
| void | Gecode::FlatZinc::printBoolVar (std::ostream &os, const std::string name, const BoolVar &b) |
| void | Gecode::FlatZinc::printFloatVar (std::ostream &os, const std::string name, const Float::FloatView &f) |
Variables | |
| Rnd | Gecode::FlatZinc::defrnd (0) |
| Uninitialized default random number generator. More... | |
| void Gecode::FlatZinc::varValPrint | ( | const Space & | home, |
| const Brancher & | b, | ||
| unsigned int | a, | ||
| Var | , | ||
| int | i, | ||
| const int & | n, | ||
| std::ostream & | o | ||
| ) |
Definition at line 340 of file flatzinc.cpp.
| void Gecode::FlatZinc::varValPrintF | ( | const Space & | home, |
| const Brancher & | b, | ||
| unsigned int | a, | ||
| FloatVar | , | ||
| int | i, | ||
| const FloatNumBranch & | nl, | ||
| std::ostream & | o | ||
| ) |
Definition at line 348 of file flatzinc.cpp.
| IntSet Gecode::FlatZinc::vs2is | ( | IntVarSpec * | vs | ) |
Definition at line 356 of file flatzinc.cpp.
| int Gecode::FlatZinc::vs2bsl | ( | BoolVarSpec * | bs | ) |
Definition at line 376 of file flatzinc.cpp.
| int Gecode::FlatZinc::vs2bsh | ( | BoolVarSpec * | bs | ) |
Definition at line 388 of file flatzinc.cpp.
Definition at line 400 of file flatzinc.cpp.
| IntValBranch Gecode::FlatZinc::ann2ivalsel | ( | AST::Node * | ann, |
| std::string & | r0, | ||
| std::string & | r1, | ||
| Rnd | rnd | ||
| ) |
Definition at line 449 of file flatzinc.cpp.
Definition at line 500 of file flatzinc.cpp.
Definition at line 518 of file flatzinc.cpp.
| BoolValBranch Gecode::FlatZinc::ann2bvalsel | ( | AST::Node * | ann, |
| std::string & | r0, | ||
| std::string & | r1, | ||
| Rnd | rnd | ||
| ) |
Definition at line 552 of file flatzinc.cpp.
Definition at line 603 of file flatzinc.cpp.
Definition at line 621 of file flatzinc.cpp.
| SetValBranch Gecode::FlatZinc::ann2svalsel | ( | AST::Node * | ann, |
| std::string | r0, | ||
| std::string | r1, | ||
| Rnd | rnd | ||
| ) |
Definition at line 659 of file flatzinc.cpp.
Definition at line 689 of file flatzinc.cpp.
| FloatValBranch Gecode::FlatZinc::ann2fvalsel | ( | AST::Node * | ann, |
| std::string | r0, | ||
| std::string | r1 | ||
| ) |
Definition at line 733 of file flatzinc.cpp.
| void Gecode::FlatZinc::flattenAnnotations | ( | AST::Array * | ann, |
| std::vector< AST::Node * > & | out | ||
| ) |
Definition at line 1022 of file flatzinc.cpp.
| void Gecode::FlatZinc::printIntVar | ( | std::ostream & | os, |
| const std::string | name, | ||
| const Int::IntView & | x | ||
| ) |
Definition at line 1760 of file flatzinc.cpp.
| void Gecode::FlatZinc::printBoolVar | ( | std::ostream & | os, |
| const std::string | name, | ||
| const BoolVar & | b | ||
| ) |
Definition at line 1779 of file flatzinc.cpp.
| void Gecode::FlatZinc::printFloatVar | ( | std::ostream & | os, |
| const std::string | name, | ||
| const Float::FloatView & | f | ||
| ) |
Definition at line 1786 of file flatzinc.cpp.
| GECODE_FLATZINC_EXPORT Rnd Gecode::FlatZinc::defrnd | ( | 0 | ) |
Uninitialized default random number generator.
Definition at line 420 of file flatzinc.hh.