Skip to content

BinaryHeap.BinaryArrayTree

Defined in binary-heap@0.1.1

Values

namespace BinaryHeap.BinaryArrayTree::BinaryArrayTree

child_idx_l

Type: Std::I64 -> Std::I64

Get the index of the left child

child_idx_r

Type: Std::I64 -> Std::I64

Get the index of the right child

parent_idx_uncheck

Type: Std::I64 -> Std::I64

Get the index of the parent This function does not check if the index is valid.

Types and aliases

namespace BinaryHeap.BinaryArrayTree

BinaryArrayTree

Defined as: type BinaryArrayTree e = Std::Array e

The tree is stored in a vector.

Traits and aliases

Trait implementations