cpsim.formal package
Submodules
cpsim.formal.gaussian_distribution module
cpsim.formal.half_space module
cpsim.formal.hyperplane module
cpsim.formal.reachability module
- class cpsim.formal.reachability.ReachableSet(A, B, U: Zonotope, W: GaussianDistribution, max_step=50)[source]
Bases:
objectget the Reachable set + Distribution A, B - from discrete-time system
- distribution(vertex: [<class 'numpy.ndarray'>, <class 'cpsim.formal.gaussian_distribution.GaussianDistribution'>], k: int)[source]
- init(x_0: GaussianDistribution, s: Strip)[source]
- plot(X_k: Zonotope, D_k: GaussianDistribution, alpha, fig_setting)[source]
- state_reconstruction(us) GaussianDistribution[source]
cpsim.formal.strip module
cpsim.formal.zonotope module
- class cpsim.formal.zonotope.Zonotope(c: ndarray, g: ndarray)[source]
Bases:
objectZonotope. parameters:
c: center g: [g_0, g_1, …] generators
- classmethod from_box(lo: ndarray, up: ndarray)[source]
initiate a zonotope from box lo: lower bound of the box up: upper bound of the box
- point_closest_to_hyperplane(hp: Hyperplane)[source]