24 #ifndef LOCK_H_INCLUDED 25 #define LOCK_H_INCLUDED 191 std::map<ID_t, std::string> lockName;
Namespace for csl library.
Definition: abreviation.h:34
static void unlock(Expr &init, int lockId)
Expand abbreviations from a previous lock. The lock id should be the same.
Definition: lock.cpp:55
static std::string lockNameOf(ID_t id)
Returns the generic abbreviation name of a lock given its id.
Definition: lock.cpp:26
Static class allowing to compress expressions given a boolean predicate.
Definition: lock.h:44
std::function< bool(Expr const &)> predicate
Typedef for the boolean predicate.
Definition: lock.h:55
int ID_t
Typedef for lock id.
Definition: lock.h:51
static void lock(Expr &init, int lockId, predicate const &f)
Abbreviates all parts of an expression depending on a condition.
Definition: lock.cpp:33
Expression type/.
Definition: abstract.h:1573