MCPcopy Create free account
hub / github.com/douchuan/algorithm / BuildTournamentTree

Interface BuildTournamentTree

src/tree/binary/builder/tournament.rs:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use std::ptr::NonNull;
7
8pub trait BuildTournamentTree<K, V> {
9 fn build_tournament_tree(data: &[K]) -> Tree<K, V>;
10 fn tournament_tree_pop(tree: &mut Tree<K, V>) -> Option<K>;
11}
12
13impl<K, V> BuildTournamentTree<K, V> for TreeBuilder
14where

Callers

nothing calls this directly

Implementers 1

tournament.rssrc/tree/binary/builder/tournament.rs

Calls

no outgoing calls

Tested by

no test coverage detected