Skip to main content

decide

Function decide 

Source
async fn decide(
    services: &Services,
    census: &Census,
    candidate: u64,
) -> Result<Option<(Action, Vec<Write>)>>
Expand description

What the repair writes for one candidate, decided before it writes.

A candidate whose rows do not classify, or whose move a destination refuses, gets no writes. Each decision follows the writes of the candidates before it.