Skip to content

Commit

Permalink
Merge pull request #3564 from JuliaReach/schillic/Universe
Browse files Browse the repository at this point in the history
Outsource `Universe` to its own module
  • Loading branch information
schillic authored Jul 10, 2024
2 parents 9ee4820 + 14c8aa5 commit f5d3391
Show file tree
Hide file tree
Showing 34 changed files with 490 additions and 473 deletions.
8 changes: 6 additions & 2 deletions docs/src/lib/sets/Universe.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
```@meta
CurrentModule = LazySets
CurrentModule = LazySets.UniverseModule
```

# [Universe](@id def_Universe)

```@docs
Universe
```

## Operations

```@docs
dim(::Universe)
ρ(::AbstractVector, ::Universe)
σ(::AbstractVector, ::Universe)
Expand All @@ -25,6 +30,5 @@ translate(::Universe, ::AbstractVector)
translate!(::Universe, ::AbstractVector)
permute(::Universe, ::AbstractVector{Int})
complement(::Universe{N}) where {N}
polyhedron(::Universe)
reflect(::Universe)
```
1 change: 0 additions & 1 deletion src/Initialization/init_Polyhedra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@ end
eval(load_polyhedra_hpolytope())
eval(load_polyhedra_hpolyhedron())
eval(load_polyhedra_vpolytope())
eval(load_polyhedra_universe())
eval(load_polyhedra_mesh())
eval(load_polyhedra_lazyset())
3 changes: 2 additions & 1 deletion src/LazySets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ include("Interfaces/AbstractBallp.jl")
# =============================
# Types representing basic sets
# =============================
include("Sets/Universe.jl")
include("Sets/Universe/UniverseModule.jl")
@reexport using ..UniverseModule: Universe

include("Sets/EmptySet/EmptySetModule.jl")
@reexport using ..EmptySetModule: EmptySet, ∅, _isdisjoint_emptyset
Expand Down
Loading

0 comments on commit f5d3391

Please sign in to comment.