mCRL2
|
#include <check_complexity.h>
Public Member Functions | |
bool | no_temporary_work (unsigned const max_B, bool const bottom) |
ensures there is no orphaned temporary work counter | |
Public Member Functions inherited from mcrl2::lts::detail::check_complexity::counter_t< STATE_MIN, STATE_MAX, STATE_MIN_TEMP,(enum counter_type)(STATE_MAX_TEMP+1)> | |
bool | cancel_work (enum counter_type const ctr) |
cancel temporary work | |
bool | finalise_work (enum counter_type const from, enum counter_type const to, unsigned const max_value) |
move temporary work to its final counter | |
counter_t () | |
constructor, initializes all counters to 0 | |
bool | add_work (enum counter_type const ctr, unsigned const max_value) |
register work with some counter | |
bool | move_work (enum counter_type const from, enum counter_type const to, unsigned const max_value) |
move temporary work to another counter | |
Additional Inherited Members | |
Public Attributes inherited from mcrl2::lts::detail::check_complexity::counter_t< STATE_MIN, STATE_MAX, STATE_MIN_TEMP,(enum counter_type)(STATE_MAX_TEMP+1)> | |
unsigned char | counters [LastCounter - FirstCounter+1] |
actual space to store the counters | |
Definition at line 828 of file check_complexity.h.
|
inline |
ensures there is no orphaned temporary work counter
When a refinement has finished, all work registered with temporary counters should have been moved to normal counters. Further, there should not be any work ascribed to bottom-state counters in non-bottom states, but only to (new) bottom states. This function verifies these properties. It also sets all counters for bottom states to 1 so that later no more work can be assigned to them. The function additionally ensures that no work counter exceeds its maximal allowed value, based on the size of the block of which the state is a member.
max_B | log2(n) - log2(size of the block containing this state) |
bottom | true iff the state to which these counters belong is a bottom state |
mCRL2complexity()
, because that macro will print the remainder of the error message as needed. Definition at line 853 of file check_complexity.h.