Skip to main content

set_heuristic_responses

Function set_heuristic_responses 

Source
pub fn set_heuristic_responses(responses: Vec<usize>)
Expand description

Sets the 1-based answers consumed by the interactive heuristic (i).

When provided (e.g. via --responses), these are used instead of prompting on stdin. Values must be in 1..=n for a decision with n options, matching Conjure.