Comments (7)
I reviewed and found these places:
ExponentialMap.jl: mutable struct SparseMatrixExp
ExponentialMap.jl: mutable struct ExponentialMap <: LazySet
ExponentialMap.jl: mutable struct ProjectionSparseMatrixExp
ExponentialMap.jl: mutable struct ExponentialProjectionMap <: LazySet
CartesianProduct.jl: mutable struct CartesianProductArray <: LazySet
MinkowskiSum.jl: mutable struct MinkowskiSumArray <: LazySet
Polygon.jl: mutable struct HPolygon <: LazySet
Polygon.jl: mutable struct HPolygonOpt <: LazySet
Polygon.jl: mutable struct VPolygon <: LazySet
Polyhedron.jl: mutable struct Polyhedron <: LazySet
Most of the types just wrap an array.
If we remove the mutable
, we may still modify the array; we are only not allowed to assign a new array anymore, which I think is fine (more docs here).
I expect that in Polyhedron.jl
the dimension dim
should not change.
The only place where I am not confident that the change is save is in HPolygonOpt.jl
:
Do we want to be able to modify the field ind
?
One more thing: We have one occurrence of type
, which should probably also become a struct
:
LinearMap.jl: type LinearMap <: LazySet
from lazysets.jl.
If we remove the mutable, we may still modify the array; we are only not allowed to assign a new array anymore, which I think is fine (more docs here).
good point, let's do that.
I expect that in Polyhedron.jl the dimension dim should not change.
yes. we wanted dim
to be the ambient dimension, i.e. even this is square patch in 3d-space
The only place where I am not confident that the change is save is in HPolygonOpt.jl: Do we want to be able to modify the field ind?
yes, i think that ind
should be modified because it is updated at each iteration. @viryfrederic do you agree?
One more thing: We have one occurrence of type, which should probably also become a struct:
yes we should update that for future versions
from lazysets.jl.
I pushed the changes on top of the branch of PR #21.
Let us see how this works 😼
from lazysets.jl.
Cool. Then your proposed changes for this issue are already on master
branch, or some but not all of them?
from lazysets.jl.
Nope, they are in a separate branch which I based on the other branch.
I fear that the merging will be a mess, but I wanted to try.
I will add the PR later and merge it directly after the tests have passed.
from lazysets.jl.
i think you can just rebase t/schilllic/17
into the current master
, see the network graph
from lazysets.jl.
You are right, I have just queried the PR.
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.