Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PORTER Edward
GWHMC
Commits
c7c4ee6f
Commit
c7c4ee6f
authored
Jul 15, 2021
by
Marc Arene
Browse files
deactivating running only hybrid when acc is between 50% and 75% of expected acc
parent
9bd1d423
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Codes/main.py
Codes/main.py
+2
-1
No files found.
Codes/main.py
View file @
c7c4ee6f
...
...
@@ -1259,7 +1259,8 @@ if __name__ == '__main__':
atr
+=
1
atr_time
+=
time
.
time
()
-
atr_start
traj_type
=
traj_type_analytical
elif
(
acc_low_2
<=
Acc_phase3
)
and
(
Acc_phase3
<
acc_low_1
)
and
(
hybrid_stuck
<
2
):
elif
False
:
# elif (acc_low_2 <= Acc_phase3) and (Acc_phase3 < acc_low_1) and (hybrid_stuck < 2):
length_traj
=
length_traj_min
+
int
(
randGen
.
uniform
()
*
50
)
epsilon
=
epsilon_hyb_num
htr_start
=
time
.
time
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment