diff --git a/d0/df1/z__function_8cpp__incl.map b/d0/df1/z__function_8cpp__incl.map new file mode 100644 index 000000000..bacfcdc0a --- /dev/null +++ b/d0/df1/z__function_8cpp__incl.map @@ -0,0 +1,7 @@ + diff --git a/d0/df1/z__function_8cpp__incl.md5 b/d0/df1/z__function_8cpp__incl.md5 new file mode 100644 index 000000000..ba234f97f --- /dev/null +++ b/d0/df1/z__function_8cpp__incl.md5 @@ -0,0 +1 @@ +b81f9d648bffbbf0a41ae13bb9d1e19d \ No newline at end of file diff --git a/d0/df1/z__function_8cpp__incl.svg b/d0/df1/z__function_8cpp__incl.svg new file mode 100644 index 000000000..92b8b49d0 --- /dev/null +++ b/d0/df1/z__function_8cpp__incl.svg @@ -0,0 +1,82 @@ + + + + + diff --git a/d3/d80/z__function_8cpp.html b/d3/d80/z__function_8cpp.html new file mode 100644 index 000000000..32b010a39 --- /dev/null +++ b/d3/d80/z__function_8cpp.html @@ -0,0 +1,343 @@ + + +
+ + + + +|
+ Algorithms_in_C++ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
The Z function for finding occurences of a pattern within a piece of text with time and space complexity O(n + m) +More...
+#include <iostream>#include <cstring>#include <cassert>#include <vector>+Functions | |
| std::vector< uint64_t > | Z_function (const std::string &pattern) |
| for IO operations More... | |
| std::vector< uint64_t > | find_pat_in_text (const std::string &pattern, const std::string &text) |
| Using Z_function to find a pattern in a text. More... | |
| static void | test () |
| Self-test implementations. More... | |
| int | main () |
| Main function. More... | |
The Z function for finding occurences of a pattern within a piece of text with time and space complexity O(n + m)
+| std::vector< uint64_t > find_pat_in_text | +( | +const std::string & | +pattern, | +
| + | + | const std::string & | +text | +
| + | ) | ++ |
Using Z_function to find a pattern in a text.
+| [in] | pattern | string pattern to search |
| [in] | text | text in which to search |
| int main | +( | +void | +) | ++ |
+
|
+ +static | +
Self-test implementations.
+| std::vector< uint64_t > Z_function | +( | +const std::string & | +pattern | ) | ++ |
for IO operations
+for string for assert for std::vector
+Generate the Z-function for the inputted string.
| [in] | pattern | text on which to apply the Z-function |
|
+ Algorithms_in_C++ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+