using Plots, BenchmarkTools, StaticArrays
using Revise, ReachabilityAnalysis
const RA = ReachabilityAnalysis
include("/home/mforets/.julia/dev/ReachabilityAnalysis/test/models/hybrid/embrake.jl")
LazySets.deactivate_assertions()
function LazySets.diameter(R::ReachabilityAnalysis.AbstractLazyReachSet; vars::Int)
overapproximate(project(R, vars=vars), Interval) |> set |> diameter
end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```julia | |
using Plots, BenchmarkTools | |
using Revise, ReachabilityAnalysis | |
include("/home/mforets/.julia/dev/ReachabilityAnalysis/test/models/hybrid/embrake.jl") | |
LazySets.deactivate_assertions() | |
``` | |
## No pv no jitter | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set terminal postscript enhanced color | |
set output './images/ltv_test.eps' | |
set style line 1 linecolor rgb "blue" | |
set autoscale | |
unset label | |
set xtic auto | |
set ytic auto | |
set xlabel "x" | |
set ylabel "y" | |
plot '-' notitle with lines ls 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```julia | |
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.4.0 (2020-03-21) | |
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release | |
|__/ | |
See https://www.build-business-websites.co.uk/set-path-environment-variable-windows-powershell/
(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path
First download Flow*, https://flowstar.org/dowloads/
At the time of writing the latest release is v2.1.0 from march 2017.
The following installation instructions were tested on a Dell 9575 laptop running Fedora 31.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# paste this script on your .julia/dev/LazySets/test folder | |
using Revise, LazySets, Test | |
using LazySets: ispermutation | |
using LazySets.Arrays | |
using SparseArrays | |
using LinearAlgebra | |
using Polyhedra, CDDLib | |
using LazySets: dim, Interval, translate, volume, HalfSpace, project | |
test_suite_polyhedra = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- https://www.anii.org.uy/apoyos/investigacion/25/investigacion-y-desarrollo-en-matematica/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===================================== | |
# Version using MacroTools + SymEngine | |
# ===================================== | |
using IntervalMatrices | |
using SymEngine | |
using MacroTools: postwalk | |
subidx(i) = join(Char.(0x2080 .+ convert.(UInt16, digits(i)[end:-1:1]))) |