Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs598mp-fall2021-proj
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chsieh16
cs598mp-fall2021-proj
Commits
1472d360
Commit
1472d360
authored
2 years ago
by
aastorg2
Browse files
Options
Downloads
Patches
Plain Diff
renaming method name
parent
4b98052e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gem_stanley_teacher.py
+1
-1
1 addition, 1 deletion
gem_stanley_teacher.py
with
1 addition
and
1 deletion
gem_stanley_teacher.py
+
1
−
1
View file @
1472d360
...
@@ -92,7 +92,7 @@ class DTreeGEMStanleyGurobiTeacher(DTreeGurobiTeacherBase):
...
@@ -92,7 +92,7 @@ class DTreeGEMStanleyGurobiTeacher(DTreeGurobiTeacherBase):
super
().
__init__
(
name
=
name
,
super
().
__init__
(
name
=
name
,
state_dim
=
3
,
perc_dim
=
2
,
ctrl_dim
=
1
,
norm_ord
=
norm_ord
)
state_dim
=
3
,
perc_dim
=
2
,
ctrl_dim
=
1
,
norm_ord
=
norm_ord
)
def
is_
positive_exampl
e
(
self
,
ex
)
->
bool
:
def
is_
safe_stat
e
(
self
,
ex
)
->
bool
:
assert
len
(
ex
)
==
self
.
state_dim
+
self
.
perc_dim
assert
len
(
ex
)
==
self
.
state_dim
+
self
.
perc_dim
def
g
(
cte
,
psi
):
def
g
(
cte
,
psi
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment