Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OPTIS_App
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OPTIS
OPTIS_App
Commits
a45ef66c
Commit
a45ef66c
authored
2 years ago
by
Nour
Browse files
Options
Downloads
Plain Diff
Merge branch 'aleks2' into nour
parents
10ff70fc
fc3d8829
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/agent.py
+1
-6
1 addition, 6 deletions
backend/agent.py
with
1 addition
and
6 deletions
backend/agent.py
+
1
−
6
View file @
a45ef66c
...
@@ -77,12 +77,7 @@ def q_learning(space, activities):
...
@@ -77,12 +77,7 @@ def q_learning(space, activities):
old_state
=
state
old_state
=
state
state
=
next_state
state
=
next_state
"""
# comment
if old_state != state:
print(state)
print(action)
print(Q[state][action])
"""
time
=
env
.
process
.
env
.
now
-
start
time
=
env
.
process
.
env
.
now
-
start
...
...
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