Trait nyx_space::md::EventEvaluator [−][src]
pub trait EventEvaluator<S: State>: Display + Send + Sync where
DefaultAllocator: Allocator<f64, S::Size> + Allocator<f64, S::Size, S::Size> + Allocator<f64, S::VecLength>, {
fn eval(&self, state: &S) -> f64;
fn epoch_precision(&self) -> Duration;
fn value_precision(&self) -> f64;
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool { ... }
}Expand description
A trait to specify how a specific event must be evaluated.