Struct net_ensembles::sampling::RewlWalker [−][src]
pub struct RewlWalker<R, Hist, Energy, S, Res> { /* fields omitted */ }
Expand description
Walker for Replica exchange Wang Landau
- used by
Rewl
- performes the random walk in its respective domain
Implementations
Returns id of walker
- important for mapping the ensemble to the walker
Returns current energy
Returns current energy
Current (logarithm of) factor f
- See the paper for more info
fraction of how many replica exchanges were accepted and how many were proposed
Current non normalized estimate of the natural logarithm of the probability density function
impl<R, Hist, Energy, S, Res> RewlWalker<R, Hist, Energy, S, Res> where
R: Rng + Send + Sync,
S: Send + Sync,
Res: Send + Sync,
Hist: Histogram + HistogramVal<Energy>,
Energy: Send + Sync,
RewlWalker<R, Hist, Energy, S, Res>: Send,
RewlWalker<R, Hist, Energy, S, Res>: Sync,
impl<R, Hist, Energy, S, Res> RewlWalker<R, Hist, Energy, S, Res> where
R: Rng + Send + Sync,
S: Send + Sync,
Res: Send + Sync,
Hist: Histogram + HistogramVal<Energy>,
Energy: Send + Sync,
RewlWalker<R, Hist, Energy, S, Res>: Send,
RewlWalker<R, Hist, Energy, S, Res>: Sync,
Current estimate of log10 of probability density
- normalized (sum over non log values is 1 (within numerical precision))
Trait Implementations
impl<'de, R, Hist, Energy, S, Res> Deserialize<'de> for RewlWalker<R, Hist, Energy, S, Res> where
R: Deserialize<'de>,
S: Deserialize<'de>,
Hist: Deserialize<'de>,
Energy: Deserialize<'de>,
impl<'de, R, Hist, Energy, S, Res> Deserialize<'de> for RewlWalker<R, Hist, Energy, S, Res> where
R: Deserialize<'de>,
S: Deserialize<'de>,
Hist: Deserialize<'de>,
Energy: Deserialize<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RewlWalker<R, Hist, Energy, S, Res>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RewlWalker<R, Hist, Energy, S, Res>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<R, Hist, Energy, S, Res> From<RewlWalker<R, Hist, Energy, S, Res>> for ReesWalker<R, Hist, Energy, S, Res> where
Hist: Histogram,
impl<R, Hist, Energy, S, Res> From<RewlWalker<R, Hist, Energy, S, Res>> for ReesWalker<R, Hist, Energy, S, Res> where
Hist: Histogram,
pub fn from(
rewl_walker: RewlWalker<R, Hist, Energy, S, Res>
) -> ReesWalker<R, Hist, Energy, S, Res>
pub fn from(
rewl_walker: RewlWalker<R, Hist, Energy, S, Res>
) -> ReesWalker<R, Hist, Energy, S, Res>
Performs the conversion.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl<R, Hist, Energy, S, Res> RefUnwindSafe for RewlWalker<R, Hist, Energy, S, Res> where
Energy: RefUnwindSafe,
Hist: RefUnwindSafe,
R: RefUnwindSafe,
Res: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, Hist, Energy, S, Res> Send for RewlWalker<R, Hist, Energy, S, Res> where
Energy: Send,
Hist: Send,
R: Send,
Res: Send,
S: Send,
impl<R, Hist, Energy, S, Res> Sync for RewlWalker<R, Hist, Energy, S, Res> where
Energy: Sync,
Hist: Sync,
R: Sync,
Res: Sync,
S: Sync,
impl<R, Hist, Energy, S, Res> Unpin for RewlWalker<R, Hist, Energy, S, Res> where
Energy: Unpin,
Hist: Unpin,
R: Unpin,
Res: Unpin,
S: Unpin,
impl<R, Hist, Energy, S, Res> UnwindSafe for RewlWalker<R, Hist, Energy, S, Res> where
Energy: UnwindSafe,
Hist: UnwindSafe,
R: UnwindSafe,
Res: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more