JuliaReach / SpaceExParser.jl

Parser for the SpaceEx modeling language in Julia
https://juliareach.github.io/SpaceExParser.jl/
MIT License
7 stars 1 forks source link

More efficient set representations #21

Open schillic opened 6 years ago

schillic commented 6 years ago

(This is a long-term nice-to-have thing.)

Instead of an intersection of HalfSpaces we can often create more efficient set representations, like Hyperrectangles.

In particular, since we add the affine term via a CartesianProduct with a Singleton([1]) to each set in U, one should detect this pattern and simplify (S * H1) ∩ (S * H2) = S * (H1 ∩ H2) = S * Box.