Construct the suffix array. */
| 40 | |
| 41 | /** Construct the suffix array. */ |
| 42 | void construct() |
| 43 | { |
| 44 | if (m_dirty) |
| 45 | sort(m_data.begin(), m_data.end()); |
| 46 | m_dirty = false; |
| 47 | } |
| 48 | |
| 49 | /** Find all the elements whose suffix matches the prefix of the |
| 50 | * specified query sequence. |
no test coverage detected