clear¶
-
void
libsemigroups::Forest::clear() noexcept¶ Removes all nodes from the forest.
- Return
(None)
- Exceptions
This function is
noexceptand 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 intothismay be invalidated by a call to this function.- Parameters
(None)