scipplan 0.1.0a3__tar.gz → 0.1.1a0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scipplan-0.1.0a3/scipplan.egg-info → scipplan-0.1.1a0}/PKG-INFO +6 -2
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/README.md +5 -1
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/__init__.py +1 -1
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/plan_model.py +11 -6
- {scipplan-0.1.0a3 → scipplan-0.1.1a0/scipplan.egg-info}/PKG-INFO +6 -2
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/LICENSE +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/MANIFEST.in +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/config.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/helpers.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/parse_model.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/scipplan.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/constants_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/constants_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/constants_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/goals_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/goals_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/goals_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/initials_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/initials_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/initials_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/instantaneous_constraints_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/instantaneous_constraints_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/instantaneous_constraints_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/pvariables_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/pvariables_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/pvariables_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/reward_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/reward_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/reward_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/transitions_navigation_1.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/transitions_navigation_2.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/transitions_navigation_3.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/variables.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/zero_crossing.py +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan.egg-info/SOURCES.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan.egg-info/dependency_links.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan.egg-info/entry_points.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan.egg-info/not-zip-safe +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan.egg-info/top_level.txt +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/setup.cfg +0 -0
- {scipplan-0.1.0a3 → scipplan-0.1.1a0}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: scipplan
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1a0
|
4
4
|
Summary: Metric Hybrid Factored Planning in Nonlinear Domains with Constraint Generation in Python.
|
5
5
|
Author: Ari Gestetner, Buser Say
|
6
6
|
Author-email: ari.gestetner@monash.edu, buser.say@monash.edu
|
@@ -121,13 +121,17 @@ state_continuous: Location_x
|
|
121
121
|
state_continuous: Location_y
|
122
122
|
state_continuous: Speed_x
|
123
123
|
state_continuous: Speed_y
|
124
|
+
global_boolean: aux_1
|
124
125
|
```
|
125
|
-
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use -
|
126
|
+
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use - symbol like `some-var` but can use _ like `some_var` as well as the dash sign ' cannot be used). The use of next state variables which is often written using the dash symbol will be explained further in the Transitions section.
|
126
127
|
Additionally a variable for Dt has to be defined and has to be the same as the dt_var in the config object so if you would like to use a different variable name for Dt (e.g. dt) please also ensure you add it to the config via the `--dt-var` tag or the `dt_var` parameter.
|
128
|
+
The variable type `global` is used when you would like a non state variable to be equal over every time step over the horizon (e.g. if $v_t$ is a variable at time $t$ and $H$ is the horizon, then $v_1 = v_2 = \dots = v_{H+1}$).
|
129
|
+
|
127
130
|
The available variable types are
|
128
131
|
- state
|
129
132
|
- action
|
130
133
|
- auxiliary
|
134
|
+
- global
|
131
135
|
|
132
136
|
The available value types are
|
133
137
|
- continuos
|
@@ -102,13 +102,17 @@ state_continuous: Location_x
|
|
102
102
|
state_continuous: Location_y
|
103
103
|
state_continuous: Speed_x
|
104
104
|
state_continuous: Speed_y
|
105
|
+
global_boolean: aux_1
|
105
106
|
```
|
106
|
-
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use -
|
107
|
+
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use - symbol like `some-var` but can use _ like `some_var` as well as the dash sign ' cannot be used). The use of next state variables which is often written using the dash symbol will be explained further in the Transitions section.
|
107
108
|
Additionally a variable for Dt has to be defined and has to be the same as the dt_var in the config object so if you would like to use a different variable name for Dt (e.g. dt) please also ensure you add it to the config via the `--dt-var` tag or the `dt_var` parameter.
|
109
|
+
The variable type `global` is used when you would like a non state variable to be equal over every time step over the horizon (e.g. if $v_t$ is a variable at time $t$ and $H$ is the horizon, then $v_1 = v_2 = \dots = v_{H+1}$).
|
110
|
+
|
108
111
|
The available variable types are
|
109
112
|
- state
|
110
113
|
- action
|
111
114
|
- auxiliary
|
115
|
+
- global
|
112
116
|
|
113
117
|
The available value types are
|
114
118
|
- continuos
|
@@ -95,12 +95,17 @@ class PlanModel:
|
|
95
95
|
|
96
96
|
self.var_names.add(name)
|
97
97
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
98
|
+
if vtype.startswith("global"):
|
99
|
+
var = Variable.create_var(self.model, name, vtype, "global", self.constants)
|
100
|
+
for t in range(self.config.horizon + 1):
|
101
|
+
variables[(name, t)] = var
|
102
|
+
else:
|
103
|
+
for t in range(self.config.horizon):
|
104
|
+
variables[(name, t)] = Variable.create_var(self.model, name, vtype, t, self.constants)
|
105
|
+
var_type = variables[(name, t)].var_type
|
106
|
+
if var_type is VarType.STATE:
|
107
|
+
variables[(name, self.config.horizon)] = Variable.create_var(self.model, name, vtype, self.config.horizon, self.constants)
|
108
|
+
|
104
109
|
return variables
|
105
110
|
|
106
111
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: scipplan
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1a0
|
4
4
|
Summary: Metric Hybrid Factored Planning in Nonlinear Domains with Constraint Generation in Python.
|
5
5
|
Author: Ari Gestetner, Buser Say
|
6
6
|
Author-email: ari.gestetner@monash.edu, buser.say@monash.edu
|
@@ -121,13 +121,17 @@ state_continuous: Location_x
|
|
121
121
|
state_continuous: Location_y
|
122
122
|
state_continuous: Speed_x
|
123
123
|
state_continuous: Speed_y
|
124
|
+
global_boolean: aux_1
|
124
125
|
```
|
125
|
-
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use -
|
126
|
+
where the variable and value type of the variable is set in the format "{variable type}_{value type}" and the variable itself has to be in a Python compatible format (e.g. variables can't use - symbol like `some-var` but can use _ like `some_var` as well as the dash sign ' cannot be used). The use of next state variables which is often written using the dash symbol will be explained further in the Transitions section.
|
126
127
|
Additionally a variable for Dt has to be defined and has to be the same as the dt_var in the config object so if you would like to use a different variable name for Dt (e.g. dt) please also ensure you add it to the config via the `--dt-var` tag or the `dt_var` parameter.
|
128
|
+
The variable type `global` is used when you would like a non state variable to be equal over every time step over the horizon (e.g. if $v_t$ is a variable at time $t$ and $H$ is the horizon, then $v_1 = v_2 = \dots = v_{H+1}$).
|
129
|
+
|
127
130
|
The available variable types are
|
128
131
|
- state
|
129
132
|
- action
|
130
133
|
- auxiliary
|
134
|
+
- global
|
131
135
|
|
132
136
|
The available value types are
|
133
137
|
- continuos
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_1.txt
RENAMED
File without changes
|
{scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_2.txt
RENAMED
File without changes
|
{scipplan-0.1.0a3 → scipplan-0.1.1a0}/scipplan/translation/temporal_constraints_navigation_3.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|