Initialisation¶
This page contains information about the member functions of the Blocks
class that can be used for initialisation.
-
inline void libsemigroups::Blocks::set_block(size_t i, uint32_t val)¶
Set the block that a point belongs to.
- Complexity
At worst linear in
degree()
.
Warning
No checks are made on the validity of the arguments to this function.
- Parameters
i – the point.
val – the block that
i
should belong to.
- Throws
(None) – This function guarantees not to throw a
LibsemigroupsException
.- Returns
(None)
-
inline void libsemigroups::Blocks::set_is_transverse_block(size_t i, bool val)¶
Set whether or not the block containing a point is transverse.
- Complexity
Constant.
Warning
No checks are made on the validity of the arguments to this function.
- Parameters
i – the point.
val – whether or not the block containing
i
is transverse.
- Throws
(None) – This function guarantees not to throw a
LibsemigroupsException
.- Returns
(None)