[−][src]Trait qmc::sse::semi_classical::EdgeNavigator
A struct which allows navigation around the variables in a model.
Required methods
fn bonds_for_var(&self, var: usize) -> &[usize]
Get the bonds attached to this variable.
fn vars_for_bond(&self, bond: usize) -> (usize, usize)
Get the variables associated with this bond.
fn bond_prefers_aligned(&self, bond: usize) -> bool
Does the bond prefer aligned variables or antialigned.
Provided methods
fn other_var_for_bond(&self, var: usize, bond: usize) -> Option<usize>
Get the other variable attached by a bond