pub fn compute_strategy(
n: usize,
p: u64,
q: u64,
) -> Result<Vec<usize>, &'static str>Expand description
Computing optimised strategy (ref compute_strategy, Algorithm 46 p. 75).
- Input: strategy size
n, parametersp,q - Output: optimal strategy of size
n
ยงExamples
use rust_sike::compute_strategy;
let strat = compute_strategy(12, 13, 14);
println!("{:?}", strat);