diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e026567 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,40 @@ +name: Web + +on: + push: + branches: ["main"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: 'web/' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml new file mode 100644 index 0000000..3ee1f6f --- /dev/null +++ b/.github/workflows/document.yml @@ -0,0 +1,42 @@ +name: Web +# (Learning about) Autogenerated documentation for GitHub Pages. + +on: + pull_request: + branches: [ "main" ] + + +jobs: + documentation: + runs-on: ubuntu-latest + + steps: + - name: Checkout branch + uses: actions/checkout@v4 + with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} + + - name: Generate documentation + uses: mattnotmitt/doxygen-action@v1.12.0 + + - name: No Jekyll + run: touch web/.nojekyll + + - name: Commit changes + uses: EndBug/add-and-commit@latest + with: + add: 'web/' + + author_name: Lazy Vayu + author_email: pawanmsr@outlook.com + + commit: --signoff + committer_name: Workflow Automation + committer_email: 25368219+pawanmsr@users.noreply.github.com + + default_author: github_actor + message: 'generate documentation' + + pathspec_error_handling: ignore + push: true diff --git a/Doxyfile b/Doxyfile new file mode 100644 index 0000000..fb71076 --- /dev/null +++ b/Doxyfile @@ -0,0 +1,425 @@ +# Doxyfile 1.16.1 + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = "N-Methods" +PROJECT_NUMBER = +PROJECT_BRIEF = +PROJECT_LOGO = +PROJECT_ICON = +OUTPUT_DIRECTORY = +CREATE_SUBDIRS = NO +CREATE_SUBDIRS_LEVEL = 8 +ALLOW_UNICODE_NAMES = NO +OUTPUT_LANGUAGE = English +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = YES +STRIP_FROM_PATH = +STRIP_FROM_INC_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +JAVADOC_BANNER = NO +QT_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +PYTHON_DOCSTRING = YES +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 4 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = NO +OPTIMIZE_OUTPUT_JAVA = NO +OPTIMIZE_FOR_FORTRAN = NO +OPTIMIZE_OUTPUT_VHDL = NO +OPTIMIZE_OUTPUT_SLICE = NO +EXTENSION_MAPPING = +MARKDOWN_SUPPORT = YES +MARKDOWN_STRICT = YES +TOC_INCLUDE_HEADINGS = 6 +MARKDOWN_ID_STYLE = DOXYGEN +AUTOLINK_SUPPORT = YES +AUTOLINK_IGNORE_WORDS = +BUILTIN_STL_SUPPORT = NO +CPP_CLI_SUPPORT = NO +SIP_SUPPORT = NO +IDL_PROPERTY_SUPPORT = YES +DISTRIBUTE_GROUP_DOC = NO +GROUP_NESTED_COMPOUNDS = NO +SUBGROUPING = YES +INLINE_GROUPED_CLASSES = NO +INLINE_SIMPLE_STRUCTS = NO +TYPEDEF_HIDES_STRUCT = NO +LOOKUP_CACHE_SIZE = 0 +NUM_PROC_THREADS = 1 +TIMESTAMP = NO +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = NO +EXTRACT_PRIVATE = NO +EXTRACT_PRIV_VIRTUAL = NO +EXTRACT_PACKAGE = NO +EXTRACT_STATIC = NO +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = NO +EXTRACT_ANON_NSPACES = NO +RESOLVE_UNNAMED_PARAMS = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_UNDOC_NAMESPACES = YES +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = SYSTEM +HIDE_SCOPE_NAMES = NO +HIDE_COMPOUND_REFERENCE= NO +SHOW_HEADERFILE = YES +SHOW_INCLUDE_FILES = YES +SHOW_GROUPED_MEMB_INC = NO +FORCE_LOCAL_INCLUDES = NO +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +SORT_BRIEF_DOCS = NO +SORT_MEMBERS_CTORS_1ST = NO +SORT_GROUP_NAMES = NO +SORT_BY_SCOPE_NAME = NO +STRICT_PROTO_MATCHING = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +GENERATE_REQUIREMENTS = YES +REQ_TRACEABILITY_INFO = YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +SHOW_FILES = YES +SHOW_NAMESPACES = YES +FILE_VERSION_FILTER = +LAYOUT_FILE = +CITE_BIB_FILES = +EXTERNAL_TOOL_PATH = +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_IF_INCOMPLETE_DOC = YES +WARN_NO_PARAMDOC = NO +WARN_IF_UNDOC_ENUM_VAL = NO +WARN_LAYOUT_FILE = YES +WARN_AS_ERROR = NO +WARN_FORMAT = "$file:$line: $text" +WARN_LINE_FORMAT = "at line $line of file $file" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = src/ include/ doc/ +INPUT_ENCODING = UTF-8 +INPUT_FILE_ENCODING = +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cxxm \ + *.cpp \ + *.cppm \ + *.ccm \ + *.c++ \ + *.c++m \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.idl \ + *.ddl \ + *.odl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.l \ + *.cs \ + *.d \ + *.php \ + *.php4 \ + *.php5 \ + *.phtml \ + *.inc \ + *.m \ + *.markdown \ + *.md \ + *.mm \ + *.dox \ + *.py \ + *.pyw \ + *.f90 \ + *.f95 \ + *.f03 \ + *.f08 \ + *.f18 \ + *.f \ + *.for \ + *.vhd \ + *.vhdl \ + *.ucf \ + *.qsf \ + *.ice +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXCLUDE_SYMBOLS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = * +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = +FILTER_SOURCE_FILES = NO +FILTER_SOURCE_PATTERNS = +USE_MDFILE_AS_MAINPAGE = +IMPLICIT_DIR_DOCS = YES +FORTRAN_COMMENT_AFTER = 72 +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = NO +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = NO +REFERENCES_RELATION = NO +REFERENCES_LINK_SOURCE = YES +SOURCE_TOOLTIPS = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES +CLANG_ASSISTED_PARSING = NO +CLANG_ADD_INC_PATHS = YES +CLANG_OPTIONS = +CLANG_DATABASE_PATH = +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = web/ +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_EXTRA_STYLESHEET = +HTML_EXTRA_FILES = +HTML_COLORSTYLE = AUTO_LIGHT +HTML_COLORSTYLE_HUE = 220 +HTML_COLORSTYLE_SAT = 100 +HTML_COLORSTYLE_GAMMA = 80 +HTML_DYNAMIC_MENUS = YES +HTML_DYNAMIC_SECTIONS = NO +HTML_CODE_FOLDING = YES +HTML_COPY_CLIPBOARD = YES +HTML_PROJECT_COOKIE = +HTML_INDEX_NUM_ENTRIES = 100 +GENERATE_DOCSET = NO +DOCSET_FEEDNAME = "Doxygen generated docs" +DOCSET_FEEDURL = +DOCSET_BUNDLE_ID = org.doxygen.Project +DOCSET_PUBLISHER_ID = org.doxygen.Publisher +DOCSET_PUBLISHER_NAME = Publisher +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +CHM_INDEX_ENCODING = +BINARY_TOC = NO +TOC_EXPAND = NO +SITEMAP_URL = +GENERATE_QHP = NO +QCH_FILE = +QHP_NAMESPACE = org.doxygen.Project +QHP_VIRTUAL_FOLDER = doc +QHP_CUST_FILTER_NAME = +QHP_CUST_FILTER_ATTRS = +QHP_SECT_FILTER_ATTRS = +QHG_LOCATION = +GENERATE_ECLIPSEHELP = NO +ECLIPSE_DOC_ID = org.doxygen.Project +DISABLE_INDEX = NO +GENERATE_TREEVIEW = YES +PAGE_OUTLINE_PANEL = YES +FULL_SIDEBAR = NO +ENUM_VALUES_PER_LINE = 4 +SHOW_ENUM_VALUES = NO +TREEVIEW_WIDTH = 250 +EXT_LINKS_IN_WINDOW = NO +OBFUSCATE_EMAILS = YES +HTML_FORMULA_FORMAT = png +FORMULA_FONTSIZE = 10 +FORMULA_MACROFILE = +USE_MATHJAX = NO +MATHJAX_VERSION = MathJax_2 +MATHJAX_FORMAT = HTML-CSS +MATHJAX_RELPATH = +MATHJAX_EXTENSIONS = +MATHJAX_CODEFILE = +SEARCHENGINE = YES +SERVER_BASED_SEARCH = NO +EXTERNAL_SEARCH = NO +SEARCHENGINE_URL = +SEARCHDATA_FILE = searchdata.xml +EXTERNAL_SEARCH_ID = +EXTRA_SEARCH_MAPPINGS = +#--------------------------------------------------------------------------- +# Configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO +LATEX_OUTPUT = latex +LATEX_CMD_NAME = +MAKEINDEX_CMD_NAME = makeindex +LATEX_MAKEINDEX_CMD = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4 +EXTRA_PACKAGES = +LATEX_HEADER = +LATEX_FOOTER = +LATEX_EXTRA_STYLESHEET = +LATEX_EXTRA_FILES = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +LATEX_BIB_STYLE = plainnat +LATEX_EMOJI_DIRECTORY = +#--------------------------------------------------------------------------- +# Configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +RTF_EXTRA_FILES = +#--------------------------------------------------------------------------- +# Configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_SUBDIR = +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# Configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_PROGRAMLISTING = YES +XML_NS_MEMB_FILE_SCOPE = NO +#--------------------------------------------------------------------------- +# Configuration options related to the DOCBOOK output +#--------------------------------------------------------------------------- +GENERATE_DOCBOOK = NO +DOCBOOK_OUTPUT = docbook +#--------------------------------------------------------------------------- +# Configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# Configuration options related to Sqlite3 output +#--------------------------------------------------------------------------- +GENERATE_SQLITE3 = NO +SQLITE3_OUTPUT = sqlite3 +SQLITE3_RECREATE_DB = YES +#--------------------------------------------------------------------------- +# Configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration options related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +EXTERNAL_PAGES = YES +#--------------------------------------------------------------------------- +# Configuration options related to diagram generator tools +#--------------------------------------------------------------------------- +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = NO +DOT_NUM_THREADS = 0 +DOT_COMMON_ATTR = "fontname=Helvetica,fontsize=10" +DOT_EDGE_ATTR = "labelfontname=Helvetica,labelfontsize=10" +DOT_NODE_ATTR = "shape=box,height=0.2,width=0.4" +DOT_FONTPATH = +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +GROUP_GRAPHS = YES +UML_LOOK = NO +UML_LIMIT_NUM_FIELDS = 10 +UML_MAX_EDGE_LABELS = 10 +DOT_UML_DETAILS = NO +DOT_WRAP_THRESHOLD = 17 +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = NO +CALLER_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DIR_GRAPH_MAX_DEPTH = 1 +DOT_IMAGE_FORMAT = png +INTERACTIVE_SVG = NO +DOT_PATH = +DOTFILE_DIRS = +DIA_PATH = +DIAFILE_DIRS = +PLANTUML_JAR_PATH = +PLANTUML_CFG_FILE = +PLANTUML_INCLUDE_PATH = +PLANTUMLFILE_DIRS = +DOT_GRAPH_MAX_NODES = 50 +MAX_DOT_GRAPH_DEPTH = 0 +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +MSCGEN_TOOL = +MSCFILE_DIRS = diff --git a/web/.nojekyll b/web/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/web/annotated.html b/web/annotated.html new file mode 100644 index 0000000..7d909a3 --- /dev/null +++ b/web/annotated.html @@ -0,0 +1,141 @@ + + +
+ + + + +|
+ N-Methods
+
+ |
+
| ▼Nnm | |
| CArithmetic | |
| CAVL | |
| CBMA | |
| CCoordinateCompression | |
| CFenwick | |
| CHash | |
| CInt32_M | |
| CIntegrator | |
| CKMP | |
| CLink | |
| CModHash | |
| CMultiSort | |
| CNode | |
| CPnC | |
| CPrimality | |
| CRandom | |
| CSearchTree | |
| CSegmentTree | |
| CSLE | |
| CSparse | |
| CSplay | |
| CSpline | |
| CSS | |
| CTwoSat | |
| CUnionFind |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::AVL< C, T, U >, including all inherited members.
+| AVL(std::function< bool(T &, T &)> compare=default_compare< T >, std::int16_t balance_factor=0) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | |
| balance(C *n) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | protected |
| compare (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| create(T x) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| element(std::size_t k, C *n) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| element(size_t k) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| inorder(C *n, std::vector< T > &keys) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| insert(T x, U y) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | |
| insert(T x) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | |
| keys() (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| node(T x, bool return_parent=false, bool mark=false) const (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| obtain(T x) const (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| operator[](T x) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | |
| postorder(C *n, std::vector< T > &keys) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| predecessor(C *n, bool return_parent=false) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| preorder(C *n, std::vector< T > &keys) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| remove(T x) (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | |
| root (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| rotate_left(C *n) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| rotate_right(C *n) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| search(T x) const (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| SearchTree(std::function< bool(T &, T &)> compare=default_compare< T >) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| size() const noexcept (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | |
| successor(C *n, bool return_parent=false) (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | protected |
| ~AVL() (defined in nm::AVL< C, T, U >) | nm::AVL< C, T, U > | inline |
| ~SearchTree() (defined in nm::SearchTree< C, T, U >) | nm::SearchTree< C, T, U > | inline |
|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | AVL (std::function< bool(T &, T &)> compare=default_compare< T >, std::int16_t balance_factor=0) |
| +U | insert (T x, U y) |
| +bool | insert (T x) |
| +bool | remove (T x) |
| +U & | operator[] (T x) |
Public Member Functions inherited from nm::SearchTree< C, T, U > | |
| + | SearchTree (std::function< bool(T &, T &)> compare=default_compare< T >) |
| +U | insert (T x, U y) |
| +bool | insert (T x) |
| +bool | remove (T x) |
| +bool | search (T x) const |
| +U | obtain (T x) const |
| +U & | operator[] (T x) |
| +U | element (size_t k) |
| +std::vector< T > | keys () |
| +std::size_t | size () const noexcept |
+Protected Member Functions | |
| +C * | balance (C *n) |
Protected Member Functions inherited from nm::SearchTree< C, T, U > | |
| +C * | create (T x) |
| +C * | rotate_left (C *n) |
| +C * | rotate_right (C *n) |
| +C * | successor (C *n, bool return_parent=false) |
| +C * | predecessor (C *n, bool return_parent=false) |
| +C * | node (T x, bool return_parent=false, bool mark=false) const |
| +void | inorder (C *n, std::vector< T > &keys) |
| +void | preorder (C *n, std::vector< T > &keys) |
| +void | postorder (C *n, std::vector< T > &keys) |
| +C * | element (std::size_t k, C *n) |
+Additional Inherited Members | |
Protected Attributes inherited from nm::SearchTree< C, T, U > | |
| +C * | root |
| +std::function< bool(T &, T &)> | compare |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Arithmetic< T >, including all inherited members.
+| add(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| Arithmetic(T mod_prime) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| divide(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| fix(T x) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| multiply(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| raise(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| subtract(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| underflow(T x) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| ~Arithmetic() (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | inline |
|
+ N-Methods
+
+ |
+
+
+|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::BMA, including all inherited members.
+| BMA(std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) (defined in nm::BMA) | nm::BMA | |
| case_sensitive (defined in nm::SS) | nm::SS | protected |
| clear() (defined in nm::BMA) | nm::BMA | |
| compare(char x, char y) (defined in nm::SS) | nm::SS | protected |
| critical_memory (defined in nm::SS) | nm::SS | protected |
| delta_function() (defined in nm::BMA) | nm::BMA | protected |
| flush() (defined in nm::SS) | nm::SS | |
| i (defined in nm::SS) | nm::SS | protected |
| memory(bool all=false) (defined in nm::BMA) | nm::BMA | protected |
| n (defined in nm::SS) | nm::SS | protected |
| s (defined in nm::SS) | nm::SS | protected |
| search() (defined in nm::BMA) | nm::BMA | |
| SS(std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) (defined in nm::SS) | nm::SS | |
| stream(char c) (defined in nm::SS) | nm::SS | |
| stream(std::string s) (defined in nm::SS) | nm::SS | |
| w (defined in nm::SS) | nm::SS | protected |
| ~BMA() (defined in nm::BMA) | nm::BMA | inline |
| ~SS() (defined in nm::SS) | nm::SS | inline |
|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | BMA (std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) |
| +void | clear () |
| +std::vector< std::uint32_t > | search () |
Public Member Functions inherited from nm::SS | |
| + | SS (std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) |
| +void | clear () |
| +void | flush () |
| +void | stream (char c) |
| +void | stream (std::string s) |
+Protected Member Functions | |
| +void | delta_function () |
| +std::size_t | memory (bool all=false) |
Protected Member Functions inherited from nm::SS | |
| +bool | compare (char x, char y) |
+Additional Inherited Members | |
Protected Attributes inherited from nm::SS | |
| +bool | case_sensitive |
| +std::size_t | critical_memory |
| +std::string | w |
| +std::string | s |
| +std::size_t | n |
| +std::int32_t | i |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::CoordinateCompression< T >, including all inherited members.
+| coordinate(T x) (defined in nm::CoordinateCompression< T >) | nm::CoordinateCompression< T > | |
| CoordinateCompression(std::vector< T > data) (defined in nm::CoordinateCompression< T >) | nm::CoordinateCompression< T > | |
| element(std::size_t i) (defined in nm::CoordinateCompression< T >) | nm::CoordinateCompression< T > | |
| ~CoordinateCompression() (defined in nm::CoordinateCompression< T >) | nm::CoordinateCompression< T > | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | CoordinateCompression (std::vector< T > data) |
| +std::int32_t | coordinate (T x) |
| +T | element (std::size_t i) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Fenwick< T >, including all inherited members.
+| Fenwick(const std::size_t size, const std::function< T(T, T)> &operation) (defined in nm::Fenwick< T >) | nm::Fenwick< T > | |
| Fenwick(const std::vector< T > &data, const std::function< T(T, T)> &operation) (defined in nm::Fenwick< T >) | nm::Fenwick< T > | |
| query(std::int32_t i) (defined in nm::Fenwick< T >) | nm::Fenwick< T > | |
| query(std::int32_t l, std::int32_t r) (defined in nm::Fenwick< T >) | nm::Fenwick< T > | |
| update(std::int32_t i, T data) (defined in nm::Fenwick< T >) | nm::Fenwick< T > | |
| ~Fenwick() (defined in nm::Fenwick< T >) | nm::Fenwick< T > | inline |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Hash< M, P >, including all inherited members.
+| Hash(std::string &s) (defined in nm::Hash< M, P >) | nm::Hash< M, P > | |
| Interval(std::size_t left, std::size_t right) (defined in nm::Hash< M, P >) | nm::Hash< M, P > | |
| ~Hash() (defined in nm::Hash< M, P >) | nm::Hash< M, P > | inline |
|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | Hash (std::string &s) |
| +std::int64_t | Interval (std::size_t left, std::size_t right) |
Public Member Functions inherited from nm::Arithmetic< std::int64_t > | |
| + | Arithmetic (std::int64_t mod_prime) |
| +std::int64_t | underflow (std::int64_t x) |
| +std::int64_t | fix (std::int64_t x) |
| +std::int64_t | add (std::int64_t x, std::int64_t y) |
| +std::int64_t | subtract (std::int64_t x, std::int64_t y) |
| +std::int64_t | multiply (std::int64_t x, std::int64_t y) |
| +std::int64_t | raise (std::int64_t x, std::int64_t y) |
| +std::int64_t | divide (std::int64_t x, std::int64_t y) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Int32_M< M >, including all inherited members.
+| get_value() const noexcept (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inline |
| Int32_M() (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inline |
| Int32_M(T x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inline |
| Int32_M(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inline |
| inverse() const (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| modulus (defined in nm::Int32_M< M >) | nm::Int32_M< M > | static |
| operator int() const noexcept (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inlinevirtual |
| operator* (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| operator*=(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator+ (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| operator++() (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator++(int) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator+=(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator- (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| operator--() (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator--(int) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator-=(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator/ (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| operator/=(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator<=>(const Int32_M< M > &x) const noexcept (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator<=>(const T &x) const noexcept (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator<=> (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| operator=(const T &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| operator=(const Int32_M< M > &x) (defined in nm::Int32_M< M >) | nm::Int32_M< M > | |
| raise (defined in nm::Int32_M< M >) | nm::Int32_M< M > | friend |
| value (defined in nm::Int32_M< M >) | nm::Int32_M< M > | protected |
| ~Int32_M() (defined in nm::Int32_M< M >) | nm::Int32_M< M > | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| +virtual constexpr | operator int () const noexcept |
| +template<typename T > | |
| constexpr | Int32_M (T x) |
| +constexpr | Int32_M (const Int32_M< M > &x) |
| +int64_t | get_value () const noexcept |
| +Int32_M< M > | inverse () const |
| +template<typename T > | |
| Int32_M< M > & | operator= (const T &x) |
| +Int32_M< M > & | operator= (const Int32_M< M > &x) |
| +Int32_M< M > & | operator+= (const Int32_M< M > &x) |
| +Int32_M< M > & | operator-= (const Int32_M< M > &x) |
| +Int32_M< M > & | operator*= (const Int32_M< M > &x) |
| +Int32_M< M > & | operator/= (const Int32_M< M > &x) |
| +Int32_M< M > & | operator++ () |
| +Int32_M< M > & | operator-- () |
| +Int32_M< M > | operator++ (int) |
| +Int32_M< M > | operator-- (int) |
| +std::strong_ordering | operator<=> (const Int32_M< M > &x) const noexcept |
| +template<typename T > | |
| std::strong_ordering | operator<=> (const T &x) const noexcept |
+Static Public Attributes | |
| +static const std::size_t | modulus = M |
+Protected Attributes | |
| +std::int64_t | value |
+Friends | |
| +template<std::uint64_t T> | |
| std::strong_ordering | operator<=> (const Int32_M< T > &x, const Int32_M< T > &y) noexcept |
| +template<std::uint64_t T, typename U > | |
| Int32_M< T > | raise (const Int32_M< T > &x, const U &y) |
| +template<std::uint64_t T, typename U > | |
| Int32_M< T > | operator+ (const Int32_M< T > &x, const U &y) |
| +template<std::uint64_t T, typename U > | |
| Int32_M< T > | operator- (const Int32_M< T > &x, const U &y) |
| +template<std::uint64_t T, typename U > | |
| Int32_M< T > | operator* (const Int32_M< T > &x, const U &y) |
| +template<std::uint64_t T, typename U > | |
| Int32_M< T > | operator/ (const Int32_M< T > &x, const U &y) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::KMP, including all inherited members.
+| case_sensitive (defined in nm::SS) | nm::SS | protected |
| clear() (defined in nm::KMP) | nm::KMP | |
| compare(char x, char y) (defined in nm::SS) | nm::SS | protected |
| critical_memory (defined in nm::SS) | nm::SS | protected |
| failure_function() (defined in nm::KMP) | nm::KMP | protected |
| flush() (defined in nm::SS) | nm::SS | |
| i (defined in nm::SS) | nm::SS | protected |
| KMP(std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) (defined in nm::KMP) | nm::KMP | |
| memory(bool all=false) (defined in nm::KMP) | nm::KMP | protected |
| n (defined in nm::SS) | nm::SS | protected |
| prefix_function() (defined in nm::KMP) | nm::KMP | protected |
| s (defined in nm::SS) | nm::SS | protected |
| search() (defined in nm::KMP) | nm::KMP | |
| SS(std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) (defined in nm::SS) | nm::SS | |
| stream(char c) (defined in nm::SS) | nm::SS | |
| stream(std::string s) (defined in nm::SS) | nm::SS | |
| w (defined in nm::SS) | nm::SS | protected |
| ~KMP() (defined in nm::KMP) | nm::KMP | inline |
| ~SS() (defined in nm::SS) | nm::SS | inline |
|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | KMP (std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) |
| +void | clear () |
| +std::vector< std::int32_t > | search () |
Public Member Functions inherited from nm::SS | |
| + | SS (std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) |
| +void | clear () |
| +void | flush () |
| +void | stream (char c) |
| +void | stream (std::string s) |
+Protected Member Functions | |
| +std::size_t | memory (bool all=false) |
| +void | prefix_function () |
| +void | failure_function () |
Protected Member Functions inherited from nm::SS | |
| +bool | compare (char x, char y) |
+Additional Inherited Members | |
Protected Attributes inherited from nm::SS | |
| +bool | case_sensitive |
| +std::size_t | critical_memory |
| +std::string | w |
| +std::string | s |
| +std::size_t | n |
| +std::int32_t | i |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::ModHash< M, P >, including all inherited members.
+| clear() (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | |
| Interval(std::size_t left, std::size_t right) (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | |
| ModHash() (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | |
| stream(char c) (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | |
| stream(std::string &s) (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | |
| ~ModHash() (defined in nm::ModHash< M, P >) | nm::ModHash< M, P > | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| +void | clear () |
| +void | stream (char c) |
| +void | stream (std::string &s) |
| +std::int64_t | Interval (std::size_t left, std::size_t right) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::MultiSort< T, U >, including all inherited members.
+| apply(std::vector< T > &list) (defined in nm::MultiSort< T, U >) | nm::MultiSort< T, U > | |
| MultiSort(U n) (defined in nm::MultiSort< T, U >) | nm::MultiSort< T, U > | |
| sort(std::vector< T > &list, std::function< bool(T &, T &)> compare=default_compare< T >) (defined in nm::MultiSort< T, U >) | nm::MultiSort< T, U > | |
| ~MultiSort() (defined in nm::MultiSort< T, U >) | nm::MultiSort< T, U > | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | MultiSort (U n) |
| +U | sort (std::vector< T > &list, std::function< bool(T &, T &)> compare=default_compare< T >) |
| +void | apply (std::vector< T > &list) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::PnC< T >, including all inherited members.
+| add(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| Arithmetic(T mod_prime) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| divide(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| fix(T x) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| get_factorial(std::int32_t n) (defined in nm::PnC< T >) | nm::PnC< T > | |
| get_factorial_inverse(std::int32_t n) (defined in nm::PnC< T >) | nm::PnC< T > | |
| multiply(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| nCr(std::int32_t n, std::int32_t r) (defined in nm::PnC< T >) | nm::PnC< T > | |
| nPr(std::int32_t n, std::int32_t r) (defined in nm::PnC< T >) | nm::PnC< T > | |
| PnC(std::int32_t n, const T mod_prime) (defined in nm::PnC< T >) | nm::PnC< T > | |
| raise(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| subtract(T x, T y) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| underflow(T x) (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | |
| ~Arithmetic() (defined in nm::Arithmetic< T >) | nm::Arithmetic< T > | inline |
| ~PnC() (defined in nm::PnC< T >) | nm::PnC< T > | inline |
|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | PnC (std::int32_t n, const T mod_prime) |
| +T | get_factorial (std::int32_t n) |
| +T | get_factorial_inverse (std::int32_t n) |
| +T | nPr (std::int32_t n, std::int32_t r) |
| +T | nCr (std::int32_t n, std::int32_t r) |
Public Member Functions inherited from nm::Arithmetic< T > | |
| + | Arithmetic (T mod_prime) |
| +T | underflow (T x) |
| +T | fix (T x) |
| +T | add (T x, T y) |
| +T | subtract (T x, T y) |
| +T | multiply (T x, T y) |
| +T | raise (T x, T y) |
| +T | divide (T x, T y) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Primality, including all inherited members.
+| agarwal_kayal_saxena(std::uint64_t number) (defined in nm::Primality) | nm::Primality | |
| fermat(std::uint64_t number) (defined in nm::Primality) | nm::Primality | |
| miller_rabin(std::uint32_t number) (defined in nm::Primality) | nm::Primality | |
| Primality(std::uint32_t iterations=SMALLEST_HAPPY) (defined in nm::Primality) | nm::Primality | |
| solovay_strassen(std::uint32_t number) (defined in nm::Primality) | nm::Primality | |
| trivial(std::uint32_t number) (defined in nm::Primality) | nm::Primality | protected |
| ~Primality() (defined in nm::Primality) | nm::Primality | inline |
|
+ N-Methods
+
+ |
+
+Protected Member Functions | |
| +std::uint32_t | trivial (std::uint32_t number) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Random, including all inherited members.
+| number(std::uint32_t xr) (defined in nm::Random) | nm::Random | |
| number(std::uint32_t xl, std::uint32_t xr) (defined in nm::Random) | nm::Random | |
| query_clock() (defined in nm::Random) | nm::Random | protected |
| Random() (defined in nm::Random) | nm::Random | |
| Random(std::uint32_t s, std::uint32_t p=0U) (defined in nm::Random) | nm::Random | |
| ~Random() (defined in nm::Random) | nm::Random | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | Random (std::uint32_t s, std::uint32_t p=0U) |
| +std::uint32_t | number (std::uint32_t xr) |
| +std::uint32_t | number (std::uint32_t xl, std::uint32_t xr) |
+Protected Member Functions | |
| +uint64_t | query_clock () |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::SLE, including all inherited members.
+| add_row(std::vector< long double > row) (defined in nm::SLE) | nm::SLE | |
| cholesky() (defined in nm::SLE) | nm::SLE | protected |
| cramer() (defined in nm::SLE) | nm::SLE | protected |
| determinant() (defined in nm::SLE) | nm::SLE | |
| eigenvalues() (defined in nm::SLE) | nm::SLE | |
| fourier() (defined in nm::SLE) | nm::SLE | protected |
| inverse() (defined in nm::SLE) | nm::SLE | |
| lu() (defined in nm::SLE) | nm::SLE | protected |
| normalize() (defined in nm::SLE) | nm::SLE | protected |
| pivot(std::size_t column, std::size_t row=0, long double threshold=PRECISION) (defined in nm::SLE) | nm::SLE | protected |
| qr() (defined in nm::SLE) | nm::SLE | protected |
| rank() (defined in nm::SLE) | nm::SLE | |
| singular_value() (defined in nm::SLE) | nm::SLE | protected |
| SLE() (defined in nm::SLE) | nm::SLE | inline |
| SLE(std::vector< std::vector< long double > > matrix) (defined in nm::SLE) | nm::SLE | |
| SLE(std::size_t nr, std::size_t nc) (defined in nm::SLE) | nm::SLE | |
| solve(std::vector< long double > &x, long double threshold=PRECISION, solver use=solver::gauss) (defined in nm::SLE) | nm::SLE | |
| ~SLE() (defined in nm::SLE) | nm::SLE | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | SLE (std::vector< std::vector< long double > > matrix) |
| + | SLE (std::size_t nr, std::size_t nc) |
| +void | add_row (std::vector< long double > row) |
| +classification | solve (std::vector< long double > &x, long double threshold=PRECISION, solver use=solver::gauss) |
| +std::size_t | rank () |
| +std::vector< long double > | eigenvalues () |
| +long double | determinant () |
| +SLE | inverse () |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::SS, including all inherited members.
+| case_sensitive (defined in nm::SS) | nm::SS | protected |
| clear() (defined in nm::SS) | nm::SS | |
| compare(char x, char y) (defined in nm::SS) | nm::SS | protected |
| critical_memory (defined in nm::SS) | nm::SS | protected |
| flush() (defined in nm::SS) | nm::SS | |
| i (defined in nm::SS) | nm::SS | protected |
| n (defined in nm::SS) | nm::SS | protected |
| s (defined in nm::SS) | nm::SS | protected |
| SS(std::string word, bool case_sensitive=true, std::size_t memory=SIZE_LIMIT_MEM) (defined in nm::SS) | nm::SS | |
| stream(char c) (defined in nm::SS) | nm::SS | |
| stream(std::string s) (defined in nm::SS) | nm::SS | |
| w (defined in nm::SS) | nm::SS | protected |
| ~SS() (defined in nm::SS) | nm::SS | inline |
|
+ N-Methods
+
+ |
+
+
++Protected Member Functions | |
| +bool | compare (char x, char y) |
+Protected Attributes | |
| +bool | case_sensitive |
| +std::size_t | critical_memory |
| +std::string | w |
| +std::string | s |
| +std::size_t | n |
| +std::int32_t | i |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::SearchTree< C, T, U >, including all inherited members.
+|
+ N-Methods
+
+ |
+
+
++Protected Attributes | |
| +C * | root |
| +std::function< bool(T &, T &)> | compare |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::SegmentTree< T, U >, including all inherited members.
+| construct(std::vector< T > &data, std::int32_t lo, std::int32_t hi, std::int32_t i) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | protected |
| propagate(std::int32_t i) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | protected |
| query(std::int32_t left, std::int32_t right) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | |
| query_tree(std::int32_t lo, std::int32_t hi, std::int32_t tlo, std::int32_t thi, std::int32_t i) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | protected |
| SegmentTree(std::vector< T > &data, U *integrator_struct=new U()) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | |
| update(T value, std::int32_t position) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | |
| update(T value, std::int32_t left, std::int32_t right) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | |
| update_tree(T value, std::int32_t position, std::int32_t lo, std::int32_t hi, std::int32_t i) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | protected |
| update_tree(T value, std::int32_t lo, std::int32_t hi, std::int32_t tlo, std::int32_t thi, std::int32_t i) (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | protected |
| ~SegmentTree() (defined in nm::SegmentTree< T, U >) | nm::SegmentTree< T, U > | inline |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Sparse< T >, including all inherited members.
+| cquery(std::int32_t l, std::int32_t r) (defined in nm::Sparse< T >) | nm::Sparse< T > | |
| query(std::int32_t l, std::int32_t r) (defined in nm::Sparse< T >) | nm::Sparse< T > | |
| Sparse(const std::vector< T > &data, std::function< T(T, T)> &operation) (defined in nm::Sparse< T >) | nm::Sparse< T > | |
| ~Sparse() (defined in nm::Sparse< T >) | nm::Sparse< T > | inline |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Splay< C, T, U >, including all inherited members.
+|
+ N-Methods
+
+ |
+
+
++Public Member Functions | |
| + | Splay (std::function< bool(T &, T &)> compare=default_compare< T >) |
| +U | access (T i) |
| +bool | insert (T i) |
| +U | insert (T i, U y) |
| +U | operator[] (T i) |
Public Member Functions inherited from nm::SearchTree< C, T, U > | |
| + | SearchTree (std::function< bool(T &, T &)> compare=default_compare< T >) |
| +U | insert (T x, U y) |
| +bool | insert (T x) |
| +bool | remove (T x) |
| +bool | search (T x) const |
| +U | obtain (T x) const |
| +U & | operator[] (T x) |
| +U | element (size_t k) |
| +std::vector< T > | keys () |
| +std::size_t | size () const noexcept |
+Protected Member Functions | |
| +C * | splay (T x, C *p, C *g) |
Protected Member Functions inherited from nm::SearchTree< C, T, U > | |
| +C * | create (T x) |
| +C * | rotate_left (C *n) |
| +C * | rotate_right (C *n) |
| +C * | successor (C *n, bool return_parent=false) |
| +C * | predecessor (C *n, bool return_parent=false) |
| +C * | node (T x, bool return_parent=false, bool mark=false) const |
| +void | inorder (C *n, std::vector< T > &keys) |
| +void | preorder (C *n, std::vector< T > &keys) |
| +void | postorder (C *n, std::vector< T > &keys) |
| +C * | element (std::size_t k, C *n) |
+Friends | |
| +template<class FC , class FT , class FU > | |
| Splay< FC, FT, FU > | join (const Splay< FC, FT, FU > &t1, const Splay< FC, FT, FU > &t2) |
| +template<class FC , class FT , class FU > | |
| std::pair< Splay< FC, FT, FU >, Splay< FC, FT, FU > > | split (const FT &i, const Splay< FC, FT, FU > &t) |
+Additional Inherited Members | |
Protected Attributes inherited from nm::SearchTree< C, T, U > | |
| +C * | root |
| +std::function< bool(T &, T &)> | compare |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::Spline< T >, including all inherited members.
+| Spline(std::vector< std::vector< T > > &coefficients, std::vector< std::pair< T, T > > &bounds) (defined in nm::Spline< T >) | nm::Spline< T > | |
| ~Spline() (defined in nm::Spline< T >) | nm::Spline< T > | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | Spline (std::vector< std::vector< T > > &coefficients, std::vector< std::pair< T, T > > &bounds) |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::TwoSat, including all inherited members.
+| add_clause(std::size_t a, bool negate_a, std::size_t b, bool negate_b) (defined in nm::TwoSat) | nm::TwoSat | |
| assignment (defined in nm::TwoSat) | nm::TwoSat | protected |
| satisfiable() (defined in nm::TwoSat) | nm::TwoSat | |
| TwoSat(std::size_t number_of_variables) (defined in nm::TwoSat) | nm::TwoSat | |
| ~TwoSat() (defined in nm::TwoSat) | nm::TwoSat | inline |
|
+ N-Methods
+
+ |
+
+Public Member Functions | |
| + | TwoSat (std::size_t number_of_variables) |
| +bool | satisfiable () |
| +void | add_clause (std::size_t a, bool negate_a, std::size_t b, bool negate_b) |
+Protected Attributes | |
| +std::vector< bool > | assignment |
|
+ N-Methods
+
+ |
+
This is the complete list of members for nm::UnionFind, including all inherited members.
+| count() (defined in nm::UnionFind) | nm::UnionFind | |
| find(std::size_t x) (defined in nm::UnionFind) | nm::UnionFind | |
| size(std::size_t x) (defined in nm::UnionFind) | nm::UnionFind | |
| UnionFind(std::size_t number_of_elements, bool one_indexed=false) (defined in nm::UnionFind) | nm::UnionFind | |
| unite(std::size_t x, std::size_t y) (defined in nm::UnionFind) | nm::UnionFind | |
| united(std::size_t x, std::size_t y) (defined in nm::UnionFind) | nm::UnionFind | |
| ~UnionFind() (defined in nm::UnionFind) | nm::UnionFind | inline |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
| ▼ include | |
| combinatorics.hpp | |
| crypto.hpp | |
| exponentiation.hpp | |
| gcd.hpp | |
| graph.hpp | |
| hash.hpp | |
| interpolation.hpp | |
| modulo.hpp | |
| newton.hpp | |
| primes.hpp | |
| random.hpp | |
| search.hpp | |
| sort.hpp | |
| table.hpp | |
| trees.hpp | |
| utility.hpp |
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+
|
+ N-Methods
+
+ |
+