Circular dependencies check supported

This commit is contained in:
Revone 2023-08-12 22:54:56 +08:00
parent c6e933acf0
commit dec3146ec3
56 changed files with 2527 additions and 1038 deletions

449
.dependency-cruiser.js Normal file
View file

@ -0,0 +1,449 @@
/** @type {import('dependency-cruiser').IConfiguration} */
module.exports = {
forbidden: [
/* rules from the 'recommended' preset: */
{
name: 'no-circular',
severity: 'warn',
comment:
'This dependency is part of a circular relationship. You might want to revise ' +
'your solution (i.e. use dependency inversion, make sure the modules have a single responsibility) ',
from: {},
to: {
circular: true
}
},
{
name: 'no-orphans',
comment:
"This is an orphan module - it's likely not used (anymore?). Either use it or " +
"remove it. If it's logical this module is an orphan (i.e. it's a config file), " +
"add an exception for it in your dependency-cruiser configuration. By default " +
"this rule does not scrutinize dot-files (e.g. .eslintrc.js), TypeScript declaration " +
"files (.d.ts), tsconfig.json and some of the babel and webpack configs.",
severity: 'warn',
from: {
orphan: true,
pathNot: [
'(^|/)\\.[^/]+\\.(js|cjs|mjs|ts|json)$', // dot files
'\\.d\\.ts$', // TypeScript declaration files
'(^|/)tsconfig\\.json$', // TypeScript config
'(^|/)(babel|webpack)\\.config\\.(js|cjs|mjs|ts|json)$' // other configs
]
},
to: {},
},
{
name: 'no-deprecated-core',
comment:
'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
"bound to exist - node doesn't deprecate lightly.",
severity: 'warn',
from: {},
to: {
dependencyTypes: [
'core'
],
path: [
'^(v8\/tools\/codemap)$',
'^(v8\/tools\/consarray)$',
'^(v8\/tools\/csvparser)$',
'^(v8\/tools\/logreader)$',
'^(v8\/tools\/profile_view)$',
'^(v8\/tools\/profile)$',
'^(v8\/tools\/SourceMap)$',
'^(v8\/tools\/splaytree)$',
'^(v8\/tools\/tickprocessor-driver)$',
'^(v8\/tools\/tickprocessor)$',
'^(node-inspect\/lib\/_inspect)$',
'^(node-inspect\/lib\/internal\/inspect_client)$',
'^(node-inspect\/lib\/internal\/inspect_repl)$',
'^(async_hooks)$',
'^(punycode)$',
'^(domain)$',
'^(constants)$',
'^(sys)$',
'^(_linklist)$',
'^(_stream_wrap)$'
],
}
},
{
name: 'not-to-deprecated',
comment:
'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
'version of that module, or find an alternative. Deprecated modules are a security risk.',
severity: 'warn',
from: {},
to: {
dependencyTypes: [
'deprecated'
]
}
},
{
name: 'no-non-package-json',
severity: 'error',
comment:
"This module depends on an npm package that isn't in the 'dependencies' section of your package.json. " +
"That's problematic as the package either (1) won't be available on live (2 - worse) will be " +
"available on live with an non-guaranteed version. Fix it by adding the package to the dependencies " +
"in your package.json.",
from: {},
to: {
dependencyTypes: [
'npm-no-pkg',
'npm-unknown'
]
}
},
{
name: 'not-to-unresolvable',
comment:
"This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
'module: add it to your package.json. In all other cases you likely already know what to do.',
severity: 'error',
from: {},
to: {
couldNotResolve: true
}
},
{
name: 'no-duplicate-dep-types',
comment:
"Likely this module depends on an external ('npm') package that occurs more than once " +
"in your package.json i.e. bot as a devDependencies and in dependencies. This will cause " +
"maintenance problems later on.",
severity: 'warn',
from: {},
to: {
moreThanOneDependencyType: true,
// as it's pretty common to have a type import be a type only import
// _and_ (e.g.) a devDependency - don't consider type-only dependency
// types for this rule
dependencyTypesNot: ["type-only"]
}
},
/* rules you might want to tweak for your specific situation: */
{
name: 'not-to-spec',
comment:
'This module depends on a spec (test) file. The sole responsibility of a spec file is to test code. ' +
"If there's something in a spec that's of use to other modules, it doesn't have that single " +
'responsibility anymore. Factor it out into (e.g.) a separate utility/ helper or a mock.',
severity: 'error',
from: {},
to: {
path: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$'
}
},
{
name: 'not-to-dev-dep',
severity: 'error',
comment:
"This module depends on an npm package from the 'devDependencies' section of your " +
'package.json. It looks like something that ships to production, though. To prevent problems ' +
"with npm packages that aren't there on production declare it (only!) in the 'dependencies'" +
'section of your package.json. If this module is development only - add it to the ' +
'from.pathNot re of the not-to-dev-dep rule in the dependency-cruiser configuration',
from: {
path: '^(src)',
pathNot: '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$'
},
to: {
dependencyTypes: [
'npm-dev'
]
}
},
{
name: 'optional-deps-used',
severity: 'info',
comment:
"This module depends on an npm package that is declared as an optional dependency " +
"in your package.json. As this makes sense in limited situations only, it's flagged here. " +
"If you're using an optional dependency here by design - add an exception to your" +
"dependency-cruiser configuration.",
from: {},
to: {
dependencyTypes: [
'npm-optional'
]
}
},
{
name: 'peer-deps-used',
comment:
"This module depends on an npm package that is declared as a peer dependency " +
"in your package.json. This makes sense if your package is e.g. a plugin, but in " +
"other cases - maybe not so much. If the use of a peer dependency is intentional " +
"add an exception to your dependency-cruiser configuration.",
severity: 'warn',
from: {},
to: {
dependencyTypes: [
'npm-peer'
]
}
}
],
options: {
/* conditions specifying which files not to follow further when encountered:
- path: a regular expression to match
- dependencyTypes: see https://github.com/sverweij/dependency-cruiser/blob/main/doc/rules-reference.md#dependencytypes-and-dependencytypesnot
for a complete list
*/
doNotFollow: {
path: ['node_modules', 'src/libs']
},
/* conditions specifying which dependencies to exclude
- path: a regular expression to match
- dynamic: a boolean indicating whether to ignore dynamic (true) or static (false) dependencies.
leave out if you want to exclude neither (recommended!)
*/
// exclude : {
// path: '',
// dynamic: true
// },
/* pattern specifying which files to include (regular expression)
dependency-cruiser will skip everything not matching this pattern
*/
// includeOnly : '',
/* dependency-cruiser will include modules matching against the focus
regular expression in its output, as well as their neighbours (direct
dependencies and dependents)
*/
// focus : '',
/* list of module systems to cruise */
// moduleSystems: ['amd', 'cjs', 'es6', 'tsd'],
/* prefix for links in html and svg output (e.g. 'https://github.com/you/yourrepo/blob/develop/'
to open it on your online repo or `vscode://file/${process.cwd()}/` to
open it in visual studio code),
*/
// prefix: '',
/* false (the default): ignore dependencies that only exist before typescript-to-javascript compilation
true: also detect dependencies that only exist before typescript-to-javascript compilation
"specify": for each dependency identify whether it only exists before compilation or also after
*/
tsPreCompilationDeps: true,
/*
list of extensions to scan that aren't javascript or compile-to-javascript.
Empty by default. Only put extensions in here that you want to take into
account that are _not_ parsable.
*/
// extraExtensionsToScan: [".json", ".jpg", ".png", ".svg", ".webp"],
/* if true combines the package.jsons found from the module up to the base
folder the cruise is initiated from. Useful for how (some) mono-repos
manage dependencies & dependency definitions.
*/
// combinedDependencies: false,
/* if true leave symlinks untouched, otherwise use the realpath */
// preserveSymlinks: false,
/* TypeScript project file ('tsconfig.json') to use for
(1) compilation and
(2) resolution (e.g. with the paths property)
The (optional) fileName attribute specifies which file to take (relative to
dependency-cruiser's current working directory). When not provided
defaults to './tsconfig.json'.
*/
tsConfig: {
fileName: 'tsconfig.json'
},
/* Webpack configuration to use to get resolve options from.
The (optional) fileName attribute specifies which file to take (relative
to dependency-cruiser's current working directory. When not provided defaults
to './webpack.conf.js'.
The (optional) `env` and `arguments` attributes contain the parameters to be passed if
your webpack config is a function and takes them (see webpack documentation
for details)
*/
// webpackConfig: {
// fileName: './webpack.config.js',
// env: {},
// arguments: {},
// },
/* Babel config ('.babelrc', '.babelrc.json', '.babelrc.json5', ...) to use
for compilation (and whatever other naughty things babel plugins do to
source code). This feature is well tested and usable, but might change
behavior a bit over time (e.g. more precise results for used module
systems) without dependency-cruiser getting a major version bump.
*/
// babelConfig: {
// fileName: './.babelrc'
// },
/* List of strings you have in use in addition to cjs/ es6 requires
& imports to declare module dependencies. Use this e.g. if you've
re-declared require, use a require-wrapper or use window.require as
a hack.
*/
// exoticRequireStrings: [],
/* options to pass on to enhanced-resolve, the package dependency-cruiser
uses to resolve module references to disk. You can set most of these
options in a webpack.conf.js - this section is here for those
projects that don't have a separate webpack config file.
Note: settings in webpack.conf.js override the ones specified here.
*/
enhancedResolveOptions: {
/* List of strings to consider as 'exports' fields in package.json. Use
['exports'] when you use packages that use such a field and your environment
supports it (e.g. node ^12.19 || >=14.7 or recent versions of webpack).
If you have an `exportsFields` attribute in your webpack config, that one
will have precedence over the one specified here.
*/
exportsFields: ["exports"],
/* List of conditions to check for in the exports field. e.g. use ['imports']
if you're only interested in exposed es6 modules, ['require'] for commonjs,
or all conditions at once `(['import', 'require', 'node', 'default']`)
if anything goes for you. Only works when the 'exportsFields' array is
non-empty.
If you have a 'conditionNames' attribute in your webpack config, that one will
have precedence over the one specified here.
*/
conditionNames: ["import", "require", "node", "default"],
/*
The extensions, by default are the same as the ones dependency-cruiser
can access (run `npx depcruise --info` to see which ones that are in
_your_ environment. If that list is larger than what you need (e.g.
it contains .js, .jsx, .ts, .tsx, .cts, .mts - but you don't use
TypeScript you can pass just the extensions you actually use (e.g.
[".js", ".jsx"]). This can speed up the most expensive step in
dependency cruising (module resolution) quite a bit.
*/
// extensions: [".js", ".jsx", ".ts", ".tsx", ".d.ts"],
/*
If your TypeScript project makes use of types specified in 'types'
fields in package.jsons of external dependencies, specify "types"
in addition to "main" in here, so enhanced-resolve (the resolver
dependency-cruiser uses) knows to also look there. You can also do
this if you're not sure, but still use TypeScript. In a future version
of dependency-cruiser this will likely become the default.
*/
mainFields: ["main", "types"],
},
reporterOptions: {
dot: {
/* pattern of modules that can be consolidated in the detailed
graphical dependency graph. The default pattern in this configuration
collapses everything in node_modules to one folder deep so you see
the external modules, but not the innards your app depends upon.
*/
collapsePattern: 'node_modules/(@[^/]+/[^/]+|[^/]+)',
/* Options to tweak the appearance of your graph.See
https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#reporteroptions
for details and some examples. If you don't specify a theme
don't worry - dependency-cruiser will fall back to the default one.
*/
// theme: {
// graph: {
// /* use splines: "ortho" for straight lines. Be aware though
// graphviz might take a long time calculating ortho(gonal)
// routings.
// */
// splines: "true"
// },
// modules: [
// {
// criteria: { matchesFocus: true },
// attributes: {
// fillcolor: "lime",
// penwidth: 2,
// },
// },
// {
// criteria: { matchesFocus: false },
// attributes: {
// fillcolor: "lightgrey",
// },
// },
// {
// criteria: { matchesReaches: true },
// attributes: {
// fillcolor: "lime",
// penwidth: 2,
// },
// },
// {
// criteria: { matchesReaches: false },
// attributes: {
// fillcolor: "lightgrey",
// },
// },
// {
// criteria: { source: "^src/model" },
// attributes: { fillcolor: "#ccccff" }
// },
// {
// criteria: { source: "^src/view" },
// attributes: { fillcolor: "#ccffcc" }
// },
// ],
// dependencies: [
// {
// criteria: { "rules[0].severity": "error" },
// attributes: { fontcolor: "red", color: "red" }
// },
// {
// criteria: { "rules[0].severity": "warn" },
// attributes: { fontcolor: "orange", color: "orange" }
// },
// {
// criteria: { "rules[0].severity": "info" },
// attributes: { fontcolor: "blue", color: "blue" }
// },
// {
// criteria: { resolved: "^src/model" },
// attributes: { color: "#0000ff77" }
// },
// {
// criteria: { resolved: "^src/view" },
// attributes: { color: "#00770077" }
// }
// ]
// }
},
archi: {
/* pattern of modules that can be consolidated in the high level
graphical dependency graph. If you use the high level graphical
dependency graph reporter (`archi`) you probably want to tweak
this collapsePattern to your situation.
*/
collapsePattern: '^(packages|src|lib|app|bin|test(s?)|spec(s?))/[^/]+|node_modules/(@[^/]+/[^/]+|[^/]+)',
/* Options to tweak the appearance of your graph.See
https://github.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#reporteroptions
for details and some examples. If you don't specify a theme
for 'archi' dependency-cruiser will use the one specified in the
dot section (see above), if any, and otherwise use the default one.
*/
// theme: {
// },
},
"text": {
"highlightFocused": true
},
}
}
};
// generated: dependency-cruiser@13.1.1 on 2023-08-02T09:11:55.676Z

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">AVLTree</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L14">src/data-structures/binary-tree/avl-tree.ts:14</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L14">src/data-structures/binary-tree/avl-tree.ts:14</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -130,7 +130,7 @@
<h4 class="tsd-returns-title">Returns <a href="AVLTree.html" class="tsd-signature-type tsd-kind-class">AVLTree</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_comparator" class="tsd-anchor"></a>
@ -138,61 +138,61 @@
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">BSTComparator</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_comparator">_comparator</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_count" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_count</span><a href="#_count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_count">_count</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_loopType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_loop<wbr/>Type</span><a href="#_loopType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_loop<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/LoopType.html" class="tsd-signature-type tsd-kind-enum">LoopType</a><span class="tsd-signature-symbol"> = LoopType.iterative</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_loopType">_loopType</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_root">_root</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_size">_size</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Count</span><a href="#_visitedCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedCount">_visitedCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Id</span><a href="#_visitedId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedId">_visitedId</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedLeftSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Left<wbr/>Sum</span><a href="#_visitedLeftSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Left<wbr/>Sum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedLeftSum">_visitedLeftSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Node</span><a href="#_visitedNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Node</span><span class="tsd-signature-symbol">:</span> <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedNode">_visitedNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedVal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Val</span><a href="#_visitedVal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedVal">_visitedVal</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="count" class="tsd-anchor"></a>
@ -203,7 +203,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BST.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -214,7 +214,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -223,7 +223,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BST.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li class="tsd-signature" id="root.root-2"><span class="tsd-signature-symbol">set</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -234,7 +234,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -243,7 +243,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BST.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -254,7 +254,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="BFS" class="tsd-anchor"></a>
@ -270,7 +270,7 @@ or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-2"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -292,7 +292,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-3"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -314,7 +314,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-4"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -336,7 +336,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-5"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -358,7 +358,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFS" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFS</span><a href="#DFS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -372,7 +372,7 @@ specified pattern and node or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-2"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -401,7 +401,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-3"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -430,7 +430,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-4"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -459,7 +459,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-5"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -488,7 +488,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFSIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFSIterative</span><a href="#DFSIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -501,7 +501,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-2"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -520,7 +520,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-3"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -539,7 +539,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-4"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -558,7 +558,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-5"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -577,7 +577,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_accumulatedByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_accumulated<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_accumulatedByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -605,7 +605,7 @@ the property name of the node that should be accumulated. If it is a node object
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_accumulatedByPropertyName">_accumulatedByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -621,7 +621,7 @@ the property name of the node that should be accumulated. If it is a node object
<h4 class="tsd-returns-title">Returns <a href="../enums/CP.html" class="tsd-signature-type tsd-kind-enum">CP</a></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_compare">_compare</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getResultByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Result<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_getResultByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -644,7 +644,7 @@ can accept a value of type <code>NodeOrPropertyName</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_getResultByPropertyName">_getResultByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_pushByPropertyNameStopOrNot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_push<wbr/>By<wbr/>Property<wbr/>Name<wbr/>Stop<wbr/>Or<wbr/>Not</span><a href="#_pushByPropertyNameStopOrNot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -692,7 +692,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_pushByPropertyNameStopOrNot">_pushByPropertyNameStopOrNot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_resetResults" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_reset<wbr/>Results</span><a href="#_resetResults" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -704,7 +704,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_resetResults">_resetResults</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="allGreaterNodesAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>all<wbr/>Greater<wbr/>Nodes<wbr/>Add</span><a href="#allGreaterNodesAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -722,7 +722,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#allGreaterNodesAdd">allGreaterNodesAdd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="balance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance</span><a href="#balance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -731,7 +731,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#balance">balance</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balanceFactor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance<wbr/>Factor</span><a href="#balanceFactor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -752,7 +752,7 @@ height of its right subtree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L64">src/data-structures/binary-tree/avl-tree.ts:64</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L64">src/data-structures/binary-tree/avl-tree.ts:64</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balanceLL" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balanceLL</span><a href="#balanceLL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -771,7 +771,7 @@ height of its right subtree.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L126">src/data-structures/binary-tree/avl-tree.ts:126</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L126">src/data-structures/binary-tree/avl-tree.ts:126</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balanceLR" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balanceLR</span><a href="#balanceLR" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -790,7 +790,7 @@ height of its right subtree.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L156">src/data-structures/binary-tree/avl-tree.ts:156</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L156">src/data-structures/binary-tree/avl-tree.ts:156</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balancePath" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance<wbr/>Path</span><a href="#balancePath" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -810,7 +810,7 @@ each node in the path from the given node to the root.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L95">src/data-structures/binary-tree/avl-tree.ts:95</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L95">src/data-structures/binary-tree/avl-tree.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balanceRL" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balanceRL</span><a href="#balanceRL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -829,7 +829,7 @@ each node in the path from the given node to the root.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L239">src/data-structures/binary-tree/avl-tree.ts:239</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L239">src/data-structures/binary-tree/avl-tree.ts:239</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balanceRR" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balanceRR</span><a href="#balanceRR" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -848,7 +848,7 @@ each node in the path from the given node to the root.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L204">src/data-structures/binary-tree/avl-tree.ts:204</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L204">src/data-structures/binary-tree/avl-tree.ts:204</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -860,7 +860,7 @@ each node in the path from the given node to the root.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="createNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Node</span><a href="#createNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -896,7 +896,7 @@ Otherwise, it returns null.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#createNode">createNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L16">src/data-structures/binary-tree/avl-tree.ts:16</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L16">src/data-structures/binary-tree/avl-tree.ts:16</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="fill" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -919,7 +919,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#fill">fill</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -948,7 +948,7 @@ specifies the property of the binary tree node to search for. If not provided, i
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDepth" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Depth</span><a href="#getDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -970,7 +970,7 @@ meaning it can represent any type of data that we want to store in the node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getDepth">getDepth</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Height</span><a href="#getHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -994,7 +994,7 @@ If no value is provided for <code>beginRoot</code>, the function will use the <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getHeight">getHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLeftMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Left<wbr/>Most</span><a href="#getLeftMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1008,7 +1008,7 @@ recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getLeftMost.getLeftMost-2"><span class="tsd-kind-call-signature">get<wbr/>Left<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getLeftMost.getLeftMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getLeftMost</code> function returns the leftmost node in a binary tree, either recursively or iteratively using tail
@ -1028,7 +1028,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Height</span><a href="#getMinHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1052,7 +1052,7 @@ tree. If no value is provided for <code>beginRoot</code>, the function will use
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getMinHeight">getMinHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Nodes</span><a href="#getNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1087,7 +1087,7 @@ function will stop traversing the tree and return the first matching node. If <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getNodes">getNodes</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPathToRoot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>To<wbr/>Root</span><a href="#getPathToRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1110,7 +1110,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getPathToRoot">getPathToRoot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPredecessor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Predecessor</span><a href="#getPredecessor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1131,7 +1131,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getPredecessor">getPredecessor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRightMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Right<wbr/>Most</span><a href="#getRightMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1145,7 +1145,7 @@ tail recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getRightMost.getRightMost-2"><span class="tsd-kind-call-signature">get<wbr/>Right<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getRightMost.getRightMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getRightMost</code> function returns the rightmost node in a binary tree, either recursively or iteratively using
@ -1165,7 +1165,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSubTreeSizeAndCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Sub<wbr/>Tree<wbr/>Size<wbr/>And<wbr/>Count</span><a href="#getSubTreeSizeAndCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1189,7 +1189,7 @@ represents the size of the subtree, and the second element represents the count
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getSubTreeSizeAndCount">getSubTreeSizeAndCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1218,7 +1218,7 @@ specifies the name of the property to check for in the nodes.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#has">has</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="insertMany" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Many</span><a href="#insertMany" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1241,7 +1241,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#insertMany">insertMany</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isAVLBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isAVLBalanced</span><a href="#isAVLBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1250,7 +1250,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isAVLBalanced">isAVLBalanced</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBST" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isBST</span><a href="#isBST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1273,7 +1273,7 @@ tree, and <code>false</code> otherwise.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isBST">isBST</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Balanced</span><a href="#isBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1295,7 +1295,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isBalanced">isBalanced</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1308,7 +1308,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="lastKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>last<wbr/>Key</span><a href="#lastKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1317,7 +1317,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#lastKey">lastKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="lesserSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>lesser<wbr/>Sum</span><a href="#lesserSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1333,7 +1333,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#lesserSum">lesserSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="levelIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>level<wbr/>Iterative</span><a href="#levelIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1357,7 +1357,7 @@ the tree is used as the starting node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-2"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1386,7 +1386,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-3"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1415,7 +1415,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-4"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1444,7 +1444,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-5"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1473,7 +1473,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="listLevels" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list<wbr/>Levels</span><a href="#listLevels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1495,7 +1495,7 @@ root node of a binary tree. If it is null, the function will use the root node o
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-2"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1521,7 +1521,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-3"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1547,7 +1547,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-4"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1573,7 +1573,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-5"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1599,7 +1599,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="morris" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>morris</span><a href="#morris" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1615,7 +1615,7 @@ The space complexity Morris traversal is O(1) because no using stack</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-2"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1644,7 +1644,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-3"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1673,7 +1673,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-4"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1702,7 +1702,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-5"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1731,7 +1731,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="put" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put</span><a href="#put" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1767,7 +1767,7 @@ to <code>1</code>, indicating that the value should be inserted once.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#put">put</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L32">src/data-structures/binary-tree/avl-tree.ts:32</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L32">src/data-structures/binary-tree/avl-tree.ts:32</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="putTo" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put<wbr/>To</span><a href="#putTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1795,7 +1795,7 @@ will be inserted as a child.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#putTo">putTo</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1825,7 +1825,7 @@ determines whether the left sum of all nodes in the AVL tree should be updated a
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#remove">remove</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L48">src/data-structures/binary-tree/avl-tree.ts:48</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L48">src/data-structures/binary-tree/avl-tree.ts:48</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Add</span><a href="#subTreeAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1858,7 +1858,7 @@ specifies the property of the <code>BinaryTreeNode</code> that should be modifie
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#subTreeAdd">subTreeAdd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Sum</span><a href="#subTreeSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1888,7 +1888,7 @@ provided, it defaults to <code>&#39;val&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#subTreeSum">subTreeSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="updateHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>update<wbr/>Height</span><a href="#updateHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1907,7 +1907,7 @@ provided, it defaults to <code>&#39;val&#39;</code>.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L77">src/data-structures/binary-tree/avl-tree.ts:77</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L77">src/data-structures/binary-tree/avl-tree.ts:77</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">AVLTreeNode</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L8">src/data-structures/binary-tree/avl-tree.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L8">src/data-structures/binary-tree/avl-tree.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -88,7 +88,7 @@
<h4 class="tsd-returns-title">Returns <a href="AVLTreeNode.html" class="tsd-signature-type tsd-kind-class">AVLTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_count" class="tsd-anchor"></a>
@ -96,49 +96,49 @@
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_count">_count</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_family<wbr/>Position</span><a href="#_familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_family<wbr/>Position</span><span class="tsd-signature-symbol">:</span> <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a><span class="tsd-signature-symbol"> = FamilyPosition.root</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_familyPosition">_familyPosition</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_height</span><a href="#_height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_height">_height</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_id">_id</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_left</span><a href="#_left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_left">_left</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_parent</span><a href="#_parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_parent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_parent">_parent</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_right</span><a href="#_right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_right">_right</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_val</span><a href="#_val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#_val">_val</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="count" class="tsd-anchor"></a>
@ -149,7 +149,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -160,7 +160,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>family<wbr/>Position</span><a href="#familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -169,7 +169,7 @@
<h4 class="tsd-returns-title">Returns <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.familyPosition</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li class="tsd-signature" id="familyPosition.familyPosition-2"><span class="tsd-signature-symbol">set</span> familyPosition<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -180,7 +180,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.familyPosition</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -189,7 +189,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.height</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li class="tsd-signature" id="height.height-2"><span class="tsd-signature-symbol">set</span> height<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -200,7 +200,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.height</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -209,7 +209,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -220,7 +220,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -229,7 +229,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.left</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li class="tsd-signature" id="left.left-2"><span class="tsd-signature-symbol">set</span> left<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -240,7 +240,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.left</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -249,7 +249,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.parent</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li class="tsd-signature" id="parent.parent-2"><span class="tsd-signature-symbol">set</span> parent<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -260,7 +260,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.parent</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -269,7 +269,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.right</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li class="tsd-signature" id="right.right-2"><span class="tsd-signature-symbol">set</span> right<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -280,7 +280,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.right</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -289,7 +289,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.val</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -300,7 +300,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BSTNode.val</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
@ -311,7 +311,7 @@
<h4 class="tsd-returns-title">Returns <a href="AVLTreeNode.html" class="tsd-signature-type tsd-kind-class">AVLTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#clone">clone</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/avl-tree.ts#L9">src/data-structures/binary-tree/avl-tree.ts:9</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/avl-tree.ts#L9">src/data-structures/binary-tree/avl-tree.ts:9</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="swapLocation" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>swap<wbr/>Location</span><a href="#swapLocation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -325,7 +325,7 @@
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BSTNode.html">BSTNode</a>.<a href="BSTNode.html#swapLocation">swapLocation</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">AaTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/aa-tree.ts#L1">src/data-structures/binary-tree/aa-tree.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/aa-tree.ts#L1">src/data-structures/binary-tree/aa-tree.ts:1</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">

View file

@ -23,7 +23,7 @@
<li><a href="DirectedEdge.html" class="tsd-signature-type tsd-kind-class">DirectedEdge</a></li>
<li><a href="UndirectedEdge.html" class="tsd-signature-type tsd-kind-class">UndirectedEdge</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L25">src/data-structures/graph/abstract-graph.ts:25</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L25">src/data-structures/graph/abstract-graph.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -58,24 +58,24 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">weight</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="AbstractEdge.html" class="tsd-signature-type tsd-kind-class">AbstractEdge</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L29">src/data-structures/graph/abstract-graph.ts:29</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L29">src/data-structures/graph/abstract-graph.ts:29</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_hashCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_hash<wbr/>Code</span><a href="#_hashCode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_hash<wbr/>Code</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L45">src/data-structures/graph/abstract-graph.ts:45</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L45">src/data-structures/graph/abstract-graph.ts:45</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_weight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_weight</span><a href="#_weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_weight</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L35">src/data-structures/graph/abstract-graph.ts:35</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L35">src/data-structures/graph/abstract-graph.ts:35</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="DEFAULT_EDGE_WEIGHT" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><a href="#DEFAULT_EDGE_WEIGHT" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="hashCode" class="tsd-anchor"></a>
@ -85,7 +85,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li class="tsd-signature" id="hashCode.hashCode-2"><span class="tsd-signature-symbol">set</span> hashCode<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -95,7 +95,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="weight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -103,7 +103,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li class="tsd-signature" id="weight.weight-2"><span class="tsd-signature-symbol">set</span> weight<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -113,7 +113,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -34,7 +34,7 @@
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type ">IGraph</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L57">src/data-structures/graph/abstract-graph.ts:57</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L57">src/data-structures/graph/abstract-graph.ts:57</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -99,7 +99,7 @@
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_vertices</span><a href="#_vertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_vertices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="addEdge" class="tsd-anchor"></a>
@ -115,7 +115,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.addEdge</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L168">src/data-structures/graph/abstract-graph.ts:168</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L168">src/data-structures/graph/abstract-graph.ts:168</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="addVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>add<wbr/>Vertex</span><a href="#addVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -137,7 +137,7 @@ false. Otherwise, it will add the newVertex to the graph and return true.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.addVertex</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="bellmanFord" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bellman<wbr/>Ford</span><a href="#bellmanFord" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -192,7 +192,7 @@ vertex.</p>
<h5><span class="tsd-kind-property">pre<wbr/>Map</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="containsEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Edge</span><a href="#containsEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -221,7 +221,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.containsEdge</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="containsVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Vertex</span><a href="#containsVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -243,7 +243,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.containsVertex</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="degreeOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>degree<wbr/>Of</span><a href="#degreeOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -257,7 +257,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.degreeOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L148">src/data-structures/graph/abstract-graph.ts:148</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L148">src/data-structures/graph/abstract-graph.ts:148</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="dijkstra" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra</span><a href="#dijkstra" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -300,7 +300,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">DijkstraResult</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="dijkstraWithoutHeap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra<wbr/>Without<wbr/>Heap</span><a href="#dijkstraWithoutHeap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -343,7 +343,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">DijkstraResult</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgeSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>edge<wbr/>Set</span><a href="#edgeSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -352,7 +352,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.edgeSet</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L150">src/data-structures/graph/abstract-graph.ts:150</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L150">src/data-structures/graph/abstract-graph.ts:150</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>edges<wbr/>Of</span><a href="#edgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -366,7 +366,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.edgesOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L152">src/data-structures/graph/abstract-graph.ts:152</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L152">src/data-structures/graph/abstract-graph.ts:152</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="floyd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>floyd</span><a href="#floyd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -389,7 +389,7 @@ path between vertices in the</p>
<h5><span class="tsd-kind-property">predecessor</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5></li></ul>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getAllPathsBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Paths<wbr/>Between</span><a href="#getAllPathsBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -417,7 +417,7 @@ and v2).</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>get<wbr/>Edge</span><a href="#getEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -433,7 +433,7 @@ and v2).</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.getEdge</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L106">src/data-structures/graph/abstract-graph.ts:106</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L106">src/data-structures/graph/abstract-graph.ts:106</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEndsOfEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>get<wbr/>Ends<wbr/>Of<wbr/>Edge</span><a href="#getEndsOfEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -446,7 +446,7 @@ and v2).</p>
<h5><span class="tsd-kind-parameter">edge</span>: <span class="tsd-signature-type tsd-kind-type-parameter">E</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L618">src/data-structures/graph/abstract-graph.ts:618</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L618">src/data-structures/graph/abstract-graph.ts:618</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getMinCostBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Cost<wbr/>Between</span><a href="#getMinCostBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -483,7 +483,7 @@ vertices are not</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getMinPathBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Path<wbr/>Between</span><a href="#getMinPathBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -519,7 +519,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.getMinPathBetween</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNeighbors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>get<wbr/>Neighbors</span><a href="#getNeighbors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -533,7 +533,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.getNeighbors</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L191">src/data-structures/graph/abstract-graph.ts:191</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L191">src/data-structures/graph/abstract-graph.ts:191</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getPathSumWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>Sum<wbr/>Weight</span><a href="#getPathSumWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -553,7 +553,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex</span><a href="#getVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -576,7 +576,7 @@ If the vertex is found in the <code>_vertices</code> map, it is returned. Otherw
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.getVertex</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getVertexId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex<wbr/>Id</span><a href="#getVertexId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -599,7 +599,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.getVertexId</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeAllVertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Vertices</span><a href="#removeAllVertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -622,7 +622,7 @@ were removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.removeAllVertices</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>remove<wbr/>Edge</span><a href="#removeEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -636,7 +636,7 @@ were removed.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.removeEdge</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L63">src/data-structures/graph/abstract-graph.ts:63</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L63">src/data-structures/graph/abstract-graph.ts:63</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdgeBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagAbstract">Abstract</code> <span>remove<wbr/>Edge<wbr/>Between</span><a href="#removeEdgeBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -652,7 +652,7 @@ were removed.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span></h4><aside class="tsd-sources">
<p>Implementation of IGraph.removeEdgeBetween</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L61">src/data-structures/graph/abstract-graph.ts:61</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L61">src/data-structures/graph/abstract-graph.ts:61</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Vertex</span><a href="#removeVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -674,7 +674,7 @@ were removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.removeVertex</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="setEdgeWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Edge<wbr/>Weight</span><a href="#setEdgeWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -709,7 +709,7 @@ the weight of the edge and return true. If the edge does not exist, the function
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.setEdgeWeight</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="tarjan" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>tarjan</span><a href="#tarjan" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -770,7 +770,7 @@ are arrays of vertices that form cycles within the SCCs.</p>
<h5><span class="tsd-kind-property">low<wbr/>Map</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="vertexSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>vertex<wbr/>Set</span><a href="#vertexSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -783,7 +783,7 @@ are arrays of vertices that form cycles within the SCCs.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IGraph.vertexSet</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -23,7 +23,7 @@
<li><a href="DirectedVertex.html" class="tsd-signature-type tsd-kind-class">DirectedVertex</a></li>
<li><a href="UndirectedVertex.html" class="tsd-signature-type tsd-kind-class">UndirectedVertex</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L9">src/data-structures/graph/abstract-graph.ts:9</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L9">src/data-structures/graph/abstract-graph.ts:9</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -55,14 +55,14 @@
<h5><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type ">VertexId</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="AbstractVertex.html" class="tsd-signature-type tsd-kind-class">AbstractVertex</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L10">src/data-structures/graph/abstract-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L10">src/data-structures/graph/abstract-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">VertexId</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L14">src/data-structures/graph/abstract-graph.ts:14</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L14">src/data-structures/graph/abstract-graph.ts:14</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="id" class="tsd-anchor"></a>
@ -72,7 +72,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">VertexId</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -82,7 +82,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type ">VertexId</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -25,7 +25,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">ArrayDeque</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L93">src/data-structures/queue/deque.ts:93</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L93">src/data-structures/queue/deque.ts:93</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -76,7 +76,7 @@
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_nodes</span><a href="#_nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L94">src/data-structures/queue/deque.ts:94</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L94">src/data-structures/queue/deque.ts:94</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
@ -86,7 +86,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L96">src/data-structures/queue/deque.ts:96</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L96">src/data-structures/queue/deque.ts:96</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
@ -110,7 +110,7 @@ will be returned. If the element does not exist (i.e., the index is out of bound
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L160">src/data-structures/queue/deque.ts:160</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L160">src/data-structures/queue/deque.ts:160</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insert" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert</span><a href="#insert" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -139,7 +139,7 @@ are being removed, an empty array will be returned.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L186">src/data-structures/queue/deque.ts:186</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L186">src/data-structures/queue/deque.ts:186</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -152,7 +152,7 @@ is 0, indicating that the array is empty. Otherwise, it returns <code>false</cod
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L205">src/data-structures/queue/deque.ts:205</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L205">src/data-structures/queue/deque.ts:205</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>First</span><a href="#offerFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -173,7 +173,7 @@ is 0, indicating that the array is empty. Otherwise, it returns <code>false</cod
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L132">src/data-structures/queue/deque.ts:132</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L132">src/data-structures/queue/deque.ts:132</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>Last</span><a href="#offerLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -193,7 +193,7 @@ is 0, indicating that the array is empty. Otherwise, it returns <code>false</cod
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L105">src/data-structures/queue/deque.ts:105</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L105">src/data-structures/queue/deque.ts:105</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>First</span><a href="#peekFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -206,7 +206,7 @@ empty, it will return <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L141">src/data-structures/queue/deque.ts:141</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L141">src/data-structures/queue/deque.ts:141</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -218,7 +218,7 @@ empty, it will return <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L149">src/data-structures/queue/deque.ts:149</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L149">src/data-structures/queue/deque.ts:149</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>First</span><a href="#pollFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -231,7 +231,7 @@ empty.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L122">src/data-structures/queue/deque.ts:122</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L122">src/data-structures/queue/deque.ts:122</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>Last</span><a href="#pollLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -243,7 +243,7 @@ empty.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L113">src/data-structures/queue/deque.ts:113</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L113">src/data-structures/queue/deque.ts:113</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -264,7 +264,7 @@ is a number that represents the index of the element to be removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L196">src/data-structures/queue/deque.ts:196</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L196">src/data-structures/queue/deque.ts:196</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -291,7 +291,7 @@ _nodes array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L172">src/data-structures/queue/deque.ts:172</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L172">src/data-structures/queue/deque.ts:172</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -30,7 +30,7 @@
<li><a href="AVLTree.html" class="tsd-signature-type tsd-kind-class">AVLTree</a></li>
<li><a href="TreeMultiSet.html" class="tsd-signature-type tsd-kind-class">TreeMultiSet</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L16">src/data-structures/binary-tree/bst.ts:16</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L16">src/data-structures/binary-tree/bst.ts:16</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -126,68 +126,68 @@
<h4 class="tsd-returns-title">Returns <a href="BST.html" class="tsd-signature-type tsd-kind-class">BST</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_comparator" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_comparator</span><a href="#_comparator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">BSTComparator</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_count" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_count</span><a href="#_count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_count">_count</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_loopType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_loop<wbr/>Type</span><a href="#_loopType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_loop<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/LoopType.html" class="tsd-signature-type tsd-kind-enum">LoopType</a><span class="tsd-signature-symbol"> = LoopType.iterative</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_loopType">_loopType</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_root">_root</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_size">_size</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Count</span><a href="#_visitedCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_visitedCount">_visitedCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Id</span><a href="#_visitedId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_visitedId">_visitedId</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedLeftSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Left<wbr/>Sum</span><a href="#_visitedLeftSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Left<wbr/>Sum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_visitedLeftSum">_visitedLeftSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Node</span><a href="#_visitedNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Node</span><span class="tsd-signature-symbol">:</span> <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_visitedNode">_visitedNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedVal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Val</span><a href="#_visitedVal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_visitedVal">_visitedVal</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="count" class="tsd-anchor"></a>
@ -198,7 +198,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -209,7 +209,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -218,7 +218,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li class="tsd-signature" id="root.root-2"><span class="tsd-signature-symbol">set</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -229,7 +229,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -238,7 +238,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -249,7 +249,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTree.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="BFS" class="tsd-anchor"></a>
@ -265,7 +265,7 @@ or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-2"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -287,7 +287,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-3"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -309,7 +309,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-4"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -331,7 +331,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-5"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -353,7 +353,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFS" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFS</span><a href="#DFS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -367,7 +367,7 @@ specified pattern and node or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-2"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -396,7 +396,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-3"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -425,7 +425,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-4"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -454,7 +454,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-5"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -483,7 +483,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFSIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFSIterative</span><a href="#DFSIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -496,7 +496,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-2"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -515,7 +515,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-3"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -534,7 +534,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-4"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -553,7 +553,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-5"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -572,7 +572,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_accumulatedByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_accumulated<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_accumulatedByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -600,7 +600,7 @@ the property name of the node that should be accumulated. If it is a node object
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_accumulatedByPropertyName">_accumulatedByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -615,7 +615,7 @@ the property name of the node that should be accumulated. If it is a node object
<h5><span class="tsd-kind-parameter">b</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../enums/CP.html" class="tsd-signature-type tsd-kind-enum">CP</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getResultByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Result<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_getResultByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -638,7 +638,7 @@ can accept a value of type <code>NodeOrPropertyName</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_getResultByPropertyName">_getResultByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_pushByPropertyNameStopOrNot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_push<wbr/>By<wbr/>Property<wbr/>Name<wbr/>Stop<wbr/>Or<wbr/>Not</span><a href="#_pushByPropertyNameStopOrNot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -686,7 +686,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_pushByPropertyNameStopOrNot">_pushByPropertyNameStopOrNot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_resetResults" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_reset<wbr/>Results</span><a href="#_resetResults" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -698,7 +698,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#_resetResults">_resetResults</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="allGreaterNodesAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>all<wbr/>Greater<wbr/>Nodes<wbr/>Add</span><a href="#allGreaterNodesAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -715,7 +715,7 @@ stop after finding the first matching node or continue searching for all matchin
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">propertyName</span>: <span class="tsd-signature-type ">BinaryTreeNodePropertyName</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="balance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance</span><a href="#balance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -723,7 +723,7 @@ stop after finding the first matching node or continue searching for all matchin
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -735,7 +735,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="createNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Node</span><a href="#createNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -771,7 +771,7 @@ Otherwise, it returns null.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#createNode">createNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L30">src/data-structures/binary-tree/bst.ts:30</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L30">src/data-structures/binary-tree/bst.ts:30</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="fill" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -794,7 +794,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#fill">fill</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -823,7 +823,7 @@ specifies the property of the binary tree node to search for. If not provided, i
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDepth" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Depth</span><a href="#getDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -845,7 +845,7 @@ meaning it can represent any type of data that we want to store in the node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getDepth">getDepth</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Height</span><a href="#getHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -869,7 +869,7 @@ If no value is provided for <code>beginRoot</code>, the function will use the <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getHeight">getHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLeftMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Left<wbr/>Most</span><a href="#getLeftMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -883,7 +883,7 @@ recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getLeftMost.getLeftMost-2"><span class="tsd-kind-call-signature">get<wbr/>Left<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getLeftMost.getLeftMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getLeftMost</code> function returns the leftmost node in a binary tree, either recursively or iteratively using tail
@ -903,7 +903,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Height</span><a href="#getMinHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -927,7 +927,7 @@ tree. If no value is provided for <code>beginRoot</code>, the function will use
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getMinHeight">getMinHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Nodes</span><a href="#getNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -962,7 +962,7 @@ function will stop traversing the tree and return the first matching node. If <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getNodes">getNodes</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPathToRoot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>To<wbr/>Root</span><a href="#getPathToRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -985,7 +985,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getPathToRoot">getPathToRoot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPredecessor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Predecessor</span><a href="#getPredecessor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1006,7 +1006,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getPredecessor">getPredecessor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRightMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Right<wbr/>Most</span><a href="#getRightMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1020,7 +1020,7 @@ tail recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getRightMost.getRightMost-2"><span class="tsd-kind-call-signature">get<wbr/>Right<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getRightMost.getRightMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getRightMost</code> function returns the rightmost node in a binary tree, either recursively or iteratively using
@ -1040,7 +1040,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSubTreeSizeAndCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Sub<wbr/>Tree<wbr/>Size<wbr/>And<wbr/>Count</span><a href="#getSubTreeSizeAndCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1064,7 +1064,7 @@ represents the size of the subtree, and the second element represents the count
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#getSubTreeSizeAndCount">getSubTreeSizeAndCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1093,7 +1093,7 @@ specifies the name of the property to check for in the nodes.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#has">has</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="insertMany" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Many</span><a href="#insertMany" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1116,7 +1116,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#insertMany">insertMany</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isAVLBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isAVLBalanced</span><a href="#isAVLBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1124,7 +1124,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBST" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isBST</span><a href="#isBST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1147,7 +1147,7 @@ tree, and <code>false</code> otherwise.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#isBST">isBST</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Balanced</span><a href="#isBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1169,7 +1169,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#isBalanced">isBalanced</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1182,7 +1182,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="lastKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>last<wbr/>Key</span><a href="#lastKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1190,7 +1190,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="lesserSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>lesser<wbr/>Sum</span><a href="#lesserSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1205,7 +1205,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">propertyName</span>: <span class="tsd-signature-type ">BinaryTreeNodePropertyName</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="levelIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>level<wbr/>Iterative</span><a href="#levelIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1229,7 +1229,7 @@ the tree is used as the starting node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-2"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1258,7 +1258,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-3"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1287,7 +1287,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-4"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1316,7 +1316,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-5"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1345,7 +1345,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="listLevels" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list<wbr/>Levels</span><a href="#listLevels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1367,7 +1367,7 @@ root node of a binary tree. If it is null, the function will use the root node o
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-2"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1393,7 +1393,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-3"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1419,7 +1419,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-4"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1445,7 +1445,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-5"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1471,7 +1471,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="morris" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>morris</span><a href="#morris" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1487,7 +1487,7 @@ The space complexity Morris traversal is O(1) because no using stack</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-2"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1516,7 +1516,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-3"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1545,7 +1545,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-4"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1574,7 +1574,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-5"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1603,7 +1603,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="put" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put</span><a href="#put" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1639,7 +1639,7 @@ inserted once.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#put">put</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L46">src/data-structures/binary-tree/bst.ts:46</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L46">src/data-structures/binary-tree/bst.ts:46</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="putTo" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put<wbr/>To</span><a href="#putTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1667,7 +1667,7 @@ will be inserted as a child.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#putTo">putTo</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1698,7 +1698,7 @@ not be decremented and the overall count of the binary tree will not be updated.
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#remove">remove</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L122">src/data-structures/binary-tree/bst.ts:122</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L122">src/data-structures/binary-tree/bst.ts:122</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Add</span><a href="#subTreeAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1731,7 +1731,7 @@ specifies the property of the <code>BinaryTreeNode</code> that should be modifie
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#subTreeAdd">subTreeAdd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Sum</span><a href="#subTreeSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1761,7 +1761,7 @@ provided, it defaults to <code>&#39;val&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTree.html">BinaryTree</a>.<a href="BinaryTree.html#subTreeSum">subTreeSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -29,7 +29,7 @@
<ul class="tsd-hierarchy">
<li><a href="AVLTreeNode.html" class="tsd-signature-type tsd-kind-class">AVLTreeNode</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L10">src/data-structures/binary-tree/bst.ts:10</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L10">src/data-structures/binary-tree/bst.ts:10</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -90,7 +90,7 @@
<h4 class="tsd-returns-title">Returns <a href="BSTNode.html" class="tsd-signature-type tsd-kind-class">BSTNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_count" class="tsd-anchor"></a>
@ -98,49 +98,49 @@
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_count">_count</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_family<wbr/>Position</span><a href="#_familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_family<wbr/>Position</span><span class="tsd-signature-symbol">:</span> <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a><span class="tsd-signature-symbol"> = FamilyPosition.root</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_familyPosition">_familyPosition</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_height</span><a href="#_height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_height">_height</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_id">_id</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_left</span><a href="#_left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_left">_left</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_parent</span><a href="#_parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_parent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_parent">_parent</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_right</span><a href="#_right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_right">_right</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_val</span><a href="#_val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#_val">_val</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="count" class="tsd-anchor"></a>
@ -151,7 +151,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -162,7 +162,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>family<wbr/>Position</span><a href="#familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -171,7 +171,7 @@
<h4 class="tsd-returns-title">Returns <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.familyPosition</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li class="tsd-signature" id="familyPosition.familyPosition-2"><span class="tsd-signature-symbol">set</span> familyPosition<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -182,7 +182,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.familyPosition</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -191,7 +191,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.height</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li class="tsd-signature" id="height.height-2"><span class="tsd-signature-symbol">set</span> height<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -202,7 +202,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.height</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -211,7 +211,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -222,7 +222,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -231,7 +231,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.left</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li class="tsd-signature" id="left.left-2"><span class="tsd-signature-symbol">set</span> left<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -242,7 +242,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.left</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -251,7 +251,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.parent</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li class="tsd-signature" id="parent.parent-2"><span class="tsd-signature-symbol">set</span> parent<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -262,7 +262,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.parent</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -271,7 +271,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.right</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li class="tsd-signature" id="right.right-2"><span class="tsd-signature-symbol">set</span> right<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -282,7 +282,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.right</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -291,7 +291,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.val</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -302,7 +302,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BinaryTreeNode.val</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
@ -313,7 +313,7 @@
<h4 class="tsd-returns-title">Returns <a href="BSTNode.html" class="tsd-signature-type tsd-kind-class">BSTNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#clone">clone</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L11">src/data-structures/binary-tree/bst.ts:11</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L11">src/data-structures/binary-tree/bst.ts:11</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="swapLocation" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>swap<wbr/>Location</span><a href="#swapLocation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -327,7 +327,7 @@
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BinaryTreeNode.html">BinaryTreeNode</a>.<a href="BinaryTreeNode.html#swapLocation">swapLocation</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">BTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/b-tree.ts#L1">src/data-structures/binary-tree/b-tree.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/b-tree.ts#L1">src/data-structures/binary-tree/b-tree.ts:1</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">

View file

@ -26,7 +26,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">BinaryIndexedTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L5">src/data-structures/binary-tree/binary-indexed-tree.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L5">src/data-structures/binary-tree/binary-indexed-tree.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -61,14 +61,14 @@
<h5><span class="tsd-kind-parameter">n</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="BinaryIndexedTree.html" class="tsd-signature-type tsd-kind-class">BinaryIndexedTree</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L8">src/data-structures/binary-tree/binary-indexed-tree.ts:8</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L8">src/data-structures/binary-tree/binary-indexed-tree.ts:8</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_sumTree" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_sum<wbr/>Tree</span><a href="#_sumTree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_sum<wbr/>Tree</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L6">src/data-structures/binary-tree/binary-indexed-tree.ts:6</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L6">src/data-structures/binary-tree/binary-indexed-tree.ts:6</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="getPrefixSum" class="tsd-anchor"></a>
@ -92,7 +92,7 @@ array for which we want to calculate the prefix sum.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L38">src/data-structures/binary-tree/binary-indexed-tree.ts:38</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L38">src/data-structures/binary-tree/binary-indexed-tree.ts:38</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getRangeSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Range<wbr/>Sum</span><a href="#getRangeSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -119,7 +119,7 @@ the sum.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L55">src/data-structures/binary-tree/binary-indexed-tree.ts:55</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L55">src/data-structures/binary-tree/binary-indexed-tree.ts:55</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="update" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -146,7 +146,7 @@ at index &quot;i&quot; in the &quot;_sumTree&quot; array.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L24">src/data-structures/binary-tree/binary-indexed-tree.ts:24</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L24">src/data-structures/binary-tree/binary-indexed-tree.ts:24</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="lowBit" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>low<wbr/>Bit</span><a href="#lowBit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -159,7 +159,7 @@ at index &quot;i&quot; in the &quot;_sumTree&quot; array.</p>
<h5><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-indexed-tree.ts#L12">src/data-structures/binary-tree/binary-indexed-tree.ts:12</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-indexed-tree.ts#L12">src/data-structures/binary-tree/binary-indexed-tree.ts:12</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><a href="BST.html" class="tsd-signature-type tsd-kind-class">BST</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L140">src/data-structures/binary-tree/binary-tree.ts:140</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L140">src/data-structures/binary-tree/binary-tree.ts:140</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -127,69 +127,69 @@ isDuplicatedVal based on the provided options.</p>
<h4 class="tsd-returns-title">Returns <a href="BinaryTree.html" class="tsd-signature-type tsd-kind-class">BinaryTree</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L156">src/data-structures/binary-tree/binary-tree.ts:156</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L156">src/data-structures/binary-tree/binary-tree.ts:156</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_autoIncrementId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_auto<wbr/>Increment<wbr/>Id</span><a href="#_autoIncrementId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_auto<wbr/>Increment<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L147">src/data-structures/binary-tree/binary-tree.ts:147</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L147">src/data-structures/binary-tree/binary-tree.ts:147</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_count" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_count</span><a href="#_count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_isDuplicatedVal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_is<wbr/>Duplicated<wbr/>Val</span><a href="#_isDuplicatedVal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_is<wbr/>Duplicated<wbr/>Val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L149">src/data-structures/binary-tree/binary-tree.ts:149</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L149">src/data-structures/binary-tree/binary-tree.ts:149</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_loopType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_loop<wbr/>Type</span><a href="#_loopType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_loop<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/LoopType.html" class="tsd-signature-type tsd-kind-enum">LoopType</a><span class="tsd-signature-symbol"> = LoopType.iterative</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_maxId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_max<wbr/>Id</span><a href="#_maxId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_max<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = -1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L148">src/data-structures/binary-tree/binary-tree.ts:148</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L148">src/data-structures/binary-tree/binary-tree.ts:148</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_visitedCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Count</span><a href="#_visitedCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_visitedId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Id</span><a href="#_visitedId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_visitedLeftSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Left<wbr/>Sum</span><a href="#_visitedLeftSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Left<wbr/>Sum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_visitedNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Node</span><a href="#_visitedNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Node</span><span class="tsd-signature-symbol">:</span> <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_visitedVal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Val</span><a href="#_visitedVal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="count" class="tsd-anchor"></a>
@ -199,7 +199,7 @@ isDuplicatedVal based on the provided options.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -209,7 +209,7 @@ isDuplicatedVal based on the provided options.</p>
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -217,7 +217,7 @@ isDuplicatedVal based on the provided options.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li class="tsd-signature" id="root.root-2"><span class="tsd-signature-symbol">set</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -227,7 +227,7 @@ isDuplicatedVal based on the provided options.</p>
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -235,7 +235,7 @@ isDuplicatedVal based on the provided options.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -245,7 +245,7 @@ isDuplicatedVal based on the provided options.</p>
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="BFS" class="tsd-anchor"></a>
@ -260,7 +260,7 @@ or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-2"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -281,7 +281,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-3"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -302,7 +302,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-4"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -323,7 +323,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-5"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -344,7 +344,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="DFS" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFS</span><a href="#DFS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -357,7 +357,7 @@ specified pattern and node or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-2"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -385,7 +385,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-3"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -413,7 +413,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-4"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -441,7 +441,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-5"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -469,7 +469,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="DFSIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFSIterative</span><a href="#DFSIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -481,7 +481,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-2"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -499,7 +499,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-3"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -517,7 +517,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-4"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -535,7 +535,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-5"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -553,7 +553,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_accumulatedByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_accumulated<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_accumulatedByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -580,7 +580,7 @@ the property name of the node that should be accumulated. If it is a node object
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_getResultByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Result<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_getResultByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -602,7 +602,7 @@ can accept a value of type <code>NodeOrPropertyName</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_pushByPropertyNameStopOrNot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_push<wbr/>By<wbr/>Property<wbr/>Name<wbr/>Stop<wbr/>Or<wbr/>Not</span><a href="#_pushByPropertyNameStopOrNot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -649,7 +649,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_resetResults" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_reset<wbr/>Results</span><a href="#_resetResults" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -660,7 +660,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -671,7 +671,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="createNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Node</span><a href="#createNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -706,7 +706,7 @@ Otherwise, it returns null.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L219">src/data-structures/binary-tree/binary-tree.ts:219</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L219">src/data-structures/binary-tree/binary-tree.ts:219</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="fill" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -728,7 +728,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -756,7 +756,7 @@ specifies the property of the binary tree node to search for. If not provided, i
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L629">src/data-structures/binary-tree/binary-tree.ts:629</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L629">src/data-structures/binary-tree/binary-tree.ts:629</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getDepth" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Depth</span><a href="#getDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -777,7 +777,7 @@ meaning it can represent any type of data that we want to store in the node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Height</span><a href="#getHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -800,7 +800,7 @@ If no value is provided for <code>beginRoot</code>, the function will use the <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getLeftMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Left<wbr/>Most</span><a href="#getLeftMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -813,7 +813,7 @@ recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getLeftMost.getLeftMost-2"><span class="tsd-kind-call-signature">get<wbr/>Left<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getLeftMost.getLeftMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getLeftMost</code> function returns the leftmost node in a binary tree, either recursively or iteratively using tail
@ -832,7 +832,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getMinHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Height</span><a href="#getMinHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -855,7 +855,7 @@ tree. If no value is provided for <code>beginRoot</code>, the function will use
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Nodes</span><a href="#getNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -889,7 +889,7 @@ function will stop traversing the tree and return the first matching node. If <c
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L577">src/data-structures/binary-tree/binary-tree.ts:577</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L577">src/data-structures/binary-tree/binary-tree.ts:577</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getPathToRoot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>To<wbr/>Root</span><a href="#getPathToRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -911,7 +911,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getPredecessor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Predecessor</span><a href="#getPredecessor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -931,7 +931,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getRightMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Right<wbr/>Most</span><a href="#getRightMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -944,7 +944,7 @@ tail recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getRightMost.getRightMost-2"><span class="tsd-kind-call-signature">get<wbr/>Right<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getRightMost.getRightMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getRightMost</code> function returns the rightmost node in a binary tree, either recursively or iteratively using
@ -963,7 +963,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getSubTreeSizeAndCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Sub<wbr/>Tree<wbr/>Size<wbr/>And<wbr/>Count</span><a href="#getSubTreeSizeAndCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -986,7 +986,7 @@ represents the size of the subtree, and the second element represents the count
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1014,7 +1014,7 @@ specifies the name of the property to check for in the nodes.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insertMany" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Many</span><a href="#insertMany" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1036,7 +1036,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isBST" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isBST</span><a href="#isBST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1058,7 +1058,7 @@ tree, and <code>false</code> otherwise.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Balanced</span><a href="#isBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1079,7 +1079,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1091,7 +1091,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="levelIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>level<wbr/>Iterative</span><a href="#levelIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1114,7 +1114,7 @@ the tree is used as the starting node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-2"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1142,7 +1142,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-3"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1170,7 +1170,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-4"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1198,7 +1198,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-5"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1226,7 +1226,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="listLevels" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list<wbr/>Levels</span><a href="#listLevels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1247,7 +1247,7 @@ root node of a binary tree. If it is null, the function will use the root node o
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-2"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1272,7 +1272,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-3"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1297,7 +1297,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-4"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1322,7 +1322,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-5"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1347,7 +1347,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="morris" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>morris</span><a href="#morris" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1362,7 +1362,7 @@ The space complexity Morris traversal is O(1) because no using stack</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-2"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1390,7 +1390,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-3"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1418,7 +1418,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-4"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1446,7 +1446,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-5"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1474,7 +1474,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="put" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put</span><a href="#put" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1508,7 +1508,7 @@ is inserted, or <code>undefined</code> if the insertion fails.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L293">src/data-structures/binary-tree/binary-tree.ts:293</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L293">src/data-structures/binary-tree/binary-tree.ts:293</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="putTo" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put<wbr/>To</span><a href="#putTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1535,7 +1535,7 @@ will be inserted as a child.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1565,7 +1565,7 @@ not be decremented and the overall count of the binary tree will not be updated.
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L405">src/data-structures/binary-tree/binary-tree.ts:405</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L405">src/data-structures/binary-tree/binary-tree.ts:405</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="subTreeAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Add</span><a href="#subTreeAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1597,7 +1597,7 @@ specifies the property of the <code>BinaryTreeNode</code> that should be modifie
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="subTreeSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Sum</span><a href="#subTreeSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1626,7 +1626,7 @@ provided, it defaults to <code>&#39;val&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><a href="BSTNode.html" class="tsd-signature-type tsd-kind-class">BSTNode</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L21">src/data-structures/binary-tree/binary-tree.ts:21</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L21">src/data-structures/binary-tree/binary-tree.ts:21</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -87,49 +87,49 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">count</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L22">src/data-structures/binary-tree/binary-tree.ts:22</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_count" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_count</span><a href="#_count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L96">src/data-structures/binary-tree/binary-tree.ts:96</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_family<wbr/>Position</span><a href="#_familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_family<wbr/>Position</span><span class="tsd-signature-symbol">:</span> <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a><span class="tsd-signature-symbol"> = FamilyPosition.root</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L86">src/data-structures/binary-tree/binary-tree.ts:86</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_height</span><a href="#_height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L106">src/data-structures/binary-tree/binary-tree.ts:106</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L28">src/data-structures/binary-tree/binary-tree.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_left</span><a href="#_left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_left</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L48">src/data-structures/binary-tree/binary-tree.ts:48</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_parent</span><a href="#_parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_parent</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L76">src/data-structures/binary-tree/binary-tree.ts:76</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>_right</span><a href="#_right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_right</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L62">src/data-structures/binary-tree/binary-tree.ts:62</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_val</span><a href="#_val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L38">src/data-structures/binary-tree/binary-tree.ts:38</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="count" class="tsd-anchor"></a>
@ -139,7 +139,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L98">src/data-structures/binary-tree/binary-tree.ts:98</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -149,7 +149,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L102">src/data-structures/binary-tree/binary-tree.ts:102</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="familyPosition" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>family<wbr/>Position</span><a href="#familyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -157,7 +157,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L88">src/data-structures/binary-tree/binary-tree.ts:88</a></li></ul></aside></li>
<li class="tsd-signature" id="familyPosition.familyPosition-2"><span class="tsd-signature-symbol">set</span> familyPosition<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -167,7 +167,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <a href="../enums/FamilyPosition.html" class="tsd-signature-type tsd-kind-enum">FamilyPosition</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L92">src/data-structures/binary-tree/binary-tree.ts:92</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="height" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -175,7 +175,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L108">src/data-structures/binary-tree/binary-tree.ts:108</a></li></ul></aside></li>
<li class="tsd-signature" id="height.height-2"><span class="tsd-signature-symbol">set</span> height<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -185,7 +185,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L112">src/data-structures/binary-tree/binary-tree.ts:112</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -193,7 +193,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L30">src/data-structures/binary-tree/binary-tree.ts:30</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -203,7 +203,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L34">src/data-structures/binary-tree/binary-tree.ts:34</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -211,7 +211,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L50">src/data-structures/binary-tree/binary-tree.ts:50</a></li></ul></aside></li>
<li class="tsd-signature" id="left.left-2"><span class="tsd-signature-symbol">set</span> left<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -221,7 +221,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L54">src/data-structures/binary-tree/binary-tree.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="parent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -229,7 +229,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L78">src/data-structures/binary-tree/binary-tree.ts:78</a></li></ul></aside></li>
<li class="tsd-signature" id="parent.parent-2"><span class="tsd-signature-symbol">set</span> parent<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -239,7 +239,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L82">src/data-structures/binary-tree/binary-tree.ts:82</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -247,7 +247,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L64">src/data-structures/binary-tree/binary-tree.ts:64</a></li></ul></aside></li>
<li class="tsd-signature" id="right.right-2"><span class="tsd-signature-symbol">set</span> right<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -257,7 +257,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L68">src/data-structures/binary-tree/binary-tree.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -265,7 +265,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L40">src/data-structures/binary-tree/binary-tree.ts:40</a></li></ul></aside></li>
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -275,7 +275,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L44">src/data-structures/binary-tree/binary-tree.ts:44</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
@ -285,7 +285,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L135">src/data-structures/binary-tree/binary-tree.ts:135</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L135">src/data-structures/binary-tree/binary-tree.ts:135</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="swapLocation" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>swap<wbr/>Location</span><a href="#swapLocation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -298,7 +298,7 @@
<h5><span class="tsd-kind-parameter">swapNode</span>: <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L116">src/data-structures/binary-tree/binary-tree.ts:116</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Character</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L7">src/data-structures/matrix/navigator.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L7">src/data-structures/matrix/navigator.ts:7</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -63,14 +63,14 @@ turning direction. It is used to determine the new direction when the character
<h4 class="tsd-returns-title">Returns <a href="Character.html" class="tsd-signature-type tsd-kind-class">Character</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L19">src/data-structures/matrix/navigator.ts:19</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L19">src/data-structures/matrix/navigator.ts:19</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="direction" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>direction</span><a href="#direction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">direction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Direction</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L8">src/data-structures/matrix/navigator.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L8">src/data-structures/matrix/navigator.ts:8</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="turn" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>turn</span><a href="#turn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">turn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="Character.html" class="tsd-signature-type tsd-kind-class">Character</a><span class="tsd-signature-symbol">)</span></div>
@ -83,7 +83,7 @@ turning direction. It is used to determine the new direction when the character
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="Character.html" class="tsd-signature-type tsd-kind-class">Character</a></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L9">src/data-structures/matrix/navigator.ts:9</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L9">src/data-structures/matrix/navigator.ts:9</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -33,7 +33,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">CoordinateMap</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L5">src/data-structures/hash/coordinate-map.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L5">src/data-structures/hash/coordinate-map.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -83,7 +83,7 @@
<h4 class="tsd-returns-title">Returns <a href="CoordinateMap.html" class="tsd-signature-type tsd-kind-class">CoordinateMap</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides Map&lt;any, V&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L8">src/data-structures/hash/coordinate-map.ts:8</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L8">src/data-structures/hash/coordinate-map.ts:8</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="_toStringTag_" class="tsd-anchor"></a>
@ -96,7 +96,7 @@
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_joint</span><a href="#_joint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_joint</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;_&#39;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L6">src/data-structures/hash/coordinate-map.ts:6</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L6">src/data-structures/hash/coordinate-map.ts:6</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
@ -157,7 +157,7 @@ the super delete method.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Map.delete</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L53">src/data-structures/hash/coordinate-map.ts:53</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L53">src/data-structures/hash/coordinate-map.ts:53</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="entries" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
@ -225,7 +225,7 @@ method.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Map.get</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L42">src/data-structures/hash/coordinate-map.ts:42</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L42">src/data-structures/hash/coordinate-map.ts:42</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -248,7 +248,7 @@ key array with a specified delimiter.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Map.has</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L20">src/data-structures/hash/coordinate-map.ts:20</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L20">src/data-structures/hash/coordinate-map.ts:20</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="keys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>keys</span><a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
@ -288,7 +288,7 @@ delimiter before calling the original set method.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Map.set</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-map.ts#L32">src/data-structures/hash/coordinate-map.ts:32</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-map.ts#L32">src/data-structures/hash/coordinate-map.ts:32</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="values" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">

View file

@ -28,7 +28,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">CoordinateSet</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L5">src/data-structures/hash/coordinate-set.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L5">src/data-structures/hash/coordinate-set.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -72,7 +72,7 @@
<h4 class="tsd-returns-title">Returns <a href="CoordinateSet.html" class="tsd-signature-type tsd-kind-class">CoordinateSet</a></h4><aside class="tsd-sources">
<p>Overrides Set.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L8">src/data-structures/hash/coordinate-set.ts:8</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L8">src/data-structures/hash/coordinate-set.ts:8</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="_toStringTag_" class="tsd-anchor"></a>
@ -85,7 +85,7 @@
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_joint</span><a href="#_joint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_joint</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;_&#39;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L6">src/data-structures/hash/coordinate-set.ts:6</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L6">src/data-structures/hash/coordinate-set.ts:6</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
@ -137,7 +137,7 @@ specified delimiter before calling the parent class&#39;s &quot;add&quot; functi
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Set.add</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L31">src/data-structures/hash/coordinate-set.ts:31</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L31">src/data-structures/hash/coordinate-set.ts:31</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
@ -169,7 +169,7 @@ array with a specified joint and then calling the delete method of the parent cl
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Set.delete</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L42">src/data-structures/hash/coordinate-set.ts:42</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L42">src/data-structures/hash/coordinate-set.ts:42</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="entries" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">
@ -238,7 +238,7 @@ in the joined value as an argument.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides Set.has</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/hash/coordinate-set.ts#L20">src/data-structures/hash/coordinate-set.ts:20</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/hash/coordinate-set.ts#L20">src/data-structures/hash/coordinate-set.ts:20</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="keys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>keys</span><a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited tsd-is-external">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Deque</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L9">src/data-structures/queue/deque.ts:9</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L9">src/data-structures/queue/deque.ts:9</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -79,7 +79,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from DoublyLinkedList.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L23">src/data-structures/linked-list/doubly-linked-list.ts:23</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L23">src/data-structures/linked-list/doubly-linked-list.ts:23</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -90,7 +90,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from DoublyLinkedList.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L27">src/data-structures/linked-list/doubly-linked-list.ts:27</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L27">src/data-structures/linked-list/doubly-linked-list.ts:27</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="get" class="tsd-anchor"></a>
@ -114,7 +114,7 @@ If index = 3; fourth element in the list is returned.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L184">src/data-structures/linked-list/doubly-linked-list.ts:184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L184">src/data-structures/linked-list/doubly-linked-list.ts:184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="get.get-2"><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#get.get-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the node at the specified index of the linked list.
@ -138,7 +138,7 @@ If index = 3; fourth element in the list is returned.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L185">src/data-structures/linked-list/doubly-linked-list.ts:185</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L185">src/data-structures/linked-list/doubly-linked-list.ts:185</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="get.get-3"><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#get.get-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the node at the specified index of the linked list.
@ -162,7 +162,7 @@ If index = 3; fourth element in the list is returned.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L186">src/data-structures/linked-list/doubly-linked-list.ts:186</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L186">src/data-structures/linked-list/doubly-linked-list.ts:186</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="insert" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert</span><a href="#insert" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -187,7 +187,7 @@ If index = 3; fourth element in the list is returned.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#insert">insert</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L248">src/data-structures/linked-list/doubly-linked-list.ts:248</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L248">src/data-structures/linked-list/doubly-linked-list.ts:248</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -196,7 +196,7 @@ If index = 3; fourth element in the list is returned.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L238">src/data-structures/linked-list/doubly-linked-list.ts:238</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L238">src/data-structures/linked-list/doubly-linked-list.ts:238</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offerFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>First</span><a href="#offerFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -218,7 +218,7 @@ the doubly linked list.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#offerFirst">offerFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L37">src/data-structures/linked-list/doubly-linked-list.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L37">src/data-structures/linked-list/doubly-linked-list.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offerLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>Last</span><a href="#offerLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -240,7 +240,7 @@ doubly linked list.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#offerLast">offerLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L57">src/data-structures/linked-list/doubly-linked-list.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L57">src/data-structures/linked-list/doubly-linked-list.ts:57</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peekFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>First</span><a href="#peekFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -255,7 +255,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekFirst">peekFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L71">src/data-structures/linked-list/doubly-linked-list.ts:71</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L71">src/data-structures/linked-list/doubly-linked-list.ts:71</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekFirst.peekFirst-2"><span class="tsd-kind-call-signature">peek<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#peekFirst.peekFirst-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekFirst</code> function returns the first node or value in a doubly linked list, depending on the specified
@ -276,7 +276,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekFirst">peekFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L72">src/data-structures/linked-list/doubly-linked-list.ts:72</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L72">src/data-structures/linked-list/doubly-linked-list.ts:72</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekFirst.peekFirst-3"><span class="tsd-kind-call-signature">peek<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#peekFirst.peekFirst-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekFirst</code> function returns the first node or value in a doubly linked list, depending on the specified
@ -297,7 +297,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekFirst">peekFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L73">src/data-structures/linked-list/doubly-linked-list.ts:73</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L73">src/data-structures/linked-list/doubly-linked-list.ts:73</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -310,7 +310,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekLast">peekLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L93">src/data-structures/linked-list/doubly-linked-list.ts:93</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L93">src/data-structures/linked-list/doubly-linked-list.ts:93</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekLast.peekLast-2"><span class="tsd-kind-call-signature">peek<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#peekLast.peekLast-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekLast</code> function returns the last node or value in a doubly linked list.</p>
@ -330,7 +330,7 @@ means that if no value is provided for the &quot;by&quot; parameter, the method<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekLast">peekLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L94">src/data-structures/linked-list/doubly-linked-list.ts:94</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L94">src/data-structures/linked-list/doubly-linked-list.ts:94</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekLast.peekLast-3"><span class="tsd-kind-call-signature">peek<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#peekLast.peekLast-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekLast</code> function returns the last node or value in a doubly linked list.</p>
@ -350,7 +350,7 @@ means that if no value is provided for the &quot;by&quot; parameter, the method<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#peekLast">peekLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L95">src/data-structures/linked-list/doubly-linked-list.ts:95</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L95">src/data-structures/linked-list/doubly-linked-list.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="pollFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>First</span><a href="#pollFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -366,7 +366,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollFirst">pollFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L114">src/data-structures/linked-list/doubly-linked-list.ts:114</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L114">src/data-structures/linked-list/doubly-linked-list.ts:114</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollFirst.pollFirst-2"><span class="tsd-kind-call-signature">poll<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#pollFirst.pollFirst-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollFirst</code> removes and returns the first element of a doubly linked list, either as a node or its
@ -389,7 +389,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollFirst">pollFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L115">src/data-structures/linked-list/doubly-linked-list.ts:115</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L115">src/data-structures/linked-list/doubly-linked-list.ts:115</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollFirst.pollFirst-3"><span class="tsd-kind-call-signature">poll<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#pollFirst.pollFirst-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollFirst</code> removes and returns the first element of a doubly linked list, either as a node or its
@ -412,7 +412,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollFirst">pollFirst</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L116">src/data-structures/linked-list/doubly-linked-list.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L116">src/data-structures/linked-list/doubly-linked-list.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="pollLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>Last</span><a href="#pollLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -428,7 +428,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollLast">pollLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L149">src/data-structures/linked-list/doubly-linked-list.ts:149</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L149">src/data-structures/linked-list/doubly-linked-list.ts:149</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollLast.pollLast-2"><span class="tsd-kind-call-signature">poll<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#pollLast.pollLast-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollLast</code> removes and returns the last element in a doubly linked list, either as a node or its value,
@ -451,7 +451,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollLast">pollLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L150">src/data-structures/linked-list/doubly-linked-list.ts:150</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L150">src/data-structures/linked-list/doubly-linked-list.ts:150</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollLast.pollLast-3"><span class="tsd-kind-call-signature">poll<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#pollLast.pollLast-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollLast</code> removes and returns the last element in a doubly linked list, either as a node or its value,
@ -474,7 +474,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#pollLast">pollLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L151">src/data-structures/linked-list/doubly-linked-list.ts:151</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L151">src/data-structures/linked-list/doubly-linked-list.ts:151</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -498,7 +498,7 @@ if the index is out of bounds.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#remove">remove</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L273">src/data-structures/linked-list/doubly-linked-list.ts:273</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L273">src/data-structures/linked-list/doubly-linked-list.ts:273</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -525,7 +525,7 @@ If index = 3; Value of the fourth element in the list is updated.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="DoublyLinkedList.html">DoublyLinkedList</a>.<a href="DoublyLinkedList.html#set">set</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L229">src/data-structures/linked-list/doubly-linked-list.ts:229</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L229">src/data-structures/linked-list/doubly-linked-list.ts:229</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -22,7 +22,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">DirectedEdge</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L15">src/data-structures/graph/directed-graph.ts:15</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L15">src/data-structures/graph/directed-graph.ts:15</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -64,25 +64,25 @@
<h4 class="tsd-returns-title">Returns <a href="DirectedEdge.html" class="tsd-signature-type tsd-kind-class">DirectedEdge</a></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractEdge.html">AbstractEdge</a>.<a href="AbstractEdge.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L16">src/data-structures/graph/directed-graph.ts:16</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L16">src/data-structures/graph/directed-graph.ts:16</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_dest" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_dest</span><a href="#_dest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_dest</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">VertexId</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L32">src/data-structures/graph/directed-graph.ts:32</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L32">src/data-structures/graph/directed-graph.ts:32</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_src" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_src</span><a href="#_src" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_src</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">VertexId</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L22">src/data-structures/graph/directed-graph.ts:22</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L22">src/data-structures/graph/directed-graph.ts:22</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DEFAULT_EDGE_WEIGHT" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><a href="#DEFAULT_EDGE_WEIGHT" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractEdge.html">AbstractEdge</a>.<a href="AbstractEdge.html#DEFAULT_EDGE_WEIGHT">DEFAULT_EDGE_WEIGHT</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="dest" class="tsd-anchor"></a>
@ -92,7 +92,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">VertexId</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L33">src/data-structures/graph/directed-graph.ts:33</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L33">src/data-structures/graph/directed-graph.ts:33</a></li></ul></aside></li>
<li class="tsd-signature" id="dest.dest-2"><span class="tsd-signature-symbol">set</span> dest<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -102,7 +102,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type ">VertexId</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L37">src/data-structures/graph/directed-graph.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L37">src/data-structures/graph/directed-graph.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="hashCode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>hash<wbr/>Code</span><a href="#hashCode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -111,7 +111,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.hashCode</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li class="tsd-signature" id="hashCode.hashCode-2"><span class="tsd-signature-symbol">set</span> hashCode<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -122,7 +122,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.hashCode</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="src" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>src</span><a href="#src" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -130,7 +130,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">VertexId</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L23">src/data-structures/graph/directed-graph.ts:23</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L23">src/data-structures/graph/directed-graph.ts:23</a></li></ul></aside></li>
<li class="tsd-signature" id="src.src-2"><span class="tsd-signature-symbol">set</span> src<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -140,7 +140,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type ">VertexId</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L27">src/data-structures/graph/directed-graph.ts:27</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L27">src/data-structures/graph/directed-graph.ts:27</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="weight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -149,7 +149,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.weight</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li class="tsd-signature" id="weight.weight-2"><span class="tsd-signature-symbol">set</span> weight<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -160,7 +160,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.weight</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -33,7 +33,7 @@
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type ">IDirectedGraph</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L43">src/data-structures/graph/directed-graph.ts:43</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L43">src/data-structures/graph/directed-graph.ts:43</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -105,25 +105,25 @@
<h4 class="tsd-returns-title">Returns <a href="DirectedGraph.html" class="tsd-signature-type tsd-kind-class">DirectedGraph</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L49">src/data-structures/graph/directed-graph.ts:49</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L49">src/data-structures/graph/directed-graph.ts:49</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_inEdgeMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_in<wbr/>Edge<wbr/>Map</span><a href="#_inEdgeMap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_in<wbr/>Edge<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L47">src/data-structures/graph/directed-graph.ts:47</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L47">src/data-structures/graph/directed-graph.ts:47</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_outEdgeMap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_out<wbr/>Edge<wbr/>Map</span><a href="#_outEdgeMap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_out<wbr/>Edge<wbr/>Map</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L45">src/data-structures/graph/directed-graph.ts:45</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L45">src/data-structures/graph/directed-graph.ts:45</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_vertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_vertices</span><a href="#_vertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_vertices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#_vertices">_vertices</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="addEdge" class="tsd-anchor"></a>
@ -148,7 +148,7 @@ graph, and <code>false</code> if either the source or destination vertices of th
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#addEdge">addEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L86">src/data-structures/graph/directed-graph.ts:86</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L86">src/data-structures/graph/directed-graph.ts:86</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="addVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>add<wbr/>Vertex</span><a href="#addVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -170,7 +170,7 @@ false. Otherwise, it will add the newVertex to the graph and return true.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#addVertex">addVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="bellmanFord" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bellman<wbr/>Ford</span><a href="#bellmanFord" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -226,7 +226,7 @@ vertex.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#bellmanFord">bellmanFord</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="containsEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Edge</span><a href="#containsEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -255,7 +255,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#containsEdge">containsEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="containsVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Vertex</span><a href="#containsVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -277,7 +277,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#containsVertex">containsVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="degreeOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>degree<wbr/>Of</span><a href="#degreeOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -298,7 +298,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#degreeOf">degreeOf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L226">src/data-structures/graph/directed-graph.ts:226</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L226">src/data-structures/graph/directed-graph.ts:226</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="dijkstra" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra</span><a href="#dijkstra" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -342,7 +342,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#dijkstra">dijkstra</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="dijkstraWithoutHeap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra<wbr/>Without<wbr/>Heap</span><a href="#dijkstraWithoutHeap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -386,7 +386,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#dijkstraWithoutHeap">dijkstraWithoutHeap</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgeSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>edge<wbr/>Set</span><a href="#edgeSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -399,7 +399,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#edgeSet">edgeSet</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L379">src/data-structures/graph/directed-graph.ts:379</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L379">src/data-structures/graph/directed-graph.ts:379</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>edges<wbr/>Of</span><a href="#edgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -420,7 +420,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#edgesOf">edgesOf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L253">src/data-structures/graph/directed-graph.ts:253</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L253">src/data-structures/graph/directed-graph.ts:253</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="floyd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>floyd</span><a href="#floyd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -444,7 +444,7 @@ path between vertices in the</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#floyd">floyd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAllPathsBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Paths<wbr/>Between</span><a href="#getAllPathsBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -473,7 +473,7 @@ and v2).</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getAllPathsBetween">getAllPathsBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getDestinations" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Destinations</span><a href="#getDestinations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -495,7 +495,7 @@ find the destinations. It can be either a <code>V</code> object, a <code>VertexI
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L282">src/data-structures/graph/directed-graph.ts:282</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L282">src/data-structures/graph/directed-graph.ts:282</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Edge</span><a href="#getEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -523,7 +523,7 @@ find the destinations. It can be either a <code>V</code> object, a <code>VertexI
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getEdge">getEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L61">src/data-structures/graph/directed-graph.ts:61</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L61">src/data-structures/graph/directed-graph.ts:61</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdgeDest" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Edge<wbr/>Dest</span><a href="#getEdgeDest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -544,7 +544,7 @@ find the destinations. It can be either a <code>V</code> object, a <code>VertexI
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.getEdgeDest</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L271">src/data-structures/graph/directed-graph.ts:271</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L271">src/data-structures/graph/directed-graph.ts:271</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdgeSrc" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Edge<wbr/>Src</span><a href="#getEdgeSrc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -565,7 +565,7 @@ find the destinations. It can be either a <code>V</code> object, a <code>VertexI
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.getEdgeSrc</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L262">src/data-structures/graph/directed-graph.ts:262</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L262">src/data-structures/graph/directed-graph.ts:262</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEndsOfEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Ends<wbr/>Of<wbr/>Edge</span><a href="#getEndsOfEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -588,7 +588,7 @@ returns null.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getEndsOfEdge">getEndsOfEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L416">src/data-structures/graph/directed-graph.ts:416</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L416">src/data-structures/graph/directed-graph.ts:416</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinCostBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Cost<wbr/>Between</span><a href="#getMinCostBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -626,7 +626,7 @@ vertices are not</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getMinCostBetween">getMinCostBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinPathBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Path<wbr/>Between</span><a href="#getMinPathBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -662,7 +662,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getMinPathBetween">getMinPathBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNeighbors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Neighbors</span><a href="#getNeighbors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -684,7 +684,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getNeighbors">getNeighbors</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L393">src/data-structures/graph/directed-graph.ts:393</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L393">src/data-structures/graph/directed-graph.ts:393</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPathSumWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>Sum<wbr/>Weight</span><a href="#getPathSumWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -705,7 +705,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getPathSumWeight">getPathSumWeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex</span><a href="#getVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -728,7 +728,7 @@ If the vertex is found in the <code>_vertices</code> map, it is returned. Otherw
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getVertex">getVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getVertexId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex<wbr/>Id</span><a href="#getVertexId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -751,7 +751,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getVertexId">getVertexId</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="inDegreeOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>in<wbr/>Degree<wbr/>Of</span><a href="#inDegreeOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -772,7 +772,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.inDegreeOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L235">src/data-structures/graph/directed-graph.ts:235</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L235">src/data-structures/graph/directed-graph.ts:235</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="incomingEdgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>incoming<wbr/>Edges<wbr/>Of</span><a href="#incomingEdgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -794,7 +794,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.incomingEdgesOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L199">src/data-structures/graph/directed-graph.ts:199</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L199">src/data-structures/graph/directed-graph.ts:199</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="outDegreeOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>out<wbr/>Degree<wbr/>Of</span><a href="#outDegreeOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -815,7 +815,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.outDegreeOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L244">src/data-structures/graph/directed-graph.ts:244</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L244">src/data-structures/graph/directed-graph.ts:244</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="outgoingEdgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>outgoing<wbr/>Edges<wbr/>Of</span><a href="#outgoingEdgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -837,7 +837,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Implementation of IDirectedGraph.outgoingEdgesOf</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L213">src/data-structures/graph/directed-graph.ts:213</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L213">src/data-structures/graph/directed-graph.ts:213</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeAllEdges" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Edges</span><a href="#removeAllEdges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -864,7 +864,7 @@ It can be either a <code>VertexId</code> or a <code>V</code> type, which represe
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L189">src/data-structures/graph/directed-graph.ts:189</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L189">src/data-structures/graph/directed-graph.ts:189</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeAllVertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Vertices</span><a href="#removeAllVertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -887,7 +887,7 @@ were removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeAllVertices">removeAllVertices</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Edge</span><a href="#removeEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -910,7 +910,7 @@ and <code>dest</code>, which represent the source and destination vertices of th
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeEdge">removeEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L161">src/data-structures/graph/directed-graph.ts:161</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L161">src/data-structures/graph/directed-graph.ts:161</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdgeBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Edge<wbr/>Between</span><a href="#removeEdgeBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -940,7 +940,7 @@ edge does not exist, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeEdgeBetween">removeEdgeBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L125">src/data-structures/graph/directed-graph.ts:125</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L125">src/data-structures/graph/directed-graph.ts:125</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Vertex</span><a href="#removeVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -962,7 +962,7 @@ edge does not exist, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeVertex">removeVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setEdgeWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Edge<wbr/>Weight</span><a href="#setEdgeWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -997,7 +997,7 @@ the weight of the edge and return true. If the edge does not exist, the function
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#setEdgeWeight">setEdgeWeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="tarjan" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>tarjan</span><a href="#tarjan" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1059,7 +1059,7 @@ are arrays of vertices that form cycles within the SCCs.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#tarjan">tarjan</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="topologicalSort" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>topological<wbr/>Sort</span><a href="#topologicalSort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1075,7 +1075,7 @@ the graph. If there is a cycle in the graph, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L307">src/data-structures/graph/directed-graph.ts:307</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L307">src/data-structures/graph/directed-graph.ts:307</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="vertexSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>vertex<wbr/>Set</span><a href="#vertexSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1088,7 +1088,7 @@ the graph. If there is a cycle in the graph, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#vertexSet">vertexSet</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -22,7 +22,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">DirectedVertex</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L9">src/data-structures/graph/directed-graph.ts:9</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L9">src/data-structures/graph/directed-graph.ts:9</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -51,7 +51,7 @@
<h4 class="tsd-returns-title">Returns <a href="DirectedVertex.html" class="tsd-signature-type tsd-kind-class">DirectedVertex</a></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractVertex.html">AbstractVertex</a>.<a href="AbstractVertex.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/directed-graph.ts#L10">src/data-structures/graph/directed-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/directed-graph.ts#L10">src/data-structures/graph/directed-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
@ -62,7 +62,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">VertexId</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractVertex.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -73,7 +73,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractVertex.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><a href="Deque.html" class="tsd-signature-type tsd-kind-class">Deque</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L19">src/data-structures/linked-list/doubly-linked-list.ts:19</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L19">src/data-structures/linked-list/doubly-linked-list.ts:19</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -80,17 +80,17 @@
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_first</span><a href="#_first" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_first</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L20">src/data-structures/linked-list/doubly-linked-list.ts:20</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L20">src/data-structures/linked-list/doubly-linked-list.ts:20</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_last" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_last</span><a href="#_last" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_last</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L21">src/data-structures/linked-list/doubly-linked-list.ts:21</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L21">src/data-structures/linked-list/doubly-linked-list.ts:21</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L22">src/data-structures/linked-list/doubly-linked-list.ts:22</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L22">src/data-structures/linked-list/doubly-linked-list.ts:22</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
@ -100,7 +100,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L23">src/data-structures/linked-list/doubly-linked-list.ts:23</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L23">src/data-structures/linked-list/doubly-linked-list.ts:23</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -110,7 +110,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L27">src/data-structures/linked-list/doubly-linked-list.ts:27</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L27">src/data-structures/linked-list/doubly-linked-list.ts:27</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
@ -133,7 +133,7 @@ If index = 3; fourth element in the list is returned.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L184">src/data-structures/linked-list/doubly-linked-list.ts:184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L184">src/data-structures/linked-list/doubly-linked-list.ts:184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="get.get-2"><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#get.get-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the node at the specified index of the linked list.
@ -156,7 +156,7 @@ If index = 3; fourth element in the list is returned.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L185">src/data-structures/linked-list/doubly-linked-list.ts:185</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L185">src/data-structures/linked-list/doubly-linked-list.ts:185</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="get.get-3"><span class="tsd-kind-call-signature">get</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#get.get-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the node at the specified index of the linked list.
@ -179,7 +179,7 @@ If index = 3; fourth element in the list is returned.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L186">src/data-structures/linked-list/doubly-linked-list.ts:186</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L186">src/data-structures/linked-list/doubly-linked-list.ts:186</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insert" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert</span><a href="#insert" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -203,7 +203,7 @@ If index = 3; fourth element in the list is returned.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L248">src/data-structures/linked-list/doubly-linked-list.ts:248</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L248">src/data-structures/linked-list/doubly-linked-list.ts:248</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -211,7 +211,7 @@ If index = 3; fourth element in the list is returned.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L238">src/data-structures/linked-list/doubly-linked-list.ts:238</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L238">src/data-structures/linked-list/doubly-linked-list.ts:238</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>First</span><a href="#offerFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -232,7 +232,7 @@ the doubly linked list.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L37">src/data-structures/linked-list/doubly-linked-list.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L37">src/data-structures/linked-list/doubly-linked-list.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>Last</span><a href="#offerLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -253,7 +253,7 @@ doubly linked list.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L57">src/data-structures/linked-list/doubly-linked-list.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L57">src/data-structures/linked-list/doubly-linked-list.ts:57</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>First</span><a href="#peekFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -267,7 +267,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L71">src/data-structures/linked-list/doubly-linked-list.ts:71</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L71">src/data-structures/linked-list/doubly-linked-list.ts:71</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekFirst.peekFirst-2"><span class="tsd-kind-call-signature">peek<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#peekFirst.peekFirst-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekFirst</code> function returns the first node or value in a doubly linked list, depending on the specified
@ -287,7 +287,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L72">src/data-structures/linked-list/doubly-linked-list.ts:72</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L72">src/data-structures/linked-list/doubly-linked-list.ts:72</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekFirst.peekFirst-3"><span class="tsd-kind-call-signature">peek<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#peekFirst.peekFirst-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekFirst</code> function returns the first node or value in a doubly linked list, depending on the specified
@ -307,7 +307,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L73">src/data-structures/linked-list/doubly-linked-list.ts:73</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L73">src/data-structures/linked-list/doubly-linked-list.ts:73</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -319,7 +319,7 @@ the value of the first node (<code>T</code>), or <code>null</code> depending on
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L93">src/data-structures/linked-list/doubly-linked-list.ts:93</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L93">src/data-structures/linked-list/doubly-linked-list.ts:93</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekLast.peekLast-2"><span class="tsd-kind-call-signature">peek<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#peekLast.peekLast-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekLast</code> function returns the last node or value in a doubly linked list.</p>
@ -338,7 +338,7 @@ means that if no value is provided for the &quot;by&quot; parameter, the method<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L94">src/data-structures/linked-list/doubly-linked-list.ts:94</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L94">src/data-structures/linked-list/doubly-linked-list.ts:94</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="peekLast.peekLast-3"><span class="tsd-kind-call-signature">peek<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#peekLast.peekLast-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>peekLast</code> function returns the last node or value in a doubly linked list.</p>
@ -357,7 +357,7 @@ means that if no value is provided for the &quot;by&quot; parameter, the method<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L95">src/data-structures/linked-list/doubly-linked-list.ts:95</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L95">src/data-structures/linked-list/doubly-linked-list.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>First</span><a href="#pollFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -372,7 +372,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L114">src/data-structures/linked-list/doubly-linked-list.ts:114</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L114">src/data-structures/linked-list/doubly-linked-list.ts:114</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollFirst.pollFirst-2"><span class="tsd-kind-call-signature">poll<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#pollFirst.pollFirst-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollFirst</code> removes and returns the first element of a doubly linked list, either as a node or its
@ -394,7 +394,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L115">src/data-structures/linked-list/doubly-linked-list.ts:115</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L115">src/data-structures/linked-list/doubly-linked-list.ts:115</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollFirst.pollFirst-3"><span class="tsd-kind-call-signature">poll<wbr/>First</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#pollFirst.pollFirst-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollFirst</code> removes and returns the first element of a doubly linked list, either as a node or its
@ -416,7 +416,7 @@ is set to &#39;node&#39;, the method returns the first node. If <code>by</code>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L116">src/data-structures/linked-list/doubly-linked-list.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L116">src/data-structures/linked-list/doubly-linked-list.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>Last</span><a href="#pollLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -431,7 +431,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L149">src/data-structures/linked-list/doubly-linked-list.ts:149</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L149">src/data-structures/linked-list/doubly-linked-list.ts:149</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollLast.pollLast-2"><span class="tsd-kind-call-signature">poll<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><a href="#pollLast.pollLast-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollLast</code> removes and returns the last element in a doubly linked list, either as a node or its value,
@ -453,7 +453,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L150">src/data-structures/linked-list/doubly-linked-list.ts:150</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L150">src/data-structures/linked-list/doubly-linked-list.ts:150</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="pollLast.pollLast-3"><span class="tsd-kind-call-signature">poll<wbr/>Last</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">by</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#pollLast.pollLast-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The function <code>pollLast</code> removes and returns the last element in a doubly linked list, either as a node or its value,
@ -475,7 +475,7 @@ The specific type that is returned depends on the value of the <code>by</code> p
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L151">src/data-structures/linked-list/doubly-linked-list.ts:151</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L151">src/data-structures/linked-list/doubly-linked-list.ts:151</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -498,7 +498,7 @@ if the index is out of bounds.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L273">src/data-structures/linked-list/doubly-linked-list.ts:273</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L273">src/data-structures/linked-list/doubly-linked-list.ts:273</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -524,7 +524,7 @@ If index = 3; Value of the fourth element in the list is updated.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L229">src/data-structures/linked-list/doubly-linked-list.ts:229</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L229">src/data-structures/linked-list/doubly-linked-list.ts:229</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -25,7 +25,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">DoublyLinkedListNode</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L7">src/data-structures/linked-list/doubly-linked-list.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L7">src/data-structures/linked-list/doubly-linked-list.ts:7</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -60,24 +60,24 @@
<h5><span class="tsd-kind-parameter">nodeValue</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L12">src/data-structures/linked-list/doubly-linked-list.ts:12</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L12">src/data-structures/linked-list/doubly-linked-list.ts:12</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="next" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>next</span><a href="#next" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L9">src/data-structures/linked-list/doubly-linked-list.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L9">src/data-structures/linked-list/doubly-linked-list.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="prev" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prev</span><a href="#prev" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">prev</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="DoublyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">DoublyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L10">src/data-structures/linked-list/doubly-linked-list.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L10">src/data-structures/linked-list/doubly-linked-list.ts:10</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/doubly-linked-list.ts#L8">src/data-structures/linked-list/doubly-linked-list.ts:8</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/doubly-linked-list.ts#L8">src/data-structures/linked-list/doubly-linked-list.ts:8</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -28,7 +28,7 @@
<li><a href="MaxHeap.html" class="tsd-signature-type tsd-kind-class">MaxHeap</a></li>
<li><a href="MinHeap.html" class="tsd-signature-type tsd-kind-class">MinHeap</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L8">src/data-structures/heap/heap.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L8">src/data-structures/heap/heap.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -83,14 +83,14 @@ options provided.</p>
<h4 class="tsd-returns-title">Returns <a href="Heap.html" class="tsd-signature-type tsd-kind-class">Heap</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L17">src/data-structures/heap/heap.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L17">src/data-structures/heap/heap.ts:17</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_pq" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>_pq</span><a href="#_pq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_pq</span><span class="tsd-signature-symbol">:</span> <a href="PriorityQueue.html" class="tsd-signature-type tsd-kind-class">PriorityQueue</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">HeapItem</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L9">src/data-structures/heap/heap.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L9">src/data-structures/heap/heap.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_priorityCb" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_priority<wbr/>Cb</span><a href="#_priorityCb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_priority<wbr/>Cb</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></div>
@ -108,7 +108,7 @@ options provided.</p>
<h5><span class="tsd-kind-parameter">element</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
@ -122,7 +122,7 @@ options provided.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
@ -135,7 +135,7 @@ options provided.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -147,7 +147,7 @@ options provided.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -177,7 +177,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<h4>Throws</h4><p>if priority is not a valid number</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -189,7 +189,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -201,7 +201,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -213,7 +213,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -225,7 +225,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Matrix2D</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L7">src/data-structures/matrix/matrix2d.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L7">src/data-structures/matrix/matrix2d.ts:7</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -75,14 +75,14 @@ an instance of the <code>Vector2D</code> class.</p>
<h4 class="tsd-returns-title">Returns <a href="Matrix2D.html" class="tsd-signature-type tsd-kind-class">Matrix2D</a></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L16">src/data-structures/matrix/matrix2d.ts:16</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L16">src/data-structures/matrix/matrix2d.ts:16</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_matrix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_matrix</span><a href="#_matrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_matrix</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L8">src/data-structures/matrix/matrix2d.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L8">src/data-structures/matrix/matrix2d.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="m" class="tsd-anchor"></a>
@ -97,7 +97,7 @@ array of numbers.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L53">src/data-structures/matrix/matrix2d.ts:53</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L53">src/data-structures/matrix/matrix2d.ts:53</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toVector" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Vector</span><a href="#toVector" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -111,7 +111,7 @@ the first column of the matrix.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L63">src/data-structures/matrix/matrix2d.ts:63</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L63">src/data-structures/matrix/matrix2d.ts:63</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="empty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>empty</span><a href="#empty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -123,7 +123,7 @@ the first column of the matrix.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L33">src/data-structures/matrix/matrix2d.ts:33</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L33">src/data-structures/matrix/matrix2d.ts:33</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="identity" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>identity</span><a href="#identity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -135,7 +135,7 @@ the first column of the matrix.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L41">src/data-structures/matrix/matrix2d.ts:41</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L41">src/data-structures/matrix/matrix2d.ts:41</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="add" class="tsd-anchor"></a>
@ -162,7 +162,7 @@ the first column of the matrix.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L73">src/data-structures/matrix/matrix2d.ts:73</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L73">src/data-structures/matrix/matrix2d.ts:73</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="multiply" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>multiply</span><a href="#multiply" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -187,7 +187,7 @@ the first column of the matrix.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L106">src/data-structures/matrix/matrix2d.ts:106</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L106">src/data-structures/matrix/matrix2d.ts:106</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="multiplyByValue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>multiply<wbr/>By<wbr/>Value</span><a href="#multiplyByValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -213,7 +213,7 @@ matrix. It contains a property <code>m</code> that is a 2D array representing th
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L126">src/data-structures/matrix/matrix2d.ts:126</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L126">src/data-structures/matrix/matrix2d.ts:126</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="multiplyByVector" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>multiply<wbr/>By<wbr/>Vector</span><a href="#multiplyByVector" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -238,7 +238,7 @@ matrix. It contains a property <code>m</code> that is a 2D array representing th
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L142">src/data-structures/matrix/matrix2d.ts:142</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L142">src/data-structures/matrix/matrix2d.ts:142</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="rotate" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>rotate</span><a href="#rotate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -258,7 +258,7 @@ matrix. It contains a property <code>m</code> that is a 2D array representing th
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L181">src/data-structures/matrix/matrix2d.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L181">src/data-structures/matrix/matrix2d.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="scale" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>scale</span><a href="#scale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -279,7 +279,7 @@ should be scaled.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L172">src/data-structures/matrix/matrix2d.ts:172</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L172">src/data-structures/matrix/matrix2d.ts:172</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="subtract" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>subtract</span><a href="#subtract" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -305,7 +305,7 @@ representing the matrix elements.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L90">src/data-structures/matrix/matrix2d.ts:90</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L90">src/data-structures/matrix/matrix2d.ts:90</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="translate" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>translate</span><a href="#translate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -326,7 +326,7 @@ and y, and an optional w component.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L197">src/data-structures/matrix/matrix2d.ts:197</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L197">src/data-structures/matrix/matrix2d.ts:197</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="view" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>view</span><a href="#view" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -353,7 +353,7 @@ calculate the centerY value, which is the vertical center of the view.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix2d.ts#L154">src/data-structures/matrix/matrix2d.ts:154</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix2d.ts#L154">src/data-structures/matrix/matrix2d.ts:154</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -31,7 +31,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">MatrixNTI2D</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix.ts#L6">src/data-structures/matrix/matrix.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix.ts#L6">src/data-structures/matrix/matrix.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -82,14 +82,14 @@ given initial value or 0 if not provided.</p>
<h4 class="tsd-returns-title">Returns <a href="MatrixNTI2D.html" class="tsd-signature-type tsd-kind-class">MatrixNTI2D</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix.ts#L14">src/data-structures/matrix/matrix.ts:14</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix.ts#L14">src/data-structures/matrix/matrix.ts:14</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_matrix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_matrix</span><a href="#_matrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_matrix</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix.ts#L7">src/data-structures/matrix/matrix.ts:7</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix.ts#L7">src/data-structures/matrix/matrix.ts:7</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
@ -99,7 +99,7 @@ given initial value or 0 if not provided.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/matrix.ts#L21">src/data-structures/matrix/matrix.ts:21</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/matrix.ts#L21">src/data-structures/matrix/matrix.ts:21</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">MaxHeap</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/max-heap.ts#L14">src/data-structures/heap/max-heap.ts:14</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/max-heap.ts#L14">src/data-structures/heap/max-heap.ts:14</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -83,7 +83,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="Heap.html">Heap</a>.<a href="Heap.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/max-heap.ts#L22">src/data-structures/heap/max-heap.ts:22</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/max-heap.ts#L22">src/data-structures/heap/max-heap.ts:22</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_pq" class="tsd-anchor"></a>
@ -91,7 +91,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-signature"><span class="tsd-kind-property">_pq</span><span class="tsd-signature-symbol">:</span> <a href="PriorityQueue.html" class="tsd-signature-type tsd-kind-class">PriorityQueue</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">HeapItem</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Overrides <a href="Heap.html">Heap</a>.<a href="Heap.html#_pq">_pq</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/max-heap.ts#L15">src/data-structures/heap/max-heap.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/max-heap.ts#L15">src/data-structures/heap/max-heap.ts:15</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_priorityCb" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_priority<wbr/>Cb</span><a href="#_priorityCb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_priority<wbr/>Cb</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></div>
@ -110,7 +110,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#_priorityCb">_priorityCb</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
@ -125,7 +125,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from Heap.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
@ -139,7 +139,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -152,7 +152,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -183,7 +183,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
</div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#offer">offer</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -196,7 +196,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#peek">peek</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -209,7 +209,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#peekLast">peekLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -222,7 +222,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#poll">poll</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -235,7 +235,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#toArray">toArray</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">MaxPriorityQueue</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/max-priority-queue.ts#L8">src/data-structures/priority-queue/max-priority-queue.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/max-priority-queue.ts#L8">src/data-structures/priority-queue/max-priority-queue.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -98,7 +98,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/max-priority-queue.ts#L13">src/data-structures/priority-queue/max-priority-queue.ts:13</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/max-priority-queue.ts#L13">src/data-structures/priority-queue/max-priority-queue.ts:13</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_comparator" class="tsd-anchor"></a>
@ -106,13 +106,13 @@
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">PriorityQueueComparator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_comparator">_comparator</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="nodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>nodes</span><a href="#nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#nodes">nodes</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
@ -123,7 +123,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from PriorityQueue.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFS" class="tsd-anchor"></a>
@ -148,7 +148,7 @@ the nodes should be visited during the Depth-First Search (DFS) traversal. It ca
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -176,7 +176,7 @@ indicating that the element at index <code>a</code> is greater than the element
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_compare">_compare</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_fix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_fix</span><a href="#_fix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -189,7 +189,7 @@ towards the root.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_fix">_fix</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getComparedChild" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Compared<wbr/>Child</span><a href="#_getComparedChild" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -211,7 +211,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getComparedChild">_getComparedChild</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getLeft" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Left</span><a href="#_getLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -232,7 +232,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getLeft">_getLeft</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getParent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Parent</span><a href="#_getParent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -253,7 +253,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getParent">_getParent</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getRight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Right</span><a href="#_getRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -274,7 +274,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getRight">_getRight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_heapifyDown" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Down</span><a href="#_heapifyDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -295,7 +295,7 @@ operation should start.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_heapifyDown">_heapifyDown</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_heapifyUp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Up</span><a href="#_heapifyUp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -316,7 +316,7 @@ correct position.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_heapifyUp">_heapifyUp</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_isValidIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_is<wbr/>Valid<wbr/>Index</span><a href="#_isValidIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -338,7 +338,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_isValidIndex">_isValidIndex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_swap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_swap</span><a href="#_swap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -363,7 +363,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_swap">_swap</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -375,7 +375,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clone" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -390,7 +390,7 @@ original instance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#clone">clone</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -405,7 +405,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isValid" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Valid</span><a href="#isValid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -418,7 +418,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isValid">isValid</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="leaf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>leaf</span><a href="#leaf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -432,7 +432,7 @@ empty or the last element is <code>null</code>, then it returns <code>null</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#leaf">leaf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -453,7 +453,7 @@ that needs to be added to the heap.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#offer">offer</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -467,7 +467,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#peek">peek</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -480,7 +480,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#poll">poll</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="sort" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -493,7 +493,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#sort">sort</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -506,7 +506,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#toArray">toArray</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="heapify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>heapify</span><a href="#heapify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -534,7 +534,7 @@ the priority queue, and &quot;initialValues&quot; which is an array of initial v
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#heapify">heapify</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isPriorityQueueified" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Priority<wbr/>Queueified</span><a href="#isPriorityQueueified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -562,7 +562,7 @@ following properties:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isPriorityQueueified">isPriorityQueueified</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">MinHeap</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/min-heap.ts#L14">src/data-structures/heap/min-heap.ts:14</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/min-heap.ts#L14">src/data-structures/heap/min-heap.ts:14</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -84,7 +84,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="Heap.html">Heap</a>.<a href="Heap.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/min-heap.ts#L23">src/data-structures/heap/min-heap.ts:23</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/min-heap.ts#L23">src/data-structures/heap/min-heap.ts:23</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_pq" class="tsd-anchor"></a>
@ -92,7 +92,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-signature"><span class="tsd-kind-property">_pq</span><span class="tsd-signature-symbol">:</span> <a href="PriorityQueue.html" class="tsd-signature-type tsd-kind-class">PriorityQueue</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">HeapItem</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<p>Overrides <a href="Heap.html">Heap</a>.<a href="Heap.html#_pq">_pq</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/min-heap.ts#L15">src/data-structures/heap/min-heap.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/min-heap.ts#L15">src/data-structures/heap/min-heap.ts:15</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_priorityCb" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_priority<wbr/>Cb</span><a href="#_priorityCb" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_priority<wbr/>Cb</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span></div>
@ -111,7 +111,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#_priorityCb">_priorityCb</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L10">src/data-structures/heap/heap.ts:10</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
@ -126,7 +126,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from Heap.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L33">src/data-structures/heap/heap.ts:33</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
@ -140,7 +140,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L119">src/data-structures/heap/heap.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -153,7 +153,7 @@ type <code>HeapOptions&lt;T&gt;</code>, which is a generic type that represents
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L41">src/data-structures/heap/heap.ts:41</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -184,7 +184,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
</div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#offer">offer</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L71">src/data-structures/heap/heap.ts:71</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -197,7 +197,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#peek">peek</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L49">src/data-structures/heap/heap.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -210,7 +210,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#peekLast">peekLast</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L57">src/data-structures/heap/heap.ts:57</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -223,7 +223,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#poll">poll</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L100">src/data-structures/heap/heap.ts:100</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -236,7 +236,7 @@ the value of <code>element</code>. If the <code>element</code> parameter is not
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="Heap.html">Heap</a>.<a href="Heap.html#toArray">toArray</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/heap/heap.ts#L112">src/data-structures/heap/heap.ts:112</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">MinPriorityQueue</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/min-priority-queue.ts#L8">src/data-structures/priority-queue/min-priority-queue.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/min-priority-queue.ts#L8">src/data-structures/priority-queue/min-priority-queue.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -98,7 +98,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/min-priority-queue.ts#L13">src/data-structures/priority-queue/min-priority-queue.ts:13</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/min-priority-queue.ts#L13">src/data-structures/priority-queue/min-priority-queue.ts:13</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_comparator" class="tsd-anchor"></a>
@ -106,13 +106,13 @@
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">PriorityQueueComparator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_comparator">_comparator</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="nodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>nodes</span><a href="#nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#nodes">nodes</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
@ -123,7 +123,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from PriorityQueue.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFS" class="tsd-anchor"></a>
@ -148,7 +148,7 @@ the nodes should be visited during the Depth-First Search (DFS) traversal. It ca
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -176,7 +176,7 @@ indicating that the element at index <code>a</code> is greater than the element
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_compare">_compare</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_fix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_fix</span><a href="#_fix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -189,7 +189,7 @@ towards the root.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_fix">_fix</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getComparedChild" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Compared<wbr/>Child</span><a href="#_getComparedChild" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -211,7 +211,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getComparedChild">_getComparedChild</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getLeft" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Left</span><a href="#_getLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -232,7 +232,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getLeft">_getLeft</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getParent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Parent</span><a href="#_getParent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -253,7 +253,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getParent">_getParent</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getRight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Right</span><a href="#_getRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -274,7 +274,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_getRight">_getRight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_heapifyDown" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Down</span><a href="#_heapifyDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -295,7 +295,7 @@ operation should start.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_heapifyDown">_heapifyDown</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_heapifyUp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Up</span><a href="#_heapifyUp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -316,7 +316,7 @@ correct position.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_heapifyUp">_heapifyUp</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_isValidIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_is<wbr/>Valid<wbr/>Index</span><a href="#_isValidIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -338,7 +338,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_isValidIndex">_isValidIndex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_swap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_swap</span><a href="#_swap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -363,7 +363,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#_swap">_swap</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -375,7 +375,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clone" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -390,7 +390,7 @@ original instance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#clone">clone</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -405,7 +405,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isValid" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Valid</span><a href="#isValid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -418,7 +418,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isValid">isValid</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="leaf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>leaf</span><a href="#leaf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -432,7 +432,7 @@ empty or the last element is <code>null</code>, then it returns <code>null</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#leaf">leaf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -453,7 +453,7 @@ that needs to be added to the heap.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#offer">offer</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -467,7 +467,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#peek">peek</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -480,7 +480,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#poll">poll</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="sort" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -493,7 +493,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#sort">sort</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -506,7 +506,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#toArray">toArray</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="heapify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>heapify</span><a href="#heapify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -534,7 +534,7 @@ the priority queue, and &quot;initialValues&quot; which is an array of initial v
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#heapify">heapify</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isPriorityQueueified" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Priority<wbr/>Queueified</span><a href="#isPriorityQueueified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -562,7 +562,7 @@ following properties:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="PriorityQueue.html">PriorityQueue</a>.<a href="PriorityQueue.html#isPriorityQueueified">isPriorityQueueified</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -25,7 +25,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Navigator</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L25">src/data-structures/matrix/navigator.ts:25</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L25">src/data-structures/matrix/navigator.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -68,36 +68,63 @@ in the matrix.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">-</span>: <span class="tsd-signature-type ">NavigatorParams</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">-</span>: <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">init</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span>        </span><span class="tsd-kind-property">VISITED</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">; </span><br/><span>        </span><span class="tsd-kind-property">charDir</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Direction</span><span class="tsd-signature-symbol">; </span><br/><span>        </span><span class="tsd-kind-property">cur</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">matrix</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">onMove</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cur</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">turning</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Turning</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
<div class="tsd-comment tsd-typography"><p><code>matrix</code>: a 2D array representing the grid or map</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">init</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">VISITED</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">charDir</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Direction</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">cur</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">VISITED</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">char<wbr/>Dir</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Direction</span></h5></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">cur</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h5></li></ul></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">matrix</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">on<wbr/>Move</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cur</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cur</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">cur</span>: <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">turning</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Turning</span></h5></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Navigator.html" class="tsd-signature-type tsd-kind-class">Navigator</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L37">src/data-structures/matrix/navigator.ts:37</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L37">src/data-structures/matrix/navigator.ts:37</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_VISITED" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_VISITED</span><a href="#_VISITED" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_VISITED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L30">src/data-structures/matrix/navigator.ts:30</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L30">src/data-structures/matrix/navigator.ts:30</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_character" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_character</span><a href="#_character" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_character</span><span class="tsd-signature-symbol">:</span> <a href="Character.html" class="tsd-signature-type tsd-kind-class">Character</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L29">src/data-structures/matrix/navigator.ts:29</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L29">src/data-structures/matrix/navigator.ts:29</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_cur" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_cur</span><a href="#_cur" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_cur</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L28">src/data-structures/matrix/navigator.ts:28</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L28">src/data-structures/matrix/navigator.ts:28</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_matrix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_matrix</span><a href="#_matrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_matrix</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L27">src/data-structures/matrix/navigator.ts:27</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L27">src/data-structures/matrix/navigator.ts:27</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="onMove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>on<wbr/>Move</span><a href="#onMove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">on<wbr/>Move</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cur</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div>
@ -115,7 +142,7 @@ in the matrix.</p>
<h5><span class="tsd-kind-parameter">cur</span>: <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L26">src/data-structures/matrix/navigator.ts:26</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L26">src/data-structures/matrix/navigator.ts:26</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="check" class="tsd-anchor"></a>
@ -138,7 +165,7 @@ It can be one of the following values: &#39;up&#39;, &#39;right&#39;, &#39;down&
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L68">src/data-structures/matrix/navigator.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L77">src/data-structures/matrix/navigator.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="move" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>move</span><a href="#move" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -158,7 +185,7 @@ It can have one of the following values: &#39;up&#39;, &#39;right&#39;, &#39;dow
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L98">src/data-structures/matrix/navigator.ts:98</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L107">src/data-structures/matrix/navigator.ts:107</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="start" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -170,7 +197,7 @@ character and repeats the process.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/navigator.ts#L51">src/data-structures/matrix/navigator.ts:51</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/navigator.ts#L60">src/data-structures/matrix/navigator.ts:60</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -25,7 +25,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">ObjectDeque</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L16">src/data-structures/queue/deque.ts:16</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L16">src/data-structures/queue/deque.ts:16</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -74,24 +74,24 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">capacity</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="ObjectDeque.html" class="tsd-signature-type tsd-kind-class">ObjectDeque</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L23">src/data-structures/queue/deque.ts:23</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L23">src/data-structures/queue/deque.ts:23</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_capacity" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_capacity</span><a href="#_capacity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_capacity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = Number.MAX_SAFE_INTEGER</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L18">src/data-structures/queue/deque.ts:18</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L18">src/data-structures/queue/deque.ts:18</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_first" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_first</span><a href="#_first" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_first</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = -1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L19">src/data-structures/queue/deque.ts:19</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L19">src/data-structures/queue/deque.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_last" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_last</span><a href="#_last" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_last</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = -1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L20">src/data-structures/queue/deque.ts:20</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L20">src/data-structures/queue/deque.ts:20</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_nodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_nodes</span><a href="#_nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>[<span class="tsd-kind-index-signature">key</span>: <span class="tsd-signature-type">number</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></div>
@ -101,12 +101,12 @@
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L17">src/data-structures/queue/deque.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L17">src/data-structures/queue/deque.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L21">src/data-structures/queue/deque.ts:21</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L21">src/data-structures/queue/deque.ts:21</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
@ -121,7 +121,7 @@
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">NonNullable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L82">src/data-structures/queue/deque.ts:82</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L82">src/data-structures/queue/deque.ts:82</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -129,7 +129,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L86">src/data-structures/queue/deque.ts:86</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L86">src/data-structures/queue/deque.ts:86</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>First</span><a href="#offerFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -142,7 +142,7 @@
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L31">src/data-structures/queue/deque.ts:31</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L31">src/data-structures/queue/deque.ts:31</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offerLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer<wbr/>Last</span><a href="#offerLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -155,7 +155,7 @@
<h5><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L43">src/data-structures/queue/deque.ts:43</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L43">src/data-structures/queue/deque.ts:43</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>First</span><a href="#peekFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -163,7 +163,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L64">src/data-structures/queue/deque.ts:64</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L64">src/data-structures/queue/deque.ts:64</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -171,7 +171,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L78">src/data-structures/queue/deque.ts:78</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L78">src/data-structures/queue/deque.ts:78</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollFirst" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>First</span><a href="#pollFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -179,7 +179,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L55">src/data-structures/queue/deque.ts:55</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L55">src/data-structures/queue/deque.ts:55</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pollLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll<wbr/>Last</span><a href="#pollLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -187,7 +187,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L68">src/data-structures/queue/deque.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L68">src/data-structures/queue/deque.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -195,7 +195,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/deque.ts#L27">src/data-structures/queue/deque.ts:27</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/deque.ts#L27">src/data-structures/queue/deque.ts:27</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -28,7 +28,7 @@
<li><a href="MinPriorityQueue.html" class="tsd-signature-type tsd-kind-class">MinPriorityQueue</a></li>
<li><a href="MaxPriorityQueue.html" class="tsd-signature-type tsd-kind-class">MaxPriorityQueue</a></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L7">src/data-structures/priority-queue/priority-queue.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L7">src/data-structures/priority-queue/priority-queue.ts:7</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -99,19 +99,19 @@ function.</p>
<h4 class="tsd-returns-title">Returns <a href="PriorityQueue.html" class="tsd-signature-type tsd-kind-class">PriorityQueue</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L15">src/data-structures/priority-queue/priority-queue.ts:15</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L15">src/data-structures/priority-queue/priority-queue.ts:15</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_comparator" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>_comparator</span><a href="#_comparator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">PriorityQueueComparator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L210">src/data-structures/priority-queue/priority-queue.ts:210</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="nodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>nodes</span><a href="#nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L8">src/data-structures/priority-queue/priority-queue.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
@ -121,7 +121,7 @@ function.</p>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L26">src/data-structures/priority-queue/priority-queue.ts:26</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="DFS" class="tsd-anchor"></a>
@ -145,7 +145,7 @@ the nodes should be visited during the Depth-First Search (DFS) traversal. It ca
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L181">src/data-structures/priority-queue/priority-queue.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -172,7 +172,7 @@ indicating that the element at index <code>a</code> is greater than the element
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L223">src/data-structures/priority-queue/priority-queue.ts:223</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_fix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_fix</span><a href="#_fix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -184,7 +184,7 @@ towards the root.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L325">src/data-structures/priority-queue/priority-queue.ts:325</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_getComparedChild" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Compared<wbr/>Child</span><a href="#_getComparedChild" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -205,7 +205,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L281">src/data-structures/priority-queue/priority-queue.ts:281</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_getLeft" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Left</span><a href="#_getLeft" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -225,7 +225,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L262">src/data-structures/priority-queue/priority-queue.ts:262</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_getParent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Parent</span><a href="#_getParent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -245,7 +245,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L253">src/data-structures/priority-queue/priority-queue.ts:253</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_getRight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Right</span><a href="#_getRight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -265,7 +265,7 @@ tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L271">src/data-structures/priority-queue/priority-queue.ts:271</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_heapifyDown" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Down</span><a href="#_heapifyDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -285,7 +285,7 @@ operation should start.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L312">src/data-structures/priority-queue/priority-queue.ts:312</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_heapifyUp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_heapify<wbr/>Up</span><a href="#_heapifyUp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -305,7 +305,7 @@ correct position.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L299">src/data-structures/priority-queue/priority-queue.ts:299</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_isValidIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_is<wbr/>Valid<wbr/>Index</span><a href="#_isValidIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -326,7 +326,7 @@ checked for validity.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L244">src/data-structures/priority-queue/priority-queue.ts:244</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_swap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_swap</span><a href="#_swap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected">
@ -350,7 +350,7 @@ checked for validity.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L232">src/data-structures/priority-queue/priority-queue.ts:232</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -361,7 +361,7 @@ checked for validity.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L111">src/data-structures/priority-queue/priority-queue.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -375,7 +375,7 @@ original instance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L129">src/data-structures/priority-queue/priority-queue.ts:129</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -389,7 +389,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L104">src/data-structures/priority-queue/priority-queue.ts:104</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isValid" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Valid</span><a href="#isValid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -401,7 +401,7 @@ object is empty or not.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L138">src/data-structures/priority-queue/priority-queue.ts:138</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="leaf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>leaf</span><a href="#leaf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -414,7 +414,7 @@ empty or the last element is <code>null</code>, then it returns <code>null</code
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L94">src/data-structures/priority-queue/priority-queue.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -434,7 +434,7 @@ that needs to be added to the heap.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L59">src/data-structures/priority-queue/priority-queue.ts:59</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -447,7 +447,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L69">src/data-structures/priority-queue/priority-queue.ts:69</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -459,7 +459,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L77">src/data-structures/priority-queue/priority-queue.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="sort" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -471,7 +471,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L165">src/data-structures/priority-queue/priority-queue.ts:165</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -483,7 +483,7 @@ Otherwise, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L119">src/data-structures/priority-queue/priority-queue.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="heapify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>heapify</span><a href="#heapify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -510,7 +510,7 @@ the priority queue, and &quot;initialValues&quot; which is an array of initial v
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L37">src/data-structures/priority-queue/priority-queue.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isPriorityQueueified" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>is<wbr/>Priority<wbr/>Queueified</span><a href="#isPriorityQueueified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -537,7 +537,7 @@ following properties:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/priority-queue/priority-queue.ts#L50">src/data-structures/priority-queue/priority-queue.ts:50</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -31,7 +31,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Queue</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L6">src/data-structures/queue/queue.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L6">src/data-structures/queue/queue.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -86,19 +86,19 @@ initialized as an empty array.</p>
<h4 class="tsd-returns-title">Returns <a href="Queue.html" class="tsd-signature-type tsd-kind-class">Queue</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L16">src/data-structures/queue/queue.ts:16</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L16">src/data-structures/queue/queue.ts:16</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_nodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_nodes</span><a href="#_nodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_nodes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L7">src/data-structures/queue/queue.ts:7</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L7">src/data-structures/queue/queue.ts:7</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_offset" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_offset</span><a href="#_offset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_offset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L8">src/data-structures/queue/queue.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L8">src/data-structures/queue/queue.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
@ -111,7 +111,7 @@ initialized as an empty array.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L108">src/data-structures/queue/queue.ts:108</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L108">src/data-structures/queue/queue.ts:108</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -123,7 +123,7 @@ initialized as an empty array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L117">src/data-structures/queue/queue.ts:117</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L117">src/data-structures/queue/queue.ts:117</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -135,7 +135,7 @@ initialized as an empty array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L93">src/data-structures/queue/queue.ts:93</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L93">src/data-structures/queue/queue.ts:93</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="offer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>offer</span><a href="#offer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -155,7 +155,7 @@ initialized as an empty array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L38">src/data-structures/queue/queue.ts:38</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L38">src/data-structures/queue/queue.ts:38</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -168,7 +168,7 @@ the <code>_offset</code> index. If the data structure is empty (size is 0), it r
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L68">src/data-structures/queue/queue.ts:68</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L68">src/data-structures/queue/queue.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peekLast" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek<wbr/>Last</span><a href="#peekLast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -181,7 +181,7 @@ array is empty, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L77">src/data-structures/queue/queue.ts:77</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L77">src/data-structures/queue/queue.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="poll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>poll</span><a href="#poll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -194,7 +194,7 @@ necessary to optimize performance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L48">src/data-structures/queue/queue.ts:48</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L48">src/data-structures/queue/queue.ts:48</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -206,7 +206,7 @@ necessary to optimize performance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L85">src/data-structures/queue/queue.ts:85</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L85">src/data-structures/queue/queue.ts:85</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -218,7 +218,7 @@ necessary to optimize performance.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L101">src/data-structures/queue/queue.ts:101</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L101">src/data-structures/queue/queue.ts:101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="fromArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Array</span><a href="#fromArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -245,7 +245,7 @@ array.</p>
<div class="tsd-comment tsd-typography">
<h4>Static</h4></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/queue/queue.ts#L29">src/data-structures/queue/queue.ts:29</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/queue/queue.ts#L29">src/data-structures/queue/queue.ts:29</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">RBTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/rb-tree.ts#L1">src/data-structures/binary-tree/rb-tree.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/rb-tree.ts#L1">src/data-structures/binary-tree/rb-tree.ts:1</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">SegmentTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L77">src/data-structures/binary-tree/segment-tree.ts:77</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L77">src/data-structures/binary-tree/segment-tree.ts:77</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -65,29 +65,29 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">end</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="SegmentTree.html" class="tsd-signature-type tsd-kind-class">SegmentTree</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L82">src/data-structures/binary-tree/segment-tree.ts:82</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L82">src/data-structures/binary-tree/segment-tree.ts:82</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_end" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_end</span><a href="#_end" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_end</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L80">src/data-structures/binary-tree/segment-tree.ts:80</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L80">src/data-structures/binary-tree/segment-tree.ts:80</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L91">src/data-structures/binary-tree/segment-tree.ts:91</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L91">src/data-structures/binary-tree/segment-tree.ts:91</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_start" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_start</span><a href="#_start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_start</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L79">src/data-structures/binary-tree/segment-tree.ts:79</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L79">src/data-structures/binary-tree/segment-tree.ts:79</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_values" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_values</span><a href="#_values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_values</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L78">src/data-structures/binary-tree/segment-tree.ts:78</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L78">src/data-structures/binary-tree/segment-tree.ts:78</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="root" class="tsd-anchor"></a>
@ -97,7 +97,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L93">src/data-structures/binary-tree/segment-tree.ts:93</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L93">src/data-structures/binary-tree/segment-tree.ts:93</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="build" class="tsd-anchor"></a>
@ -114,7 +114,7 @@
<h5><span class="tsd-kind-parameter">end</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L97">src/data-structures/binary-tree/segment-tree.ts:97</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L97">src/data-structures/binary-tree/segment-tree.ts:97</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="querySumByRange" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>query<wbr/>Sum<wbr/>By<wbr/>Range</span><a href="#querySumByRange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -129,7 +129,7 @@
<h5><span class="tsd-kind-parameter">indexB</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L139">src/data-structures/binary-tree/segment-tree.ts:139</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L139">src/data-structures/binary-tree/segment-tree.ts:139</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="updateNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>update<wbr/>Node</span><a href="#updateNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -146,7 +146,7 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">val</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L110">src/data-structures/binary-tree/segment-tree.ts:110</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L110">src/data-structures/binary-tree/segment-tree.ts:110</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">SegmentTreeNode</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L8">src/data-structures/binary-tree/segment-tree.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L8">src/data-structures/binary-tree/segment-tree.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -68,39 +68,39 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">val</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L9">src/data-structures/binary-tree/segment-tree.ts:9</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L9">src/data-structures/binary-tree/segment-tree.ts:9</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_end" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_end</span><a href="#_end" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_end</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L26">src/data-structures/binary-tree/segment-tree.ts:26</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L26">src/data-structures/binary-tree/segment-tree.ts:26</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_left</span><a href="#_left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_left</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L56">src/data-structures/binary-tree/segment-tree.ts:56</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L56">src/data-structures/binary-tree/segment-tree.ts:56</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_right</span><a href="#_right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_right</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L66">src/data-structures/binary-tree/segment-tree.ts:66</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L66">src/data-structures/binary-tree/segment-tree.ts:66</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_start" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_start</span><a href="#_start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_start</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L16">src/data-structures/binary-tree/segment-tree.ts:16</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L16">src/data-structures/binary-tree/segment-tree.ts:16</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_sum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_sum</span><a href="#_sum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_sum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L46">src/data-structures/binary-tree/segment-tree.ts:46</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L46">src/data-structures/binary-tree/segment-tree.ts:46</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_val</span><a href="#_val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L36">src/data-structures/binary-tree/segment-tree.ts:36</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L36">src/data-structures/binary-tree/segment-tree.ts:36</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="end" class="tsd-anchor"></a>
@ -110,7 +110,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L28">src/data-structures/binary-tree/segment-tree.ts:28</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L28">src/data-structures/binary-tree/segment-tree.ts:28</a></li></ul></aside></li>
<li class="tsd-signature" id="end.end-2"><span class="tsd-signature-symbol">set</span> end<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -120,7 +120,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L32">src/data-structures/binary-tree/segment-tree.ts:32</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L32">src/data-structures/binary-tree/segment-tree.ts:32</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="left" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -128,7 +128,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L58">src/data-structures/binary-tree/segment-tree.ts:58</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L58">src/data-structures/binary-tree/segment-tree.ts:58</a></li></ul></aside></li>
<li class="tsd-signature" id="left.left-2"><span class="tsd-signature-symbol">set</span> left<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -138,7 +138,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L62">src/data-structures/binary-tree/segment-tree.ts:62</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L62">src/data-structures/binary-tree/segment-tree.ts:62</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -146,7 +146,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L68">src/data-structures/binary-tree/segment-tree.ts:68</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L68">src/data-structures/binary-tree/segment-tree.ts:68</a></li></ul></aside></li>
<li class="tsd-signature" id="right.right-2"><span class="tsd-signature-symbol">set</span> right<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -156,7 +156,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SegmentTreeNode.html" class="tsd-signature-type tsd-kind-class">SegmentTreeNode</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L72">src/data-structures/binary-tree/segment-tree.ts:72</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L72">src/data-structures/binary-tree/segment-tree.ts:72</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="start" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -164,7 +164,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L18">src/data-structures/binary-tree/segment-tree.ts:18</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L18">src/data-structures/binary-tree/segment-tree.ts:18</a></li></ul></aside></li>
<li class="tsd-signature" id="start.start-2"><span class="tsd-signature-symbol">set</span> start<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -174,7 +174,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L22">src/data-structures/binary-tree/segment-tree.ts:22</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L22">src/data-structures/binary-tree/segment-tree.ts:22</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="sum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sum</span><a href="#sum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -182,7 +182,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L48">src/data-structures/binary-tree/segment-tree.ts:48</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L48">src/data-structures/binary-tree/segment-tree.ts:48</a></li></ul></aside></li>
<li class="tsd-signature" id="sum.sum-2"><span class="tsd-signature-symbol">set</span> sum<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -192,7 +192,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L52">src/data-structures/binary-tree/segment-tree.ts:52</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L52">src/data-structures/binary-tree/segment-tree.ts:52</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -200,7 +200,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L38">src/data-structures/binary-tree/segment-tree.ts:38</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L38">src/data-structures/binary-tree/segment-tree.ts:38</a></li></ul></aside></li>
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -210,7 +210,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/segment-tree.ts#L42">src/data-structures/binary-tree/segment-tree.ts:42</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/segment-tree.ts#L42">src/data-structures/binary-tree/segment-tree.ts:42</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -31,7 +31,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">SinglyLinkedList</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L97">src/data-structures/linked-list/singly-linked-list.ts:97</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L96">src/data-structures/linked-list/singly-linked-list.ts:96</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -103,7 +103,7 @@
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L106">src/data-structures/linked-list/singly-linked-list.ts:106</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L105">src/data-structures/linked-list/singly-linked-list.ts:105</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="head" class="tsd-anchor"></a>
@ -113,7 +113,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L100">src/data-structures/linked-list/singly-linked-list.ts:100</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L99">src/data-structures/linked-list/singly-linked-list.ts:99</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
@ -121,7 +121,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L104">src/data-structures/linked-list/singly-linked-list.ts:104</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L103">src/data-structures/linked-list/singly-linked-list.ts:103</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="tail" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>tail</span><a href="#tail" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">tail</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></div>
@ -129,7 +129,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L102">src/data-structures/linked-list/singly-linked-list.ts:102</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L101">src/data-structures/linked-list/singly-linked-list.ts:101</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="length" class="tsd-anchor"></a>
@ -142,7 +142,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L119">src/data-structures/linked-list/singly-linked-list.ts:119</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L118">src/data-structures/linked-list/singly-linked-list.ts:118</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="_iterator_" class="tsd-anchor"></a>
@ -157,7 +157,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L727">src/data-structures/linked-list/singly-linked-list.ts:727</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L754">src/data-structures/linked-list/singly-linked-list.ts:754</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="append" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>append</span><a href="#append" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -180,7 +180,7 @@ to make this method chainable.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L248">src/data-structures/linked-list/singly-linked-list.ts:248</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L263">src/data-structures/linked-list/singly-linked-list.ts:263</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -193,7 +193,7 @@ to make this method chainable.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L540">src/data-structures/linked-list/singly-linked-list.ts:540</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L555">src/data-structures/linked-list/singly-linked-list.ts:555</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="filter" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -208,10 +208,25 @@ that pass the test implemented by the provided function.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TTestFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function to test each node val in the list. Return true to keep the node</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li>
<li>
<h5><span class="tsd-kind-parameter">reverse</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
<div class="tsd-comment tsd-typography"><p>Indicates if the list should be filtered in reverse order, default is false</p>
@ -220,7 +235,7 @@ that pass the test implemented by the provided function.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L646">src/data-structures/linked-list/singly-linked-list.ts:646</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L669">src/data-structures/linked-list/singly-linked-list.ts:669</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="find" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -235,14 +250,29 @@ satisfies the provided testing function. Otherwise undefined is returned.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TTestFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function to test val against</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L221">src/data-structures/linked-list/singly-linked-list.ts:221</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L228">src/data-structures/linked-list/singly-linked-list.ts:228</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="findIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>find<wbr/>Index</span><a href="#findIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -257,14 +287,29 @@ satisfies the provided testing function. Ohterwise -1 is returned.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TTestFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function to test val against</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L234">src/data-structures/linked-list/singly-linked-list.ts:234</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L245">src/data-structures/linked-list/singly-linked-list.ts:245</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="findNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>find<wbr/>Node</span><a href="#findNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -279,14 +324,29 @@ satisfies the provided testing function. Otherwise undefined is returned.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TTestFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function to test val against</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L208">src/data-structures/linked-list/singly-linked-list.ts:208</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L211">src/data-structures/linked-list/singly-linked-list.ts:211</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="findNodeIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>find<wbr/>Node<wbr/>Index</span><a href="#findNodeIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -301,14 +361,29 @@ satisfies the testing function</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TTestFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>A function to be applied to the val of each node</p>
</div>
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">index</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">node</span><span class="tsd-signature-symbol">: </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L180">src/data-structures/linked-list/singly-linked-list.ts:180</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L179">src/data-structures/linked-list/singly-linked-list.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="forEach" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -322,10 +397,25 @@ satisfies the testing function</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TMapFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function to execute for each element, taking up to three arguments.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li>
<li>
<h5><span class="tsd-kind-parameter">reverse</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
<div class="tsd-comment tsd-typography"><p>Indicates if the list should be walked in reverse order, default is false</p>
@ -334,7 +424,7 @@ satisfies the testing function</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L608">src/data-structures/linked-list/singly-linked-list.ts:608</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L623">src/data-structures/linked-list/singly-linked-list.ts:623</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -355,7 +445,7 @@ satisfies the testing function</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L142">src/data-structures/linked-list/singly-linked-list.ts:142</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L141">src/data-structures/linked-list/singly-linked-list.ts:141</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Node</span><a href="#getNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -373,7 +463,7 @@ satisfies the testing function</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L154">src/data-structures/linked-list/singly-linked-list.ts:154</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L153">src/data-structures/linked-list/singly-linked-list.ts:153</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insertAfter" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>After</span><a href="#insertAfter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -399,7 +489,7 @@ satisfies the testing function</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L469">src/data-structures/linked-list/singly-linked-list.ts:469</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L484">src/data-structures/linked-list/singly-linked-list.ts:484</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insertAt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>At</span><a href="#insertAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -427,7 +517,7 @@ or 0, it will be prepended.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L309">src/data-structures/linked-list/singly-linked-list.ts:309</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L324">src/data-structures/linked-list/singly-linked-list.ts:324</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insertBefore" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Before</span><a href="#insertBefore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -453,7 +543,7 @@ or 0, it will be prepended.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L385">src/data-structures/linked-list/singly-linked-list.ts:385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L400">src/data-structures/linked-list/singly-linked-list.ts:400</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="map" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -468,10 +558,25 @@ calling a provided function on every node in the calling list.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-type ">TMapFunction</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5>
<h5><span class="tsd-kind-parameter">f</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h5>
<div class="tsd-comment tsd-typography"><p>Function that produces an node of the new list, taking up to three arguments</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
<div class="tsd-comment tsd-typography"></div>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span>, <span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">list</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></h5></li>
<li>
<h5><span class="tsd-kind-parameter">list</span>: <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li>
<li>
<h5><span class="tsd-kind-parameter">reverse</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
<div class="tsd-comment tsd-typography"><p>Indicates if the list should be mapped in reverse order, default is false</p>
@ -480,7 +585,7 @@ calling a provided function on every node in the calling list.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L630">src/data-structures/linked-list/singly-linked-list.ts:630</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L649">src/data-structures/linked-list/singly-linked-list.ts:649</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="merge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>merge</span><a href="#merge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -502,7 +607,7 @@ equal after merging.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L518">src/data-structures/linked-list/singly-linked-list.ts:518</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L533">src/data-structures/linked-list/singly-linked-list.ts:533</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pop" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>pop</span><a href="#pop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -516,7 +621,7 @@ or undefined if the list was empty</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L503">src/data-structures/linked-list/singly-linked-list.ts:503</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L518">src/data-structures/linked-list/singly-linked-list.ts:518</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="prepend" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prepend</span><a href="#prepend" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -538,7 +643,7 @@ argument list is prepended as a block to reduce confusion:</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L283">src/data-structures/linked-list/singly-linked-list.ts:283</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L298">src/data-structures/linked-list/singly-linked-list.ts:298</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="push" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>push</span><a href="#push" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -559,7 +664,7 @@ argument list is prepended as a block to reduce confusion:</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L270">src/data-structures/linked-list/singly-linked-list.ts:270</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L285">src/data-structures/linked-list/singly-linked-list.ts:285</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="reduce" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reduce</span><a href="#reduce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -605,7 +710,7 @@ argument list is prepended as a block to reduce confusion:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L665">src/data-structures/linked-list/singly-linked-list.ts:665</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L692">src/data-structures/linked-list/singly-linked-list.ts:692</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeAt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>At</span><a href="#removeAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -626,7 +731,7 @@ argument list is prepended as a block to reduce confusion:</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L371">src/data-structures/linked-list/singly-linked-list.ts:371</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L386">src/data-structures/linked-list/singly-linked-list.ts:386</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-private"><a id="removeFromAnyEnd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>remove<wbr/>From<wbr/>Any<wbr/>End</span><a href="#removeFromAnyEnd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-private">
@ -642,7 +747,7 @@ argument list is prepended as a block to reduce confusion:</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L737">src/data-structures/linked-list/singly-linked-list.ts:737</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L764">src/data-structures/linked-list/singly-linked-list.ts:764</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Node</span><a href="#removeNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -664,7 +769,7 @@ node afterwards.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L336">src/data-structures/linked-list/singly-linked-list.ts:336</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L351">src/data-structures/linked-list/singly-linked-list.ts:351</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="reverse" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -678,7 +783,7 @@ itself.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L586">src/data-structures/linked-list/singly-linked-list.ts:586</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L601">src/data-structures/linked-list/singly-linked-list.ts:601</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="shift" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>shift</span><a href="#shift" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -692,7 +797,7 @@ or undefined</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L492">src/data-structures/linked-list/singly-linked-list.ts:492</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L507">src/data-structures/linked-list/singly-linked-list.ts:507</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="slice" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>slice</span><a href="#slice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -721,7 +826,7 @@ The original list will not be modified.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L560">src/data-structures/linked-list/singly-linked-list.ts:560</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L575">src/data-structures/linked-list/singly-linked-list.ts:575</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="sort" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -756,7 +861,7 @@ The original list will not be modified.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L408">src/data-structures/linked-list/singly-linked-list.ts:408</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L423">src/data-structures/linked-list/singly-linked-list.ts:423</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -769,7 +874,7 @@ The original list will not be modified.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">[]</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L705">src/data-structures/linked-list/singly-linked-list.ts:705</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L732">src/data-structures/linked-list/singly-linked-list.ts:732</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toString" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>String</span><a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -790,7 +895,7 @@ The original list will not be modified.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L716">src/data-structures/linked-list/singly-linked-list.ts:716</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L743">src/data-structures/linked-list/singly-linked-list.ts:743</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="from" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from</span><a href="#from" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -816,7 +921,7 @@ The original list will not be modified.</p>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L131">src/data-structures/linked-list/singly-linked-list.ts:131</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L130">src/data-structures/linked-list/singly-linked-list.ts:130</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -31,7 +31,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">SinglyLinkedListNode</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L13">src/data-structures/linked-list/singly-linked-list.ts:13</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L12">src/data-structures/linked-list/singly-linked-list.ts:12</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -96,7 +96,7 @@
<div class="tsd-comment tsd-typography"></div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L14">src/data-structures/linked-list/singly-linked-list.ts:14</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L13">src/data-structures/linked-list/singly-linked-list.ts:13</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="list" class="tsd-anchor"></a>
@ -106,7 +106,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L22">src/data-structures/linked-list/singly-linked-list.ts:22</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L21">src/data-structures/linked-list/singly-linked-list.ts:21</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="next" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>next</span><a href="#next" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></div>
@ -114,7 +114,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L20">src/data-structures/linked-list/singly-linked-list.ts:20</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L19">src/data-structures/linked-list/singly-linked-list.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="prev" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>prev</span><a href="#prev" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">prev</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></div>
@ -122,7 +122,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L18">src/data-structures/linked-list/singly-linked-list.ts:18</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L17">src/data-structures/linked-list/singly-linked-list.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></div>
@ -130,7 +130,7 @@
</div>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L16">src/data-structures/linked-list/singly-linked-list.ts:16</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L15">src/data-structures/linked-list/singly-linked-list.ts:15</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="index" class="tsd-anchor"></a>
@ -145,7 +145,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L42">src/data-structures/linked-list/singly-linked-list.ts:42</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L41">src/data-structures/linked-list/singly-linked-list.ts:41</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="value" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -158,7 +158,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L32">src/data-structures/linked-list/singly-linked-list.ts:32</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L31">src/data-structures/linked-list/singly-linked-list.ts:31</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="insertAfter" class="tsd-anchor"></a>
@ -181,7 +181,7 @@
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L69">src/data-structures/linked-list/singly-linked-list.ts:69</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L68">src/data-structures/linked-list/singly-linked-list.ts:68</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="insertBefore" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Before</span><a href="#insertBefore" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -202,7 +202,7 @@
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedList.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedList</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L56">src/data-structures/linked-list/singly-linked-list.ts:56</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L55">src/data-structures/linked-list/singly-linked-list.ts:55</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -215,7 +215,7 @@
<h4 class="tsd-returns-title">Returns <a href="SinglyLinkedListNode.html" class="tsd-signature-type tsd-kind-class">SinglyLinkedListNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">NodeData</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/linked-list/singly-linked-list.ts#L81">src/data-structures/linked-list/singly-linked-list.ts:81</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/linked-list/singly-linked-list.ts#L80">src/data-structures/linked-list/singly-linked-list.ts:80</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">SplayTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/splay-tree.ts#L1">src/data-structures/binary-tree/splay-tree.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/splay-tree.ts#L1">src/data-structures/binary-tree/splay-tree.ts:1</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">

View file

@ -31,7 +31,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Stack</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L6">src/data-structures/stack/stack.ts:6</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L6">src/data-structures/stack/stack.ts:6</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -84,14 +84,14 @@ is provided and is an array, it is assigned to the `_elements</p>
<h4 class="tsd-returns-title">Returns <a href="Stack.html" class="tsd-signature-type tsd-kind-class">Stack</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L15">src/data-structures/stack/stack.ts:15</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L15">src/data-structures/stack/stack.ts:15</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_elements" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_elements</span><a href="#_elements" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_elements</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L7">src/data-structures/stack/stack.ts:7</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L7">src/data-structures/stack/stack.ts:7</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="clear" class="tsd-anchor"></a>
@ -104,7 +104,7 @@ is provided and is an array, it is assigned to the `_elements</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L87">src/data-structures/stack/stack.ts:87</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L87">src/data-structures/stack/stack.ts:87</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="clone" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clone</span><a href="#clone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -116,7 +116,7 @@ is provided and is an array, it is assigned to the `_elements</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L95">src/data-structures/stack/stack.ts:95</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L95">src/data-structures/stack/stack.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -128,7 +128,7 @@ is provided and is an array, it is assigned to the `_elements</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L33">src/data-structures/stack/stack.ts:33</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L33">src/data-structures/stack/stack.ts:33</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="peek" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>peek</span><a href="#peek" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -140,7 +140,7 @@ is provided and is an array, it is assigned to the `_elements</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L49">src/data-structures/stack/stack.ts:49</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L49">src/data-structures/stack/stack.ts:49</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="pop" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>pop</span><a href="#pop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -153,7 +153,7 @@ array is empty, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L70">src/data-structures/stack/stack.ts:70</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L70">src/data-structures/stack/stack.ts:70</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="push" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>push</span><a href="#push" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -173,7 +173,7 @@ array is empty, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L60">src/data-structures/stack/stack.ts:60</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L60">src/data-structures/stack/stack.ts:60</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -185,7 +185,7 @@ array is empty, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L41">src/data-structures/stack/stack.ts:41</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L41">src/data-structures/stack/stack.ts:41</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="toArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Array</span><a href="#toArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -197,7 +197,7 @@ array is empty, it returns <code>null</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L80">src/data-structures/stack/stack.ts:80</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L80">src/data-structures/stack/stack.ts:80</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="fromArray" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Array</span><a href="#fromArray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -223,7 +223,7 @@ array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/stack/stack.ts#L25">src/data-structures/stack/stack.ts:25</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/stack/stack.ts#L25">src/data-structures/stack/stack.ts:25</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -27,7 +27,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">TreeMultiSet</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/tree-multiset.ts#L8">src/data-structures/binary-tree/tree-multiset.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/tree-multiset.ts#L8">src/data-structures/binary-tree/tree-multiset.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -123,7 +123,7 @@
<h4 class="tsd-returns-title">Returns <a href="TreeMultiSet.html" class="tsd-signature-type tsd-kind-class">TreeMultiSet</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L17">src/data-structures/binary-tree/bst.ts:17</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_comparator" class="tsd-anchor"></a>
@ -131,61 +131,61 @@
<div class="tsd-signature"><span class="tsd-kind-property">_comparator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">BSTComparator</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_comparator">_comparator</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L400">src/data-structures/binary-tree/bst.ts:400</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_count" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_count</span><a href="#_count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_count">_count</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L197">src/data-structures/binary-tree/binary-tree.ts:197</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_loopType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_loop<wbr/>Type</span><a href="#_loopType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_loop<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/LoopType.html" class="tsd-signature-type tsd-kind-enum">LoopType</a><span class="tsd-signature-symbol"> = LoopType.iterative</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_loopType">_loopType</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L141">src/data-structures/binary-tree/binary-tree.ts:141</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_root">_root</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L173">src/data-structures/binary-tree/binary-tree.ts:173</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_size</span><a href="#_size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_size">_size</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L187">src/data-structures/binary-tree/binary-tree.ts:187</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Count</span><a href="#_visitedCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedCount">_visitedCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L145">src/data-structures/binary-tree/binary-tree.ts:145</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Id</span><a href="#_visitedId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedId">_visitedId</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L142">src/data-structures/binary-tree/binary-tree.ts:142</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedLeftSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Left<wbr/>Sum</span><a href="#_visitedLeftSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Left<wbr/>Sum</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedLeftSum">_visitedLeftSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L146">src/data-structures/binary-tree/binary-tree.ts:146</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Node</span><a href="#_visitedNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Node</span><span class="tsd-signature-symbol">:</span> <a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedNode">_visitedNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L144">src/data-structures/binary-tree/binary-tree.ts:144</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_visitedVal" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_visited<wbr/>Val</span><a href="#_visitedVal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_visited<wbr/>Val</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_visitedVal">_visitedVal</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L143">src/data-structures/binary-tree/binary-tree.ts:143</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="count" class="tsd-anchor"></a>
@ -196,7 +196,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BST.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L199">src/data-structures/binary-tree/binary-tree.ts:199</a></li></ul></aside></li>
<li class="tsd-signature" id="count.count-2"><span class="tsd-signature-symbol">set</span> count<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -207,7 +207,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.count</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L203">src/data-structures/binary-tree/binary-tree.ts:203</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -216,7 +216,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Inherited from BST.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L175">src/data-structures/binary-tree/binary-tree.ts:175</a></li></ul></aside></li>
<li class="tsd-signature" id="root.root-2"><span class="tsd-signature-symbol">set</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -227,7 +227,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.root</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L179">src/data-structures/binary-tree/binary-tree.ts:179</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -236,7 +236,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from BST.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L189">src/data-structures/binary-tree/binary-tree.ts:189</a></li></ul></aside></li>
<li class="tsd-signature" id="size.size-2"><span class="tsd-signature-symbol">set</span> size<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -247,7 +247,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from BST.size</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L193">src/data-structures/binary-tree/binary-tree.ts:193</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="BFS" class="tsd-anchor"></a>
@ -263,7 +263,7 @@ or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L902">src/data-structures/binary-tree/binary-tree.ts:902</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-2"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -285,7 +285,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L904">src/data-structures/binary-tree/binary-tree.ts:904</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-3"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -307,7 +307,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L906">src/data-structures/binary-tree/binary-tree.ts:906</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-4"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -329,7 +329,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L908">src/data-structures/binary-tree/binary-tree.ts:908</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="BFS.BFS-5"><span class="tsd-kind-call-signature">BFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#BFS.BFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The BFS function performs a breadth-first search on a binary tree and returns the results based on a specified node
@ -351,7 +351,7 @@ performed starting from the root node</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#BFS">BFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L910">src/data-structures/binary-tree/binary-tree.ts:910</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFS" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFS</span><a href="#DFS" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -365,7 +365,7 @@ specified pattern and node or property name.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L938">src/data-structures/binary-tree/binary-tree.ts:938</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-2"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -394,7 +394,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L940">src/data-structures/binary-tree/binary-tree.ts:940</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-3"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -423,7 +423,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L942">src/data-structures/binary-tree/binary-tree.ts:942</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-4"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -452,7 +452,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L944">src/data-structures/binary-tree/binary-tree.ts:944</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFS.DFS-5"><span class="tsd-kind-call-signature">DFS</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFS.DFS-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The DFS function performs a depth-first search traversal on a binary tree and returns the results based on the
@ -481,7 +481,7 @@ no value</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFS">DFS</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L946">src/data-structures/binary-tree/binary-tree.ts:946</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DFSIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DFSIterative</span><a href="#DFSIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -494,7 +494,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L988">src/data-structures/binary-tree/binary-tree.ts:988</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-2"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -513,7 +513,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L990">src/data-structures/binary-tree/binary-tree.ts:990</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-3"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -532,7 +532,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L992">src/data-structures/binary-tree/binary-tree.ts:992</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-4"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -551,7 +551,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L994">src/data-structures/binary-tree/binary-tree.ts:994</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="DFSIterative.DFSIterative-5"><span class="tsd-kind-call-signature">DFSIterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#DFSIterative.DFSIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Time complexity is O(n)
@ -570,7 +570,7 @@ Space complexity of Iterative DFS equals to recursive DFS which is O(n) because
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#DFSIterative">DFSIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L996">src/data-structures/binary-tree/binary-tree.ts:996</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_accumulatedByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_accumulated<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_accumulatedByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -598,7 +598,7 @@ the property name of the node that should be accumulated. If it is a node object
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_accumulatedByPropertyName">_accumulatedByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1356">src/data-structures/binary-tree/binary-tree.ts:1356</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_compare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_compare</span><a href="#_compare" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -614,7 +614,7 @@ the property name of the node that should be accumulated. If it is a node object
<h4 class="tsd-returns-title">Returns <a href="../enums/CP.html" class="tsd-signature-type tsd-kind-enum">CP</a></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_compare">_compare</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L402">src/data-structures/binary-tree/bst.ts:402</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_getResultByPropertyName" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Result<wbr/>By<wbr/>Property<wbr/>Name</span><a href="#_getResultByPropertyName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -637,7 +637,7 @@ can accept a value of type <code>NodeOrPropertyName</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_getResultByPropertyName">_getResultByPropertyName</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1385">src/data-structures/binary-tree/binary-tree.ts:1385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_pushByPropertyNameStopOrNot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_push<wbr/>By<wbr/>Property<wbr/>Name<wbr/>Stop<wbr/>Or<wbr/>Not</span><a href="#_pushByPropertyNameStopOrNot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -685,7 +685,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_pushByPropertyNameStopOrNot">_pushByPropertyNameStopOrNot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1319">src/data-structures/binary-tree/binary-tree.ts:1319</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_resetResults" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_reset<wbr/>Results</span><a href="#_resetResults" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-protected tsd-is-inherited">
@ -697,7 +697,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#_resetResults">_resetResults</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1295">src/data-structures/binary-tree/binary-tree.ts:1295</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="allGreaterNodesAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>all<wbr/>Greater<wbr/>Nodes<wbr/>Add</span><a href="#allGreaterNodesAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -715,7 +715,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#allGreaterNodesAdd">allGreaterNodesAdd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L276">src/data-structures/binary-tree/bst.ts:276</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="balance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>balance</span><a href="#balance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -724,7 +724,7 @@ stop after finding the first matching node or continue searching for all matchin
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#balance">balance</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L322">src/data-structures/binary-tree/bst.ts:322</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -736,7 +736,7 @@ stop after finding the first matching node or continue searching for all matchin
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#clear">clear</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L226">src/data-structures/binary-tree/binary-tree.ts:226</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="createNode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Node</span><a href="#createNode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -772,7 +772,7 @@ Otherwise, it returns null.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#createNode">createNode</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/tree-multiset.ts#L9">src/data-structures/binary-tree/tree-multiset.ts:9</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/tree-multiset.ts#L9">src/data-structures/binary-tree/tree-multiset.ts:9</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="fill" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>fill</span><a href="#fill" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -795,7 +795,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#fill">fill</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L389">src/data-structures/binary-tree/binary-tree.ts:389</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -824,7 +824,7 @@ specifies the property of the binary tree node to search for. If not provided, i
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#get">get</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L111">src/data-structures/binary-tree/bst.ts:111</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDepth" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Depth</span><a href="#getDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -846,7 +846,7 @@ meaning it can represent any type of data that we want to store in the node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getDepth">getDepth</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L447">src/data-structures/binary-tree/binary-tree.ts:447</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Height</span><a href="#getHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -870,7 +870,7 @@ If no value is provided for <code>beginRoot</code>, the function will use the <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getHeight">getHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L464">src/data-structures/binary-tree/binary-tree.ts:464</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLeftMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Left<wbr/>Most</span><a href="#getLeftMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -884,7 +884,7 @@ recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L651">src/data-structures/binary-tree/binary-tree.ts:651</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getLeftMost.getLeftMost-2"><span class="tsd-kind-call-signature">get<wbr/>Left<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getLeftMost.getLeftMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getLeftMost</code> function returns the leftmost node in a binary tree, either recursively or iteratively using tail
@ -904,7 +904,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getLeftMost">getLeftMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L653">src/data-structures/binary-tree/binary-tree.ts:653</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinHeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Height</span><a href="#getMinHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -928,7 +928,7 @@ tree. If no value is provided for <code>beginRoot</code>, the function will use
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getMinHeight">getMinHeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L513">src/data-structures/binary-tree/binary-tree.ts:513</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Nodes</span><a href="#getNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -963,7 +963,7 @@ function will stop traversing the tree and return the first matching node. If <c
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getNodes">getNodes</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L170">src/data-structures/binary-tree/bst.ts:170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPathToRoot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>To<wbr/>Root</span><a href="#getPathToRoot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -986,7 +986,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getPathToRoot">getPathToRoot</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L641">src/data-structures/binary-tree/binary-tree.ts:641</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPredecessor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Predecessor</span><a href="#getPredecessor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1007,7 +1007,7 @@ the given <code>node</code> to the root of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getPredecessor">getPredecessor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1170">src/data-structures/binary-tree/binary-tree.ts:1170</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRightMost" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Right<wbr/>Most</span><a href="#getRightMost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1021,7 +1021,7 @@ tail recursion optimization.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L686">src/data-structures/binary-tree/binary-tree.ts:686</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="getRightMost.getRightMost-2"><span class="tsd-kind-call-signature">get<wbr/>Right<wbr/>Most</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><a href="#getRightMost.getRightMost-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>getRightMost</code> function returns the rightmost node in a binary tree, either recursively or iteratively using
@ -1041,7 +1041,7 @@ provided, the function will use the root node of the binary tree.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getRightMost">getRightMost</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L688">src/data-structures/binary-tree/binary-tree.ts:688</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSubTreeSizeAndCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Sub<wbr/>Tree<wbr/>Size<wbr/>And<wbr/>Count</span><a href="#getSubTreeSizeAndCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1065,7 +1065,7 @@ represents the size of the subtree, and the second element represents the count
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#getSubTreeSizeAndCount">getSubTreeSizeAndCount</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L766">src/data-structures/binary-tree/binary-tree.ts:766</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1094,7 +1094,7 @@ specifies the name of the property to check for in the nodes.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#has">has</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L616">src/data-structures/binary-tree/binary-tree.ts:616</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="insertMany" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>insert<wbr/>Many</span><a href="#insertMany" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1117,7 +1117,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#insertMany">insertMany</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L342">src/data-structures/binary-tree/binary-tree.ts:342</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isAVLBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isAVLBalanced</span><a href="#isAVLBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1126,7 +1126,7 @@ array of <code>BinaryTreeNode&lt;T&gt;</code> objects.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isAVLBalanced">isAVLBalanced</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L358">src/data-structures/binary-tree/bst.ts:358</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBST" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>isBST</span><a href="#isBST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1149,7 +1149,7 @@ tree, and <code>false</code> otherwise.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isBST">isBST</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L729">src/data-structures/binary-tree/binary-tree.ts:729</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBalanced" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Balanced</span><a href="#isBalanced" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1171,7 +1171,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isBalanced">isBalanced</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L561">src/data-structures/binary-tree/binary-tree.ts:561</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="isEmpty" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Empty</span><a href="#isEmpty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1184,7 +1184,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#isEmpty">isEmpty</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L237">src/data-structures/binary-tree/binary-tree.ts:237</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="lastKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>last<wbr/>Key</span><a href="#lastKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1193,7 +1193,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#lastKey">lastKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L116">src/data-structures/binary-tree/bst.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="lesserSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>lesser<wbr/>Sum</span><a href="#lesserSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1209,7 +1209,7 @@ of type <code>BinaryTreeNode&lt;T&gt; | null</code>, which means it can either b
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#lesserSum">lesserSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L211">src/data-structures/binary-tree/bst.ts:211</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="levelIterative" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>level<wbr/>Iterative</span><a href="#levelIterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1233,7 +1233,7 @@ the tree is used as the starting node.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1047">src/data-structures/binary-tree/binary-tree.ts:1047</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-2"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1262,7 +1262,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1049">src/data-structures/binary-tree/binary-tree.ts:1049</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-3"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1291,7 +1291,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1051">src/data-structures/binary-tree/binary-tree.ts:1051</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-4"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1320,7 +1320,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1053">src/data-structures/binary-tree/binary-tree.ts:1053</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="levelIterative.levelIterative-5"><span class="tsd-kind-call-signature">level<wbr/>Iterative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#levelIterative.levelIterative-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>levelIterative</code> function performs a level-order traversal on a binary tree and returns the values of the nodes
@ -1349,7 +1349,7 @@ accumulating results</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#levelIterative">levelIterative</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1055">src/data-structures/binary-tree/binary-tree.ts:1055</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="listLevels" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list<wbr/>Levels</span><a href="#listLevels" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1371,7 +1371,7 @@ root node of a binary tree. If it is null, the function will use the root node o
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1093">src/data-structures/binary-tree/binary-tree.ts:1093</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-2"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1397,7 +1397,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1095">src/data-structures/binary-tree/binary-tree.ts:1095</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-3"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1423,7 +1423,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1097">src/data-structures/binary-tree/binary-tree.ts:1097</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-4"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1449,7 +1449,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1099">src/data-structures/binary-tree/binary-tree.ts:1099</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="listLevels.listLevels-5"><span class="tsd-kind-call-signature">list<wbr/>Levels</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">node</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><a href="#listLevels.listLevels-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>listLevels</code> function collects nodes from a binary tree by a specified property and organizes them into levels.</p>
@ -1475,7 +1475,7 @@ values:</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#listLevels">listLevels</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1101">src/data-structures/binary-tree/binary-tree.ts:1101</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="morris" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>morris</span><a href="#morris" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1491,7 +1491,7 @@ The space complexity Morris traversal is O(1) because no using stack</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1184">src/data-structures/binary-tree/binary-tree.ts:1184</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-2"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1520,7 +1520,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1186">src/data-structures/binary-tree/binary-tree.ts:1186</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-3"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1549,7 +1549,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1188">src/data-structures/binary-tree/binary-tree.ts:1188</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-4"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="BinaryTreeNode.html" class="tsd-signature-type tsd-kind-class">BinaryTreeNode</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1578,7 +1578,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1190">src/data-structures/binary-tree/binary-tree.ts:1190</a></li></ul></aside></li>
<li class="tsd-signature tsd-anchor-link" id="morris.morris-5"><span class="tsd-kind-call-signature">morris</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pattern</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nodeOrPropertyName</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#morris.morris-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>The <code>morris</code> function performs an in-order, pre-order, or post-order traversal on a binary tree using the Morris
@ -1607,7 +1607,7 @@ property. If not provided, it defaults to <code>&#39;id&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#morris">morris</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L1192">src/data-structures/binary-tree/binary-tree.ts:1192</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="put" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put</span><a href="#put" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1643,7 +1643,7 @@ inserted once.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#put">put</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/tree-multiset.ts#L13">src/data-structures/binary-tree/tree-multiset.ts:13</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/tree-multiset.ts#L13">src/data-structures/binary-tree/tree-multiset.ts:13</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="putTo" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put<wbr/>To</span><a href="#putTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1671,7 +1671,7 @@ will be inserted as a child.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#putTo">putTo</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L249">src/data-structures/binary-tree/binary-tree.ts:249</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -1702,7 +1702,7 @@ not be decremented and the overall count of the binary tree will not be updated.
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="BST.html">BST</a>.<a href="BST.html#remove">remove</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/tree-multiset.ts#L17">src/data-structures/binary-tree/tree-multiset.ts:17</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/tree-multiset.ts#L17">src/data-structures/binary-tree/tree-multiset.ts:17</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeAdd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Add</span><a href="#subTreeAdd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1735,7 +1735,7 @@ specifies the property of the <code>BinaryTreeNode</code> that should be modifie
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#subTreeAdd">subTreeAdd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L861">src/data-structures/binary-tree/binary-tree.ts:861</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="subTreeSum" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sub<wbr/>Tree<wbr/>Sum</span><a href="#subTreeSum" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -1765,7 +1765,7 @@ provided, it defaults to <code>&#39;val&#39;</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="BST.html">BST</a>.<a href="BST.html#subTreeSum">subTreeSum</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L805">src/data-structures/binary-tree/binary-tree.ts:805</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Trie</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L43">src/data-structures/trie/trie.ts:43</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L43">src/data-structures/trie/trie.ts:43</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -63,14 +63,14 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">words</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Trie.html" class="tsd-signature-type tsd-kind-class">Trie</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L44">src/data-structures/trie/trie.ts:44</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L44">src/data-structures/trie/trie.ts:44</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_root</span><span class="tsd-signature-symbol">:</span> <a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L53">src/data-structures/trie/trie.ts:53</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L53">src/data-structures/trie/trie.ts:53</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="root" class="tsd-anchor"></a>
@ -80,7 +80,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L55">src/data-structures/trie/trie.ts:55</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L55">src/data-structures/trie/trie.ts:55</a></li></ul></aside></li>
<li class="tsd-signature" id="root.root-2"><span class="tsd-signature-symbol">set</span> root<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -90,7 +90,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L59">src/data-structures/trie/trie.ts:59</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L59">src/data-structures/trie/trie.ts:59</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="getAll" class="tsd-anchor"></a>
@ -113,7 +113,7 @@ trie. It is an optional parameter, so if no prefix is provided, it will default
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L193">src/data-structures/trie/trie.ts:193</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L193">src/data-structures/trie/trie.ts:193</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getLongestCommonPrefix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Longest<wbr/>Common<wbr/>Prefix</span><a href="#getLongestCommonPrefix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -127,7 +127,7 @@ Trie.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L175">src/data-structures/trie/trie.ts:175</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L175">src/data-structures/trie/trie.ts:175</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -140,7 +140,7 @@ Trie.</p>
<h5><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L77">src/data-structures/trie/trie.ts:77</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L77">src/data-structures/trie/trie.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isAbsPrefix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Abs<wbr/>Prefix</span><a href="#isAbsPrefix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -160,7 +160,7 @@ Trie.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L125">src/data-structures/trie/trie.ts:125</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L125">src/data-structures/trie/trie.ts:125</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isCommonPrefix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Common<wbr/>Prefix</span><a href="#isCommonPrefix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -181,7 +181,7 @@ in the Trie data structure.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L156">src/data-structures/trie/trie.ts:156</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L156">src/data-structures/trie/trie.ts:156</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isPrefix" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Prefix</span><a href="#isPrefix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -201,7 +201,7 @@ in the Trie data structure.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L140">src/data-structures/trie/trie.ts:140</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L140">src/data-structures/trie/trie.ts:140</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="put" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>put</span><a href="#put" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -214,7 +214,7 @@ in the Trie data structure.</p>
<h5><span class="tsd-kind-parameter">word</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L63">src/data-structures/trie/trie.ts:63</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L63">src/data-structures/trie/trie.ts:63</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -227,7 +227,7 @@ in the Trie data structure.</p>
<h5><span class="tsd-kind-parameter">word</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L87">src/data-structures/trie/trie.ts:87</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L87">src/data-structures/trie/trie.ts:87</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -26,7 +26,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">TrieNode</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L5">src/data-structures/trie/trie.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L5">src/data-structures/trie/trie.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -62,24 +62,24 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L8">src/data-structures/trie/trie.ts:8</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L8">src/data-structures/trie/trie.ts:8</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_children" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_children</span><a href="#_children" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L14">src/data-structures/trie/trie.ts:14</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L14">src/data-structures/trie/trie.ts:14</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_isEnd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_is<wbr/>End</span><a href="#_isEnd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_is<wbr/>End</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L24">src/data-structures/trie/trie.ts:24</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L24">src/data-structures/trie/trie.ts:24</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_value" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_value</span><a href="#_value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L6">src/data-structures/trie/trie.ts:6</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L6">src/data-structures/trie/trie.ts:6</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="children" class="tsd-anchor"></a>
@ -89,7 +89,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L16">src/data-structures/trie/trie.ts:16</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L16">src/data-structures/trie/trie.ts:16</a></li></ul></aside></li>
<li class="tsd-signature" id="children.children-2"><span class="tsd-signature-symbol">set</span> children<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -99,7 +99,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="TrieNode.html" class="tsd-signature-type tsd-kind-class">TrieNode</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L20">src/data-structures/trie/trie.ts:20</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L20">src/data-structures/trie/trie.ts:20</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="isEnd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>End</span><a href="#isEnd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -107,7 +107,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L26">src/data-structures/trie/trie.ts:26</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L26">src/data-structures/trie/trie.ts:26</a></li></ul></aside></li>
<li class="tsd-signature" id="isEnd.isEnd-2"><span class="tsd-signature-symbol">set</span> isEnd<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -117,7 +117,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">boolean</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L30">src/data-structures/trie/trie.ts:30</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L30">src/data-structures/trie/trie.ts:30</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="val" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>val</span><a href="#val" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -125,7 +125,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L34">src/data-structures/trie/trie.ts:34</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L34">src/data-structures/trie/trie.ts:34</a></li></ul></aside></li>
<li class="tsd-signature" id="val.val-2"><span class="tsd-signature-symbol">set</span> val<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -135,7 +135,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/trie/trie.ts#L38">src/data-structures/trie/trie.ts:38</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/trie/trie.ts#L38">src/data-structures/trie/trie.ts:38</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">TwoThreeTree</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/two-three-tree.ts#L1">src/data-structures/binary-tree/two-three-tree.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/two-three-tree.ts#L1">src/data-structures/binary-tree/two-three-tree.ts:1</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">

View file

@ -22,7 +22,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">UndirectedEdge</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L15">src/data-structures/graph/undirected-graph.ts:15</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L15">src/data-structures/graph/undirected-graph.ts:15</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -62,20 +62,20 @@
<h4 class="tsd-returns-title">Returns <a href="UndirectedEdge.html" class="tsd-signature-type tsd-kind-class">UndirectedEdge</a></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractEdge.html">AbstractEdge</a>.<a href="AbstractEdge.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L16">src/data-structures/graph/undirected-graph.ts:16</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L16">src/data-structures/graph/undirected-graph.ts:16</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-private"><a id="_vertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_vertices</span><a href="#_vertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_vertices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">]</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L21">src/data-structures/graph/undirected-graph.ts:21</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L21">src/data-structures/graph/undirected-graph.ts:21</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="DEFAULT_EDGE_WEIGHT" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><a href="#DEFAULT_EDGE_WEIGHT" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">DEFAULT_<wbr/>EDGE_<wbr/>WEIGHT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractEdge.html">AbstractEdge</a>.<a href="AbstractEdge.html#DEFAULT_EDGE_WEIGHT">DEFAULT_EDGE_WEIGHT</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L27">src/data-structures/graph/abstract-graph.ts:27</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="hashCode" class="tsd-anchor"></a>
@ -86,7 +86,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.hashCode</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L47">src/data-structures/graph/abstract-graph.ts:47</a></li></ul></aside></li>
<li class="tsd-signature" id="hashCode.hashCode-2"><span class="tsd-signature-symbol">set</span> hashCode<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -97,7 +97,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.hashCode</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L51">src/data-structures/graph/abstract-graph.ts:51</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="vertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>vertices</span><a href="#vertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -105,7 +105,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L23">src/data-structures/graph/undirected-graph.ts:23</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L23">src/data-structures/graph/undirected-graph.ts:23</a></li></ul></aside></li>
<li class="tsd-signature" id="vertices.vertices-2"><span class="tsd-signature-symbol">set</span> vertices<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -115,7 +115,7 @@
<h5><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L27">src/data-structures/graph/undirected-graph.ts:27</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L27">src/data-structures/graph/undirected-graph.ts:27</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="weight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>weight</span><a href="#weight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -124,7 +124,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.weight</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L37">src/data-structures/graph/abstract-graph.ts:37</a></li></ul></aside></li>
<li class="tsd-signature" id="weight.weight-2"><span class="tsd-signature-symbol">set</span> weight<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -135,7 +135,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractEdge.weight</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L41">src/data-structures/graph/abstract-graph.ts:41</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -29,7 +29,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">UndirectedGraph</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L32">src/data-structures/graph/undirected-graph.ts:32</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L32">src/data-structures/graph/undirected-graph.ts:32</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -92,20 +92,20 @@
<h4 class="tsd-returns-title">Returns <a href="UndirectedGraph.html" class="tsd-signature-type tsd-kind-class">UndirectedGraph</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L35">src/data-structures/graph/undirected-graph.ts:35</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L35">src/data-structures/graph/undirected-graph.ts:35</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-is-protected"><a id="_edges" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_edges</span><a href="#_edges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_edges</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">E</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L33">src/data-structures/graph/undirected-graph.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L33">src/data-structures/graph/undirected-graph.ts:33</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="_vertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_vertices</span><a href="#_vertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">_vertices</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type ">VertexId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">V</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#_vertices">_vertices</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L59">src/data-structures/graph/abstract-graph.ts:59</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="addEdge" class="tsd-anchor"></a>
@ -128,7 +128,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#addEdge">addEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L67">src/data-structures/graph/undirected-graph.ts:67</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L67">src/data-structures/graph/undirected-graph.ts:67</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="addVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>add<wbr/>Vertex</span><a href="#addVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -150,7 +150,7 @@ false. Otherwise, it will add the newVertex to the graph and return true.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#addVertex">addVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L114">src/data-structures/graph/abstract-graph.ts:114</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="bellmanFord" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>bellman<wbr/>Ford</span><a href="#bellmanFord" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -206,7 +206,7 @@ vertex.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#bellmanFord">bellmanFord</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L636">src/data-structures/graph/abstract-graph.ts:636</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="containsEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Edge</span><a href="#containsEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -235,7 +235,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#containsEdge">containsEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L163">src/data-structures/graph/abstract-graph.ts:163</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="containsVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>contains<wbr/>Vertex</span><a href="#containsVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -257,7 +257,7 @@ vertices <code>v1</code> and <code>v2</code>, and <code>false</code> otherwise.<
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#containsVertex">containsVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L94">src/data-structures/graph/abstract-graph.ts:94</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="degreeOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>degree<wbr/>Of</span><a href="#degreeOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -280,7 +280,7 @@ edges that are incident to that vertex.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#degreeOf">degreeOf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L127">src/data-structures/graph/undirected-graph.ts:127</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L127">src/data-structures/graph/undirected-graph.ts:127</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="dijkstra" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra</span><a href="#dijkstra" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -324,7 +324,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#dijkstra">dijkstra</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L511">src/data-structures/graph/abstract-graph.ts:511</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="dijkstraWithoutHeap" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dijkstra<wbr/>Without<wbr/>Heap</span><a href="#dijkstraWithoutHeap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -368,7 +368,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#dijkstraWithoutHeap">dijkstraWithoutHeap</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L385">src/data-structures/graph/abstract-graph.ts:385</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgeSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>edge<wbr/>Set</span><a href="#edgeSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -381,7 +381,7 @@ shortest paths from the source vertex to all other vertices in the graph. If <co
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#edgeSet">edgeSet</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L156">src/data-structures/graph/undirected-graph.ts:156</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L156">src/data-structures/graph/undirected-graph.ts:156</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="edgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>edges<wbr/>Of</span><a href="#edgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -404,7 +404,7 @@ an empty array.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#edgesOf">edgesOf</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L143">src/data-structures/graph/undirected-graph.ts:143</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L143">src/data-structures/graph/undirected-graph.ts:143</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="floyd" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>floyd</span><a href="#floyd" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -428,7 +428,7 @@ path between vertices in the</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#floyd">floyd</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L734">src/data-structures/graph/abstract-graph.ts:734</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAllPathsBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Paths<wbr/>Between</span><a href="#getAllPathsBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -457,7 +457,7 @@ and v2).</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getAllPathsBetween">getAllPathsBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L202">src/data-structures/graph/abstract-graph.ts:202</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Edge</span><a href="#getEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -485,7 +485,7 @@ object), <code>null</code>, or <code>VertexId</code> (vertex ID).</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getEdge">getEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L47">src/data-structures/graph/undirected-graph.ts:47</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L47">src/data-structures/graph/undirected-graph.ts:47</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEdgesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Edges<wbr/>Of</span><a href="#getEdgesOf" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -506,7 +506,7 @@ object), <code>null</code>, or <code>VertexId</code> (vertex ID).</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L172">src/data-structures/graph/undirected-graph.ts:172</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L172">src/data-structures/graph/undirected-graph.ts:172</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getEndsOfEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Ends<wbr/>Of<wbr/>Edge</span><a href="#getEndsOfEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -530,7 +530,7 @@ graph and both vertices are found. If the edge does not exist or one or both ver
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getEndsOfEdge">getEndsOfEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L209">src/data-structures/graph/undirected-graph.ts:209</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L209">src/data-structures/graph/undirected-graph.ts:209</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinCostBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Cost<wbr/>Between</span><a href="#getMinCostBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -568,7 +568,7 @@ vertices are not</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getMinCostBetween">getMinCostBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L260">src/data-structures/graph/abstract-graph.ts:260</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMinPathBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Path<wbr/>Between</span><a href="#getMinPathBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -604,7 +604,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getMinPathBetween">getMinPathBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L317">src/data-structures/graph/abstract-graph.ts:317</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getNeighbors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Neighbors</span><a href="#getNeighbors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -626,7 +626,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getNeighbors">getNeighbors</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L186">src/data-structures/graph/undirected-graph.ts:186</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L186">src/data-structures/graph/undirected-graph.ts:186</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPathSumWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Path<wbr/>Sum<wbr/>Weight</span><a href="#getPathSumWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -647,7 +647,7 @@ two vertices (<code>v1</code> and <code>v2</code>). If no path is found, it retu
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getPathSumWeight">getPathSumWeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L238">src/data-structures/graph/abstract-graph.ts:238</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex</span><a href="#getVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -670,7 +670,7 @@ If the vertex is found in the <code>_vertices</code> map, it is returned. Otherw
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getVertex">getVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L72">src/data-structures/graph/abstract-graph.ts:72</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="getVertexId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Vertex<wbr/>Id</span><a href="#getVertexId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -693,7 +693,7 @@ a <code>VertexId</code>.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#getVertexId">getVertexId</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L84">src/data-structures/graph/abstract-graph.ts:84</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeAllVertices" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Vertices</span><a href="#removeAllVertices" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -716,7 +716,7 @@ were removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeAllVertices">removeAllVertices</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L140">src/data-structures/graph/abstract-graph.ts:140</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdge" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Edge</span><a href="#removeEdge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -737,7 +737,7 @@ were removed.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeEdge">removeEdge</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L116">src/data-structures/graph/undirected-graph.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L116">src/data-structures/graph/undirected-graph.ts:116</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="removeEdgeBetween" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Edge<wbr/>Between</span><a href="#removeEdgeBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -764,7 +764,7 @@ vertices does not exist.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Overrides <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeEdgeBetween">removeEdgeBetween</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L90">src/data-structures/graph/undirected-graph.ts:90</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L90">src/data-structures/graph/undirected-graph.ts:90</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeVertex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Vertex</span><a href="#removeVertex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -786,7 +786,7 @@ vertices does not exist.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#removeVertex">removeVertex</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L128">src/data-structures/graph/abstract-graph.ts:128</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="setEdgeWeight" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Edge<wbr/>Weight</span><a href="#setEdgeWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -821,7 +821,7 @@ the weight of the edge and return true. If the edge does not exist, the function
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#setEdgeWeight">setEdgeWeight</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L181">src/data-structures/graph/abstract-graph.ts:181</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="tarjan" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>tarjan</span><a href="#tarjan" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -883,7 +883,7 @@ are arrays of vertices that form cycles within the SCCs.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#tarjan">tarjan</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L794">src/data-structures/graph/abstract-graph.ts:794</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="vertexSet" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>vertex<wbr/>Set</span><a href="#vertexSet" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures tsd-is-inherited">
@ -896,7 +896,7 @@ are arrays of vertices that form cycles within the SCCs.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<p>Inherited from <a href="AbstractGraph.html">AbstractGraph</a>.<a href="AbstractGraph.html#vertexSet">vertexSet</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L102">src/data-structures/graph/abstract-graph.ts:102</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -22,7 +22,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">UndirectedVertex</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L9">src/data-structures/graph/undirected-graph.ts:9</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L9">src/data-structures/graph/undirected-graph.ts:9</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -51,7 +51,7 @@
<h4 class="tsd-returns-title">Returns <a href="UndirectedVertex.html" class="tsd-signature-type tsd-kind-class">UndirectedVertex</a></h4><aside class="tsd-sources">
<p>Overrides <a href="AbstractVertex.html">AbstractVertex</a>.<a href="AbstractVertex.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/undirected-graph.ts#L10">src/data-structures/graph/undirected-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/undirected-graph.ts#L10">src/data-structures/graph/undirected-graph.ts:10</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a>
@ -62,7 +62,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">VertexId</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractVertex.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L16">src/data-structures/graph/abstract-graph.ts:16</a></li></ul></aside></li>
<li class="tsd-signature" id="id.id-2"><span class="tsd-signature-symbol">set</span> id<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
@ -73,7 +73,7 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Inherited from AbstractVertex.id</p>
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/graph/abstract-graph.ts#L20">src/data-structures/graph/abstract-graph.ts:20</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -26,7 +26,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Vector2D</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L5">src/data-structures/matrix/vector2d.ts:5</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L5">src/data-structures/matrix/vector2d.ts:5</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -89,24 +89,24 @@
<h5><span class="tsd-kind-parameter">w</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Vector2D.html" class="tsd-signature-type tsd-kind-class">Vector2D</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L6">src/data-structures/matrix/vector2d.ts:6</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L6">src/data-structures/matrix/vector2d.ts:6</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="w" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>w</span><a href="#w" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L9">src/data-structures/matrix/vector2d.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L9">src/data-structures/matrix/vector2d.ts:9</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="x" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>x</span><a href="#x" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L7">src/data-structures/matrix/vector2d.ts:7</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L7">src/data-structures/matrix/vector2d.ts:7</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="y" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>y</span><a href="#y" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L8">src/data-structures/matrix/vector2d.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L8">src/data-structures/matrix/vector2d.ts:8</a></li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member"><a id="isZero" class="tsd-anchor"></a>
@ -120,7 +120,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L17">src/data-structures/matrix/vector2d.ts:17</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L17">src/data-structures/matrix/vector2d.ts:17</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="length" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -132,7 +132,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L25">src/data-structures/matrix/vector2d.ts:25</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L25">src/data-structures/matrix/vector2d.ts:25</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="lengthSq" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>length<wbr/>Sq</span><a href="#lengthSq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -144,7 +144,7 @@
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L33">src/data-structures/matrix/vector2d.ts:33</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L33">src/data-structures/matrix/vector2d.ts:33</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="rounded" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rounded</span><a href="#rounded" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -157,7 +157,7 @@ whole number.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L42">src/data-structures/matrix/vector2d.ts:42</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L42">src/data-structures/matrix/vector2d.ts:42</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="zero" class="tsd-anchor"></a>
@ -170,7 +170,7 @@ whole number.</p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L307">src/data-structures/matrix/vector2d.ts:307</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L307">src/data-structures/matrix/vector2d.ts:307</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="abs" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>abs</span><a href="#abs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -193,7 +193,7 @@ input vector.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L200">src/data-structures/matrix/vector2d.ts:200</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L200">src/data-structures/matrix/vector2d.ts:200</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="add" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>add</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -222,7 +222,7 @@ vectors added together.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L56">src/data-structures/matrix/vector2d.ts:56</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L56">src/data-structures/matrix/vector2d.ts:56</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="angle" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>angle</span><a href="#angle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -244,7 +244,7 @@ respectively.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L285">src/data-structures/matrix/vector2d.ts:285</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L285">src/data-structures/matrix/vector2d.ts:285</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="distance" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>distance</span><a href="#distance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -273,7 +273,7 @@ the vector in a 2D space.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L241">src/data-structures/matrix/vector2d.ts:241</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L241">src/data-structures/matrix/vector2d.ts:241</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="distanceSq" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>distance<wbr/>Sq</span><a href="#distanceSq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -300,7 +300,7 @@ properties <code>x</code> and <code>y</code> which represent the coordinates of
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L255">src/data-structures/matrix/vector2d.ts:255</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L255">src/data-structures/matrix/vector2d.ts:255</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="divide" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>divide</span><a href="#divide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -327,7 +327,7 @@ vector.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L108">src/data-structures/matrix/vector2d.ts:108</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L108">src/data-structures/matrix/vector2d.ts:108</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="dot" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>dot</span><a href="#dot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -353,7 +353,7 @@ with an x and y component.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L211">src/data-structures/matrix/vector2d.ts:211</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L211">src/data-structures/matrix/vector2d.ts:211</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="equals" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>equals</span><a href="#equals" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -379,7 +379,7 @@ It has two properties: <code>x</code> and <code>y</code>, which represent the x
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L119">src/data-structures/matrix/vector2d.ts:119</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L119">src/data-structures/matrix/vector2d.ts:119</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="equalsRounded" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>equals<wbr/>Rounded</span><a href="#equalsRounded" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -412,7 +412,7 @@ roundingFactor, the vectors are considered equal.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L133">src/data-structures/matrix/vector2d.ts:133</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L133">src/data-structures/matrix/vector2d.ts:133</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="multiply" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>multiply</span><a href="#multiply" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -439,7 +439,7 @@ of the vector will be multiplied.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L96">src/data-structures/matrix/vector2d.ts:96</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L96">src/data-structures/matrix/vector2d.ts:96</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="normalize" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>normalize</span><a href="#normalize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -460,7 +460,7 @@ original vector.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L148">src/data-structures/matrix/vector2d.ts:148</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L148">src/data-structures/matrix/vector2d.ts:148</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="perp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>perp</span><a href="#perp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -480,7 +480,7 @@ original vector.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L178">src/data-structures/matrix/vector2d.ts:178</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L178">src/data-structures/matrix/vector2d.ts:178</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="random" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>random</span><a href="#random" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -506,7 +506,7 @@ random vector.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L298">src/data-structures/matrix/vector2d.ts:298</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L298">src/data-structures/matrix/vector2d.ts:298</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="reverse" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -527,7 +527,7 @@ has two properties: &quot;x&quot; and &quot;y&quot;, which represent the x and y
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L188">src/data-structures/matrix/vector2d.ts:188</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L188">src/data-structures/matrix/vector2d.ts:188</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="sign" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>sign</span><a href="#sign" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -555,7 +555,7 @@ vector2. Both vector1 and vector2 are of type Vector2D.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L270">src/data-structures/matrix/vector2d.ts:270</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L270">src/data-structures/matrix/vector2d.ts:270</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="subtract" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>subtract</span><a href="#subtract" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -585,7 +585,7 @@ vector2.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L71">src/data-structures/matrix/vector2d.ts:71</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L71">src/data-structures/matrix/vector2d.ts:71</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="subtractValue" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>subtract<wbr/>Value</span><a href="#subtractValue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -613,7 +613,7 @@ of the &quot;vector&quot; parameter.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L84">src/data-structures/matrix/vector2d.ts:84</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L84">src/data-structures/matrix/vector2d.ts:84</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="truncate" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>truncate</span><a href="#truncate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
@ -640,7 +640,7 @@ vector is greater than the maximum value specified.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/matrix/vector2d.ts#L165">src/data-structures/matrix/vector2d.ts:165</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/matrix/vector2d.ts#L165">src/data-structures/matrix/vector2d.ts:165</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -16,7 +16,7 @@
<li><a href="CP.html">CP</a></li></ul>
<h1>Enumeration CP</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -34,17 +34,17 @@
<h3 class="tsd-anchor-link"><span>eq</span><a href="#eq" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">eq</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="gt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>gt</span><a href="#gt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">gt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="lt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>lt</span><a href="#lt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">lt</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">-1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/bst.ts#L8">src/data-structures/binary-tree/bst.ts:8</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -16,7 +16,7 @@
<li><a href="FamilyPosition.html">FamilyPosition</a></li></ul>
<h1>Enumeration FamilyPosition</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -34,17 +34,17 @@
<h3 class="tsd-anchor-link"><span>left</span><a href="#left" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">left</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="right" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>right</span><a href="#right" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">right</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="root" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>root</span><a href="#root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">root</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L17">src/data-structures/binary-tree/binary-tree.ts:17</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

View file

@ -16,7 +16,7 @@
<li><a href="LoopType.html">LoopType</a></li></ul>
<h1>Enumeration LoopType</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -33,12 +33,12 @@
<h3 class="tsd-anchor-link"><span>iterative</span><a href="#iterative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">iterative</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside></section>
<section class="tsd-panel tsd-member"><a id="recursive" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>recursive</span><a href="#recursive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-enum-member">recursive</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/22a4e41/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/zrwusa/data-structure-typed/blob/c6e933a/src/data-structures/binary-tree/binary-tree.ts#L19">src/data-structures/binary-tree/binary-tree.ts:19</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">

893
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,13 @@
{
"name": "data-structure-typed",
"version": "0.9.16",
"description": "Hash (CoordinateSet, CoordinateMap) Heap (MaxHeap, MinHeap) Binary Tree (AVL Tree, Binary Indexed Tree, Binary Search Tree, Segment Tree, Tree Multiset) Graph (Directed Graph, Undirected Graph) Linked List (Singly Linked List, Doubly Linked List) Matrix Priority Queue (Max Priority Queue, Min Priority Queue) Queue (Queue, Dequeue) Stack Trie",
"description": "Explore our comprehensive TypeScript Data Structure Library, meticulously crafted to empower developers with a versatile set of essential data structures. Our library includes a wide range of data structures, such as Binary Tree, AVL Tree, Binary Search Tree (BST), Tree Multiset, Segment Tree, Binary Indexed Tree, Graph, Directed Graph, Undirected Graph, Singly Linked List, Hash, CoordinateSet, CoordinateMap, Heap, Doubly Linked List, Priority Queue, Max Priority Queue, Min Priority Queue, Queue, ObjectDeque, ArrayDeque, Stack, and Trie. Each data structure is thoughtfully designed and implemented using TypeScript to provide efficient, reliable, and easy-to-use solutions for your programming needs. Whether you're optimizing algorithms, managing data, or enhancing performance, our TypeScript Data Structure Library is your go-to resource. Elevate your coding experience with these fundamental building blocks for software development.",
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && npx tsc",
"test": "jest",
"build:docs": "typedoc --out docs ./src"
"build:docs": "typedoc --out docs ./src",
"deps:check": "dependency-cruiser src"
},
"repository": {
"type": "git",
@ -48,6 +49,7 @@
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.197",
"@types/node": "^20.4.9",
"dependency-cruiser": "^13.1.2",
"jest": "^29.6.2",
"ts-jest": "^29.1.1",
"typedoc": "^0.24.8",

View file

@ -2,7 +2,6 @@
* @copyright 2030 Tyler Zeng <zrwusa@gmail.com>
* @license MIT
*/
import type {TMapFunction, TTestFunction} from '../types';
/**
* The class which represents one link or node in a linked list
@ -177,7 +176,11 @@ export class SinglyLinkedList<NodeData = any> {
* ```
* @param f A function to be applied to the val of each node
*/
public findNodeIndex(f: TTestFunction<NodeData>): ({
public findNodeIndex(f: (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean): ({
node: SinglyLinkedListNode<NodeData>,
index: number,
}) | undefined {
@ -205,7 +208,11 @@ export class SinglyLinkedList<NodeData = any> {
* ```
* @param f Function to test val against
*/
public findNode(f: TTestFunction<NodeData>): SinglyLinkedListNode<NodeData> | undefined {
public findNode(f: (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean): SinglyLinkedListNode<NodeData> | undefined {
const nodeIndex = this.findNodeIndex(f);
return nodeIndex !== undefined ? nodeIndex.node : undefined;
}
@ -218,7 +225,11 @@ export class SinglyLinkedList<NodeData = any> {
* ```
* @param f Function to test val against
*/
public find(f: TTestFunction<NodeData>): NodeData | undefined {
public find(f: (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean): NodeData | undefined {
const nodeIndex = this.findNodeIndex(f);
return nodeIndex !== undefined ? nodeIndex.node.val : undefined;
}
@ -231,7 +242,11 @@ export class SinglyLinkedList<NodeData = any> {
* ```
* @param f Function to test val against
*/
public findIndex(f: TTestFunction<NodeData>): number {
public findIndex(f: (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean): number {
const nodeIndex = this.findNodeIndex(f);
return nodeIndex !== undefined ? nodeIndex.index : -1;
}
@ -605,7 +620,11 @@ export class SinglyLinkedList<NodeData = any> {
* @param f Function to execute for each element, taking up to three arguments.
* @param reverse Indicates if the list should be walked in reverse order, default is false
*/
public forEach(f: TMapFunction<NodeData>, reverse = false): void {
public forEach(f: (
data: any,
index: number,
list: SinglyLinkedList<NodeData>,
) => any, reverse = false): void {
let currentIndex = reverse ? this.length - 1 : 0;
let currentNode = reverse ? this.tail : this.head;
const modifier = reverse ? -1 : 1;
@ -627,7 +646,11 @@ export class SinglyLinkedList<NodeData = any> {
* @param reverse Indicates if the list should be mapped in reverse order, default is false
*/
// eslint-disable-next-line @typescript-eslint/ban-types
public map(f: TMapFunction<NodeData>, reverse = false): SinglyLinkedList<NodeData | {}> {
public map(f: (
data: any,
index: number,
list: SinglyLinkedList<NodeData>,
) => any, reverse = false): SinglyLinkedList<NodeData | {}> {
const list = new SinglyLinkedList();
this.forEach((val, index) => list.append(f(val, index, this)), reverse);
return list;
@ -643,7 +666,11 @@ export class SinglyLinkedList<NodeData = any> {
* @param reverse Indicates if the list should be filtered in reverse order, default is false
*/
// eslint-disable-next-line @typescript-eslint/ban-types
public filter(f: TTestFunction<NodeData>, reverse = false): SinglyLinkedList<NodeData | {}> {
public filter(f: (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean, reverse = false): SinglyLinkedList<NodeData | {}> {
const list = new SinglyLinkedList();
this.forEach((val, index) => {
if (f(val, index, this)) {

View file

@ -1,15 +1 @@
import {SinglyLinkedList} from '../linked-list';
/** Type used for filter and find methods, returning a boolean */
export type TTestFunction<NodeData> = (
data: NodeData,
index: number,
list: SinglyLinkedList<NodeData>,
) => boolean;
/** Type used for map and forEach methods, returning anything */
export type TMapFunction<NodeData> = (
data: any,
index: number,
list: SinglyLinkedList<NodeData>,
) => any;
export {}