Trait qmc::sse::qmc_traits::MutateArgs[][src]

pub trait MutateArgs {
    type SubvarIndex: Into<usize> + From<usize>;
    fn n_subvars(&self) -> usize;
fn subvar_to_var(&self, index: Self::SubvarIndex) -> usize;
fn var_to_subvar(&self, var: usize) -> Option<Self::SubvarIndex>; }
Expand description

Args required to mutate, allows flexibility of implementations.

Associated Types

Type for subvar indices, helps distinguish from variables.

Required methods

Number of subvars.

Map subvars to variables.

Map variables to subvars.

Implementors