LIRRA  1.0.0
Loading...
Searching...
No Matches
rl_stl.stl.specs Namespace Reference

Classes

class  ReachAvoidTrackScenario
 

Functions

np.ndarray _axis (int d, int index, float sign)
 
STLFormula inside_box (Box box, int ix, int iy, int d, str name)
 
STLFormula outside_box (Box box, int ix, int iy, int d, str name)
 

Variables

 Box = tuple[float, float, float, float]
 

Detailed Description

STL specifications built with ``stlpy``.

Predicates are written with unit-norm axis-aligned normals so that robustness is
directly in metres (or m/s) and is 1-Lipschitz with respect to the sup-norm of
the corresponding signal component. This is used when converting a signal
deviation bound into a robustness margin.

Function Documentation

◆ _axis()

np.ndarray rl_stl.stl.specs._axis ( int  d,
int  index,
float  sign 
)
protected

◆ inside_box()

STLFormula rl_stl.stl.specs.inside_box ( Box  box,
int  ix,
int  iy,
int  d,
str  name 
)
Conjunction of four half-planes; robustness = signed distance-like margin.

◆ outside_box()

STLFormula rl_stl.stl.specs.outside_box ( Box  box,
int  ix,
int  iy,
int  d,
str  name 
)
Disjunction of four half-planes (outside an axis-aligned rectangle).

Variable Documentation

◆ Box

rl_stl.stl.specs.Box = tuple[float, float, float, float]