#include <GSEClause.h>
Collaboration diagram for GSEClause:
Public Member Functions | |
bool | OK () const |
Accessors | |
Array * | get_map () const |
Get a pointer to the map variable constrained by this clause. | |
string | get_map_max_value () const |
Get the maximum map vector value. | |
string | get_map_min_value () const |
Get the minimum map vector value. | |
string | get_map_name () const |
Get the name of the map variable constrained by this clause. | |
int | get_start () const |
Get the starting index of the clause's map variable as constrained by this clause. | |
int | get_stop () const |
Get the stopping index of the clause's map variable as constrained by this clause. | |
Constructors | |
GSEClause (Grid *grid, const string &map, const double value1, const relop op1, const double value2, const relop op2) | |
Create an instance using discrete parameters. | |
GSEClause (Grid *grid, const string &map, const double value, const relop op) | |
Create an instance using discrete parameters. | |
Mutators | |
void | set_map (Array *map) |
Set the pointer to the map vector contrained by this clause. | |
void | set_start (int start) |
Set the starting index. | |
void | set_stop (int stop) |
Set the stopping index. |
Definition at line 71 of file GSEClause.h.
Definition at line 208 of file GSEClause.cc.
References DBG, Array::dim_begin(), Array::dimension_start(), Array::dimension_stop(), BaseType::name(), BaseType::toString(), and Grid::var().
Here is the call graph for this function:
GSEClause::GSEClause | ( | Grid * | grid, | |
const string & | map, | |||
const double | value1, | |||
const relop | op1, | |||
const double | value2, | |||
const relop | op2 | |||
) |
Definition at line 231 of file GSEClause.cc.
References DBG, Array::dim_begin(), Array::dimension_start(), Array::dimension_stop(), BaseType::name(), BaseType::toString(), and Grid::var().
Here is the call graph for this function:
Array * GSEClause::get_map | ( | ) | const |
string GSEClause::get_map_max_value | ( | ) | const |
Useful in messages back to users.
Definition at line 342 of file GSEClause.cc.
string GSEClause::get_map_min_value | ( | ) | const |
Useful in messages back to users.
Definition at line 332 of file GSEClause.cc.
string GSEClause::get_map_name | ( | ) | const |
Definition at line 287 of file GSEClause.cc.
References BaseType::name().
Here is the call graph for this function:
int GSEClause::get_start | ( | ) | const |
int GSEClause::get_stop | ( | ) | const |
bool GSEClause::OK | ( | ) | const |
Class invariant.
Definition at line 256 of file GSEClause.cc.
void GSEClause::set_map | ( | Array * | map | ) |
Note that this method also sets the name of the map vector.
Definition at line 279 of file GSEClause.cc.
void GSEClause::set_start | ( | int | start | ) |
void GSEClause::set_stop | ( | int | stop | ) |