clear¶
-
void
libsemigroups::Forest
::
clear
()¶ Removes all nodes from the forest.
- Return
(None)
- Exceptions
This function is
noexcept
and is guaranteed never to throw.- Complexity
Linear in nr_nodes().
- Iterator validity
This function modifies the object defined by
this
, any iterators, pointers or references pointing intothis
may be invalidated by a call to this function.- Parameters
(None)