mCRL2
|
#include <check_complexity.h>
Public Member Functions | |
result_type | no_temporary_work (unsigned const max_C, unsigned const max_B) |
ensures there is no orphaned temporary work counter | |
![]() | |
result_type | cancel_work (enum counter_type const ctr) |
cancel temporary work | |
result_type | 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 | |
result_type | add_work (enum counter_type const ctr, unsigned const max_value) |
register work with some counter | |
Additional Inherited Members | |
![]() | |
unsigned char | counters [LastCounter - FirstCounter+1] |
actual space to store the counters | |
![]() | |
result_type | move_work (enum counter_type const from, enum counter_type const to, unsigned const max_value) |
move temporary work to another counter | |
Definition at line 1503 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. This function verifies this property. The function additionally ensures that no work counter exceeds its maximal allowed value, based on the size of the block or its constellation. (The size of the constellation is the unit used for counters related to [blocks in the] splitter constellation; the size of the block is used for other counters.)
max_B | ilog2(n) - ilog2(size of block) |
mCRL2complexity()
, because that macro will print the remainder of the error message as needed. Definition at line 1522 of file check_complexity.h.