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

Function engage_man

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

process_proposalFunction · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected