Skip to content

Commit

Permalink
Remove leftovers of previous name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zinoex committed Jan 13, 2025
1 parent 5c14de2 commit a7014ab
Show file tree
Hide file tree
Showing 22 changed files with 63 additions and 63 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ jobs:
shell: julia --project=docs --color=yes {0}
run: |
using Documenter: DocMeta, doctest
using IntervalSySCoRe
DocMeta.setdocmeta!(IntervalSySCoRe, :DocTestSetup, :(using IntervalSySCoRe); recursive=true)
doctest(IntervalSySCoRe)
using IntervalMDPAbstractions
DocMeta.setdocmeta!(IntervalMDPAbstractions, :DocTestSetup, :(using IntervalMDPAbstractions); recursive=true)
doctest(IntervalMDPAbstractions)
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IntervalSySCoRe
# IntervalMDPAbstractions

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://Zinoex.github.io/IntervalSySCoRe.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://Zinoex.github.io/IntervalSySCoRe.jl/dev/)
[![Build Status](https://github.com/Zinoex/IntervalSySCoRe.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Zinoex/IntervalSySCoRe.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/Zinoex/IntervalSySCoRe.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/Zinoex/IntervalSySCoRe.jl)
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://Zinoex.github.io/IntervalMDPAbstractions.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://Zinoex.github.io/IntervalMDPAbstractions.jl/dev/)
[![Build Status](https://github.com/Zinoex/IntervalMDPAbstractions.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Zinoex/IntervalMDPAbstractions.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/Zinoex/IntervalMDPAbstractions.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/Zinoex/IntervalMDPAbstractions.jl)
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
IntervalSySCoRe = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
IntervalMDPAbstractions = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
14 changes: 7 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
using IntervalSySCoRe
using IntervalMDPAbstractions
using Documenter

DocMeta.setdocmeta!(
IntervalSySCoRe,
IntervalMDPAbstractions,
:DocTestSetup,
:(using IntervalSySCoRe);
:(using IntervalMDPAbstractions);
recursive = true,
)

makedocs(;
modules = [IntervalSySCoRe],
modules = [IntervalMDPAbstractions],
authors = "Frederik Baymler Mathiesen",
sitename = "IntervalSySCoRe.jl",
sitename = "IntervalMDPAbstractions.jl",
format = Documenter.HTML(;
canonical = "https://Zinoex.github.io/IntervalSySCoRe.jl",
canonical = "https://Zinoex.github.io/IntervalMDPAbstractions.jl",
edit_link = "main",
assets = String[],
),
pages = ["Home" => "index.md"],
)

deploydocs(; repo = "github.com/Zinoex/IntervalSySCoRe.jl", devbranch = "main")
deploydocs(; repo = "github.com/Zinoex/IntervalMDPAbstractions.jl", devbranch = "main")
8 changes: 4 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
```@meta
CurrentModule = IntervalSySCoRe
CurrentModule = IntervalMDPAbstractions
```

# IntervalSySCoRe
# IntervalMDPAbstractions

Documentation for [IntervalSySCoRe](https://github.com/Zinoex/IntervalSySCoRe.jl).
Documentation for [IntervalMDPAbstractions](https://github.com/Zinoex/IntervalMDPAbstractions.jl).

```@index
```

```@autodocs
Modules = [IntervalSySCoRe]
Modules = [IntervalMDPAbstractions]
```
2 changes: 1 addition & 1 deletion examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
IntervalMDP = "051c988a-e73c-45a4-90ec-875cac0402c7"
IntervalSySCoRe = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
IntervalMDPAbstractions = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
LazySets = "b4f0291d-fe17-52bc-9479-3d1a343d9043"
Expand Down
6 changes: 3 additions & 3 deletions examples/systems/almost_identity.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function almost_identity_sys(num_dims::Int, time_horizon)
Expand Down Expand Up @@ -52,7 +52,7 @@ function almost_identity_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -81,7 +81,7 @@ function almost_identity_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
6 changes: 3 additions & 3 deletions examples/systems/bas_4d.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function building_automation_system_4d(time_horizon)
Expand Down Expand Up @@ -63,7 +63,7 @@ function building_automation_system_4d_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -96,7 +96,7 @@ function building_automation_system_4d_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
8 changes: 4 additions & 4 deletions examples/systems/big.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function big_sys(num_dims::Int, time_horizon)
Expand Down Expand Up @@ -49,7 +49,7 @@ function big_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -78,7 +78,7 @@ function big_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -127,7 +127,7 @@ function small_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
6 changes: 3 additions & 3 deletions examples/systems/car_parking.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function car_parking_sys(time_horizon)
Expand Down Expand Up @@ -53,7 +53,7 @@ function car_parking_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -90,7 +90,7 @@ function car_parking_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
6 changes: 3 additions & 3 deletions examples/systems/gp_dkl.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

using NPZ

Expand Down Expand Up @@ -99,7 +99,7 @@ function dubins_car_decoupled(time_horizon = 10; sparse = false)

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand All @@ -124,7 +124,7 @@ function dubins_car_direct(time_horizon = 10; sparse = true)

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
6 changes: 3 additions & 3 deletions examples/systems/linear_stochastically_switched.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function linear_stochastically_switched_sys(time_horizon)
Expand Down Expand Up @@ -62,7 +62,7 @@ function linear_stochastically_switched_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -90,7 +90,7 @@ function linear_stochastically_switched_mixture(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
6 changes: 3 additions & 3 deletions examples/systems/nndm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const MatlabFile = Union{MAT_v4.Matlabv4File,MAT_v5.Matlabv5File,MAT_HDF5.Matlab
using HDF5

using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

function load_dynamics(partitions::MatlabFile)
# Extract hypercube data
Expand Down Expand Up @@ -322,7 +322,7 @@ function action_cartpole_decoupled(time_horizon = 10; sparse = false)

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -350,7 +350,7 @@ function action_cartpole_direct(time_horizon = 10; sparse = false)

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
14 changes: 7 additions & 7 deletions examples/systems/robot_2d.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

"""
InputRobot
Input abstraction ONLY for the 2D robot example.
"""
struct InputRobot <: IntervalSySCoRe.InputAbstraction
struct InputRobot <: IntervalMDPAbstractions.InputAbstraction
input_space::Hyperrectangle
ranges::NTuple{2,Real}
end
IntervalSySCoRe.numinputs(input::InputRobot) = prod(input.ranges)
IntervalSySCoRe.issetbased(input::InputRobot) = false
function IntervalSySCoRe.inputs(input::InputRobot)
IntervalMDPAbstractions.numinputs(input::InputRobot) = prod(input.ranges)
IntervalMDPAbstractions.issetbased(input::InputRobot) = false
function IntervalMDPAbstractions.inputs(input::InputRobot)
l = low(input.input_space)
h = high(input.input_space)
ranges = [LinRange(l, h, num_steps) for (l, h, num_steps) in zip(l, h, input.ranges)]
Expand Down Expand Up @@ -87,7 +87,7 @@ function robot_2d_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down Expand Up @@ -118,7 +118,7 @@ function robot_2d_direct(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand Down
10 changes: 5 additions & 5 deletions examples/systems/van_der_pol.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using LinearAlgebra, LazySets, Plots
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions


function van_der_pol_sys(time_horizon; sampling_time = 0.1)
Expand Down Expand Up @@ -48,7 +48,7 @@ function van_der_pol_decoupled(

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand All @@ -69,7 +69,7 @@ function van_der_pol_direct(time_horizon = 10; state_split = (50, 50), input_spl

upper_bound_spec = Specification(system_property(spec), !satisfaction_mode(spec))
upper_bound_spec =
IntervalSySCoRe.convert_specification(upper_bound_spec, state_abs, target_model)
IntervalMDPAbstractions.convert_specification(upper_bound_spec, state_abs, target_model)

return mdp, abstract_spec, upper_bound_spec
end
Expand All @@ -83,8 +83,8 @@ function van_der_pol_plot_nominal()
U = Hyperrectangle(low = [-1.0], high = [1.0])
input_abs = InputLinRange(U, 10)

R = IntervalSySCoRe.regions(state_abs)[837]
u = IntervalSySCoRe.inputs(input_abs)[3]
R = IntervalMDPAbstractions.regions(state_abs)[837]
u = IntervalMDPAbstractions.inputs(input_abs)[3]

Y = nominal(dynamics(sys), R, u)

Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[deps]
IntervalMDP = "051c988a-e73c-45a4-90ec-875cac0402c7"
IntervalSySCoRe = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
IntervalMDPAbstractions = "6214ee8e-79dc-449b-ae00-4c9ff82a02a9"
LazySets = "b4f0291d-fe17-52bc-9479-3d1a343d9043"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Expand Down
2 changes: 1 addition & 1 deletion test/abstractions/compare_abstractions.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Revise, Test
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

include("example_systems.jl")

Expand Down
2 changes: 1 addition & 1 deletion test/abstractions/decoupled.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Revise, Test
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

include("example_systems.jl")

Expand Down
2 changes: 1 addition & 1 deletion test/abstractions/direct.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Revise, Test
using LinearAlgebra, LazySets
using IntervalMDP, IntervalSySCoRe
using IntervalMDP, IntervalMDPAbstractions

include("example_systems.jl")

Expand Down
2 changes: 1 addition & 1 deletion test/abstractions/example_systems.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using IntervalSySCoRe, LazySets
using IntervalMDPAbstractions, LazySets

if !@isdefined example_systems_included
example_systems_included = true
Expand Down
2 changes: 1 addition & 1 deletion test/dynamics/affine_additive_gaussian.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Revise, Test
using IntervalSySCoRe, LazySets
using IntervalMDPAbstractions, LazySets

# System definition
A = [1.0 0.5; 0.0 1.0]
Expand Down
Loading

0 comments on commit a7014ab

Please sign in to comment.