Struct sim::models::exclusive_gateway::ExclusiveGateway
source · pub struct ExclusiveGateway { /* private fields */ }
Expand description
The exclusive gateway splits a process flow into a set of possible paths. The process will only follow one of the possible paths. Path selection is determined by Weighted Index distribution random variates, so this atomic model exhibits stochastic behavior. The exclusive gateway is a BPMN concept.
Implementations§
source§impl ExclusiveGateway
impl ExclusiveGateway
pub fn from_value(value: Value) -> Option<Box<dyn ReportableModel>>
Trait Implementations§
source§impl Clone for ExclusiveGateway
impl Clone for ExclusiveGateway
source§fn clone(&self) -> ExclusiveGateway
fn clone(&self) -> ExclusiveGateway
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExclusiveGateway
impl Debug for ExclusiveGateway
source§impl<'de> Deserialize<'de> for ExclusiveGateway
impl<'de> Deserialize<'de> for ExclusiveGateway
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl DevsModel for ExclusiveGateway
impl DevsModel for ExclusiveGateway
fn events_ext( &mut self, incoming_message: &ModelMessage, services: &mut Services ) -> Result<(), SimulationError>
fn events_int( &mut self, services: &mut Services ) -> Result<Vec<ModelMessage>, SimulationError>
fn time_advance(&mut self, time_delta: f64)
fn until_next_event(&self) -> f64
source§impl Reportable for ExclusiveGateway
impl Reportable for ExclusiveGateway
source§impl SerializableModel for ExclusiveGateway
impl SerializableModel for ExclusiveGateway
source§impl Serialize for ExclusiveGateway
impl Serialize for ExclusiveGateway
impl ReportableModel for ExclusiveGateway
Auto Trait Implementations§
impl !RefUnwindSafe for ExclusiveGateway
impl !Send for ExclusiveGateway
impl !Sync for ExclusiveGateway
impl Unpin for ExclusiveGateway
impl !UnwindSafe for ExclusiveGateway
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more