|
const auto & | at (const key_type &key) const |
|
auto | begin () const |
|
auto | end () const |
|
auto | empty () const |
|
auto | size () const |
|
void | clear () |
|
template<typename P > |
auto | insert (const P &pair) |
|
template<typename P > |
auto | insert (typename Map::const_iterator it, const P &pair) |
|
template<typename... Args> |
auto | emplace (const key_type &key, Args &&...args) |
|
template<typename... Args> |
auto | emplace_hint (typename Map::const_iterator it, const key_type &key, Args &&...args) |
|
Map::iterator | erase (const ModelVariable &variable) |
|
Map::iterator | erase (const typename Map::iterator &it) |
|
Map::iterator | erase (const typename Map::const_iterator &it) |
|
void | clean () |
|
auto | find (const typename Map::key_type &key) const |
|
auto | find (const typename Map::key_type &key) |
|
| Model ()=default |
|
| Model (const std::map< Variable, Rational > &assignment) |
|
template<typename Container > |
bool | contains (const Container &c) const |
|
template<typename T > |
void | assign (const typename Map::key_type &key, const T &t) |
|
void | update (const Model &model, bool disjoint=true) |
|
const ModelValue< Rational, Poly > & | evaluated (const typename Map::key_type &key) const |
| Return the ModelValue for the given key, evaluated if it's a ModelSubstitution and evaluatable, otherwise return it raw. More...
|
|
void | print (std::ostream &os, bool simple=true) const |
|
void | printOneline (std::ostream &os, bool simple=false) const |
|
template<typename Rational, typename Poly>
class carl::Model< Rational, Poly >
Represent a collection of assignments/mappings from variables to values.
We use a ModelVariable to abstract over the different kinds of variables in CARL, and a ModelValue to abstract over the different kinds of values for these variables. Most notably, a value can be a "carl::ModelSubstitution" whose value depends on the values of other variables in the Model.
Definition at line 19 of file Model.h.