pub struct Variable(String);Expand description
Shared variable used in a threshold automaton
Transitions in a threshold automaton can be guarded with constraints over a shared variable valuation and can be updated when taking a transition.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<T> IntoNoDivBooleanExpr<T> for Variable
impl<T> IntoNoDivBooleanExpr<T> for Variable
Source§fn get_scaled_integer_expression(
&self,
scaling_factor: u32,
) -> IntegerExpression<T>
fn get_scaled_integer_expression( &self, scaling_factor: u32, ) -> IntegerExpression<T>
Encode the object into an
IntegerExpression without divisions
appearing Read moreSource§fn get_lcm_of_denominators(&self) -> u32
fn get_lcm_of_denominators(&self) -> u32
Get the lcm across all denominators in the object Read more
Source§fn encode_comparison_to_boolean_expression<Q>(
&self,
comparison_op: ComparisonOp,
other: &Q,
) -> BooleanExpression<T>where
Q: IntoNoDivBooleanExpr<T>,
fn encode_comparison_to_boolean_expression<Q>(
&self,
comparison_op: ComparisonOp,
other: &Q,
) -> BooleanExpression<T>where
Q: IntoNoDivBooleanExpr<T>,
Encode the comparison of two expressions into a boolean expression with a
that does not contain any real numbers. Read more
Source§impl IsDeclared<Variable> for GeneralThresholdAutomaton
impl IsDeclared<Variable> for GeneralThresholdAutomaton
Source§fn is_declared(&self, var: &Variable) -> bool
fn is_declared(&self, var: &Variable) -> bool
Check if object of type T is declared
Source§impl IsDeclared<Variable> for InitializedGeneralThresholdAutomatonBuilder
impl IsDeclared<Variable> for InitializedGeneralThresholdAutomatonBuilder
Source§fn is_declared(&self, var: &Variable) -> bool
fn is_declared(&self, var: &Variable) -> bool
Check if object of type T is declared
Source§impl IsDeclared<Variable> for LIAThresholdAutomaton
impl IsDeclared<Variable> for LIAThresholdAutomaton
Source§fn is_declared(&self, obj: &Variable) -> bool
fn is_declared(&self, obj: &Variable) -> bool
Check if object of type T is declared
Source§impl Ord for Variable
impl Ord for Variable
Source§impl PartialOrd for Variable
impl PartialOrd for Variable
impl Eq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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