pub struct Location(String);Expand description
Location of a threshold automaton
A location is a state in the threshold automaton template.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<T> IntoNoDivBooleanExpr<T> for Location
impl<T> IntoNoDivBooleanExpr<T> for Location
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<Location> for GeneralThresholdAutomaton
impl IsDeclared<Location> for GeneralThresholdAutomaton
Source§fn is_declared(&self, loc: &Location) -> bool
fn is_declared(&self, loc: &Location) -> bool
Check if object of type T is declared
Source§impl IsDeclared<Location> for InitializedGeneralThresholdAutomatonBuilder
impl IsDeclared<Location> for InitializedGeneralThresholdAutomatonBuilder
Source§fn is_declared(&self, loc: &Location) -> bool
fn is_declared(&self, loc: &Location) -> bool
Check if object of type T is declared
Source§impl IsDeclared<Location> for LIAThresholdAutomaton
impl IsDeclared<Location> for LIAThresholdAutomaton
Source§fn is_declared(&self, obj: &Location) -> bool
fn is_declared(&self, obj: &Location) -> bool
Check if object of type T is declared
Source§impl Ord for Location
impl Ord for Location
Source§impl PartialOrd for Location
impl PartialOrd for Location
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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