[−][src]Struct qmc::sse::simple_ops::SimpleOpLooper
A simple implementation of the linked list op container for loop updates.
Trait Implementations
impl ClusterUpdater for SimpleOpLooper
[src]
fn flip_each_cluster_rng<R: Rng>(
&mut self,
prob: f64,
rng: &mut R,
state: &mut [bool]
)
[src]
&mut self,
prob: f64,
rng: &mut R,
state: &mut [bool]
)
fn find_constant_op(&self) -> Option<usize>
[src]
fn get_frontier_alloc(&mut self) -> Vec<(usize, OpSide)>
[src]
fn get_interior_frontier_alloc(&mut self) -> Vec<(usize, (usize, OpSide))>
[src]
fn get_boundaries_alloc(
&mut self,
size: usize
) -> Vec<(Option<usize>, Option<usize>)>
[src]
&mut self,
size: usize
) -> Vec<(Option<usize>, Option<usize>)>
fn get_flip_alloc(&mut self) -> Vec<bool>
[src]
fn return_frontier_alloc(&mut self, _frontier: Vec<(usize, OpSide)>)
[src]
fn return_interior_frontier_alloc(
&mut self,
_interior_frontier: Vec<(usize, (usize, OpSide))>
)
[src]
&mut self,
_interior_frontier: Vec<(usize, (usize, OpSide))>
)
fn return_boundaries_alloc(
&mut self,
_boundaries: Vec<(Option<usize>, Option<usize>)>
)
[src]
&mut self,
_boundaries: Vec<(Option<usize>, Option<usize>)>
)
fn return_flip_alloc(&mut self, _flips: Vec<bool>)
[src]
fn post_cluster_update_hook(&mut self)
[src]
impl Debug for SimpleOpLooper
[src]
impl Into<SimpleOpDiagonal> for SimpleOpLooper
[src]
fn into(self) -> SimpleOpDiagonal
[src]
impl Into<SimpleOpLooper> for SimpleOpDiagonal
[src]
fn into(self) -> SimpleOpLooper
[src]
impl LoopUpdater for SimpleOpLooper
[src]
type Node = SimpleOpNode
The type used to contain the Op and handle movement around the worldlines.
fn get_node_ref(&self, p: usize) -> Option<&SimpleOpNode>
[src]
fn get_node_mut(&mut self, p: usize) -> Option<&mut SimpleOpNode>
[src]
fn get_first_p(&self) -> Option<usize>
[src]
fn get_last_p(&self) -> Option<usize>
[src]
fn get_first_p_for_var(&self, var: usize) -> Option<usize>
[src]
fn get_last_p_for_var(&self, var: usize) -> Option<usize>
[src]
fn get_previous_p(&self, node: &SimpleOpNode) -> Option<usize>
[src]
fn get_next_p(&self, node: &SimpleOpNode) -> Option<usize>
[src]
fn get_previous_p_for_rel_var(
&self,
revar: usize,
node: &SimpleOpNode
) -> Option<usize>
[src]
&self,
revar: usize,
node: &SimpleOpNode
) -> Option<usize>
fn get_next_p_for_rel_var(
&self,
revar: usize,
node: &SimpleOpNode
) -> Option<usize>
[src]
&self,
revar: usize,
node: &SimpleOpNode
) -> Option<usize>
fn get_nth_p(&self, n: usize) -> usize
[src]
fn get_previous_p_for_var(
&self,
var: usize,
node: &Self::Node
) -> Result<Option<usize>, ()>
[src]
&self,
var: usize,
node: &Self::Node
) -> Result<Option<usize>, ()>
fn get_next_p_for_var(
&self,
var: usize,
node: &Self::Node
) -> Result<Option<usize>, ()>
[src]
&self,
var: usize,
node: &Self::Node
) -> Result<Option<usize>, ()>
fn does_var_have_ops(&self, var: usize) -> bool
[src]
fn make_loop_update<H>(
&mut self,
initial_n: Option<usize>,
hamiltonian: H,
state: &mut [bool]
) where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
[src]
&mut self,
initial_n: Option<usize>,
hamiltonian: H,
state: &mut [bool]
) where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
fn make_loop_update_with_rng<H, R: Rng>(
&mut self,
initial_n: Option<usize>,
hamiltonian: H,
state: &mut [bool],
rng: &mut R
) where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
[src]
&mut self,
initial_n: Option<usize>,
hamiltonian: H,
state: &mut [bool],
rng: &mut R
) where
H: Fn(&[usize], usize, &[bool], &[bool]) -> f64,
fn get_leg_weight_alloc(&mut self) -> Vec<((usize, OpSide), f64)>
[src]
fn return_leg_weight_alloc(&mut self, _alloc: Vec<((usize, OpSide), f64)>)
[src]
fn post_loop_update_hook(&mut self)
[src]
impl OpContainer for SimpleOpLooper
[src]
Auto Trait Implementations
impl RefUnwindSafe for SimpleOpLooper
impl Send for SimpleOpLooper
impl Sync for SimpleOpLooper
impl Unpin for SimpleOpLooper
impl UnwindSafe for SimpleOpLooper
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,