[][src]Function qmc::sse::qmc_traits::cluster::is_valid_cluster_edge

pub fn is_valid_cluster_edge(is_constant: bool, nvars: usize) -> bool

Valid cluster edges are constant and have a single variable, in the future we can rewrite the cluster logic to handle multi-spin cluster edges but that requires some fancy boundary logic.