MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / process_proposal

Function process_proposal

src/greedy/stable_matching.rs:41–76  ·  view source on GitHub ↗
(
    man: &str,
    free_men: &mut VecDeque<String>,
    current_partner: &mut HashMap<String, Option<String>>,
    man_engaged: &mut HashMap<String, Option<String>>,
    next_proposal: &mut HashMap<

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

stable_matchingFunction · 0.85

Calls 3

woman_prefers_new_manFunction · 0.85
engage_manFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected