Skip to content

Commit

Permalink
More doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Oct 2, 2024
1 parent 60cb1e4 commit 6e33702
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions include/libsemigroups/ukkonen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,7 @@ namespace libsemigroups {
//!
//! \returns A value of type `word_index_type`.
//!
//! \exceptions
//! \no_libsemigroups_except
//! \throws LibsemigroupsException if ``n.parent == UNDEFINED``
//!
//! \complexity
//! Constant.
Expand Down Expand Up @@ -679,8 +678,8 @@ namespace libsemigroups {
//!
//! \returns A value of type `word_index_type`.
//!
//! \exceptions
//! \no_libsemigroups_except
//! \throws LibsemigroupsException if \p i is greater than
//! ``length_of_distinct_words() + number_of_distinct_words()``
//!
//! \complexity
//! Constant.
Expand All @@ -706,7 +705,7 @@ namespace libsemigroups {
//! \no_libsemigroups_except
//!
//! \complexity
//! At worst the distance of the node \p n from the root.
//! At worst linear in the distance of the node \p n from the root.
size_t distance_from_root(Node const& n) const;

//! \brief Check if a state corresponds to a suffix.
Expand All @@ -721,9 +720,6 @@ namespace libsemigroups {
//!
//! \exceptions
//! \no_libsemigroups_except
//!
//! \complexity
//! At worst the distance of the node \p n from the root.
word_index_type is_suffix(State const& st) const;

//! \brief Returns the multiplicity of a word by index.
Expand Down Expand Up @@ -2363,7 +2359,7 @@ namespace libsemigroups {
//!
//! Internally, all words added to the suffix tree are stored as a single
//! string delimited by unique letters. The edge labels present in this \ref
//! Dot object correspond intervals of letters in that delimited string.
//! Dot object correspond to intervals of letters in that delimited string.
//!
//! \param u the Ukkonen object.
//!
Expand Down

0 comments on commit 6e33702

Please sign in to comment.