@@ -12,7 +12,6 @@ using ..ReachabilityAnalysis: IDGenerator, synchronize!, fresh!
1212using LinearAlgebra: I, norm
1313
1414export CorrectionHullMatrixZonotope
15- export ExactSum
1615export overapproximate_continuous_input
1716export overapproximate_discrete_input
1817export overapproximate_discrete_input_split
@@ -25,22 +24,6 @@ const LPDS = LinearParametricDiscreteSystem
2524const CLCPCS = ConstrainedLinearControlParametricContinuousSystem
2625const CLCPDS = ConstrainedLinearControlParametricDiscreteSystem
2726
28- # TODO : move to LazySets
29- struct ExactSum{N,S1<: LazySet{N} ,S2<: LazySet{N} } <: LazySet{N}
30- X:: S1
31- Y:: S2
32-
33- # default constructor with dimension check
34- function ExactSum (X:: LazySet{N} , Y:: LazySet{N} ) where {N}
35- @assert dim (X) == dim (Y) " sets in a exact sum must have the same dimension"
36- return new {N,typeof(X),typeof(Y)} (X, Y)
37- end
38- end
39-
40- function concretize (ES:: ExactSum )
41- exact_sum (ES. X, ES. Y)
42- end
43-
4427@inline function _split_emz_overapproximation (MZP,
4528 P:: S ,
4629 k:: Int ,
@@ -197,7 +180,7 @@ function discretize(ivp::IVP{<:CLCPCS,<:SparsePolynomialZonotope}, δ,
197180 A_norm = norm (A, Inf )
198181 Pτ0 = overapproximate_continuous_input (A, B, T, U, idg, taylor_order, A_norm; Δt= δ)
199182
200- Ω0 = ExactSum (H0, Pτ0)
183+ Ω0 = H0 ⊞ Pτ0
201184 Sdis = CLCPDS (A, B, ivp. s. X, ivp. s. U)
202185 return InitialValueProblem (Sdis, Ω0)
203186end
0 commit comments