assertion groups.
More...
Detailed Description
assertion groups.
An API that allows grouping of constraints. groups can be freely created and destroyed. The assertions and assumptions are automatically added to the currently selected group. Changing group is possible at any time.
Groups are created by adding a guard variable (implication) to each expression.
Note that the current group can not be deleted because the current group would be undefined or non-deterministic.
Typedef Documentation
Function Documentation
template<typename Context >
void metaSMT::change_group |
( |
Context & |
ctx, |
|
|
guard_type |
guard |
|
) |
| |
change the current constraint group
- Parameters:
-
ctx | The context to work on |
guard | The group to change to |
- Returns:
- void
Definition at line 211 of file Group.hpp.
template<typename Context >
guard_type metaSMT::create_group |
( |
Context & |
ctx | ) |
|
create a new constraint group
- Parameters:
-
ctx | The context to work on |
- Returns:
- a handle that identifies the group
Definition at line 175 of file Group.hpp.
template<typename Context >
guard_type metaSMT::current_group |
( |
Context & |
ctx | ) |
|
get the current group guard
- Parameters:
-
ctx | The context to work on |
- Returns:
- The handle for the current constraint group
Definition at line 226 of file Group.hpp.
template<typename Context >
void metaSMT::delete_group |
( |
Context & |
ctx, |
|
|
guard_type |
guard |
|
) |
| |
delete a constraint group
- Parameters:
-
ctx | The context to work on |
guard | The group to delete |
- Returns:
- void
Behaviour is undefined if the current group is deleted. Call change_group before deleting the current group.
Definition at line 194 of file Group.hpp.