Docs.rs
pathfinding-4.2.1
pathfinding 4.2.1
Docs.rs crate page
Apache-2.0
/
MIT
Links
Homepage
Repository
crates.io
Source
Owners
samueltardieu
Dependencies
fixedbitset ^0.4.2
normal
indexmap ^1.9.2
normal
integer-sqrt ^0.1.5
normal
num-traits ^0.2.15
normal
rustc-hash ^1.1.0
normal
thiserror ^1.0.38
normal
criterion ^0.4.0
dev
itertools ^0.10.5
dev
lazy_static ^1.4.0
dev
movingai ^1.3.0
dev
noisy_float ^0.2.0
dev
rand ^0.8.5
dev
rand_xorshift ^0.3.0
dev
regex ^1.7.1
dev
trybuild ^1.0.76
dev
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Module cycle_detection
Functions
?
Module
pathfinding
::
cycle_detection
source
·
[
−
]
Expand description
Identify a cycle in an infinite sequence.
Functions
brent
Identify a cycle in an infinite sequence using Brent’s algorithm. Return the cycle size, the first element, and the index of first element.
floyd
Identify a cycle in an infinite sequence using Floyd’s algorithm. Return the cycle size, the first element, and the index of first element.