Comments (3)
Proposal (I am open for different names):
ZeroSet, Singleton <: SingleSet # provide: element(dim), element
HPolygon, HPolygonOpt <: HPolygonal # common: many methods
HPolygonal, VPolygon <: Polygonal # provide: tovrep, tohrep; inherit: dim
SingleSet, BallInf, Hyperrectangle <: Box # provide: radius_b(dim), radius_b
Ball, Box, Zonotope <: PointSymmetric <: LazySet # provide: center; inherit: dim
Ball1, Box, Polygonal, Zonotope <: Polytopic <: LazySet # provide: vertices_list
[SingleSet, Ball1, Ball2, Ballp, BallInf <: Ball] -- removed for simplicity
radius_b
should not be confused with the existing radius
for general LazySet
s.
from lazysets.jl.
Another possible extension is to have implementations for "centered in the origin" sets such as a Hyperrectangle0
. These are more efficient to store and process (no center
).
If we want this, we should introduce another layer of abstract types for each concrete type. Then we can provide different implementations for the same concepts. We already have this for HPolygon
and HPolygonOpt
.
We do not have to implement such sets right away, but with these changes this will be straight-forward to integrate them later.
from lazysets.jl.
Noooo, Julia does not support multiple supertypes (yet).
One can simulate multiple (abstract) supertypes with artificial combination types of course. Maybe I will just do that... 😈
from lazysets.jl.
Related Issues (20)
- Add docs page about paraview output
- Problems when using minkowski_sum by parallel computation (Threads.@threads) HOT 8
- convert from Zonotope to VPolytope fails due to inconsistent argument name
- Support vector of Polygon HOT 2
- Use and document fast vertices_list for 2D zonotopes
- Caching the JuMP model in linprog HOT 9
- Update "How to cite" in manual
- Template polyhedron (TPolyhedron)
- vertices_list returns Float64 type for Float32 type input
- Containment check in a LinearMap can fail with SingularException
- Inclusion check of flat zonotope in equivalent line segment fails HOT 1
- convex_hull of two 1D points modifies points in-place
- Inclusion of zonotope without generators in polyhedron
- Faster extrema of HPolytope/HPolyhedron in 1D
- Unify switching logic for solvers
- Fix piracies
- Fix unbound args
- Convex hull algorithm in 2D sensitive to numeric precision HOT 1
- Convex hull algorithm from Polyhedra.jl produces invalid constraints HOT 2
- Plot recipe for lazy operations of unions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazysets.jl.