[−][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 post_cluster_update_hook(&mut self)
[src]
impl Debug for SimpleOpLooper
[src]
impl Factory<Vec<(usize, OpSide)>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<(usize, OpSide)>
[src]
fn return_instance(&mut self, _t: Vec<(usize, OpSide)>)
[src]
impl Factory<Vec<OpSide>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<OpSide>
[src]
fn return_instance(&mut self, _t: Vec<OpSide>)
[src]
impl Factory<Vec<Option<usize>>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<Option<usize>>
[src]
fn return_instance(&mut self, _t: Vec<Option<usize>>)
[src]
impl Factory<Vec<bool>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<bool>
[src]
fn return_instance(&mut self, _t: Vec<bool>)
[src]
impl Factory<Vec<f64>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<f64>
[src]
fn return_instance(&mut self, _t: Vec<f64>)
[src]
impl Factory<Vec<usize>> for SimpleOpLooper
[src]
fn get_instance(&mut self) -> Vec<usize>
[src]
fn return_instance(&mut self, _t: Vec<usize>)
[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 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>,