Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
0bfa1d9e
Commit
0bfa1d9e
authored
Oct 23, 2015
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated readme and image.
parent
df411ad4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
README.md
README.md
+2
-3
img/hfo3on3.png
img/hfo3on3.png
+0
-0
No files found.
README.md
View file @
0bfa1d9e
...
@@ -48,8 +48,7 @@ for (int episode=0; episode<5; episode++) {
...
@@ -48,8 +48,7 @@ for (int episode=0; episode<5; episode++) {
status_t
status
=
IN_GAME
;
status_t
status
=
IN_GAME
;
while
(
status
==
IN_GAME
)
{
while
(
status
==
IN_GAME
)
{
const
std
::
vector
<
float
>&
feature_vec
=
hfo
.
getState
();
const
std
::
vector
<
float
>&
feature_vec
=
hfo
.
getState
();
Action
a
=
{
DASH
,
20.0
,
0.0
};
status
=
hfo
.
act
(
DASH
,
20.0
,
0.0
);
status
=
hfo
.
act
(
a
);
}
}
cout
<<
"Episode "
<<
episode
<<
" ended"
;
cout
<<
"Episode "
<<
episode
<<
" ended"
;
}
}
...
@@ -63,7 +62,7 @@ for episode in xrange(5):
...
@@ -63,7 +62,7 @@ for episode in xrange(5):
status
=
HFO_Status
.
IN_GAME
status
=
HFO_Status
.
IN_GAME
while
status
==
HFO_Status
.
IN_GAME
:
while
status
==
HFO_Status
.
IN_GAME
:
features
=
hfo
.
getState
()
features
=
hfo
.
getState
()
status
=
hfo
.
act
(
(
HFO_Actions
.
DASH
,
20.0
,
0
)
)
status
=
hfo
.
act
(
HFO_Actions
.
DASH
,
20.0
,
0.0
)
print
'Episode'
,
episode
,
'ended'
print
'Episode'
,
episode
,
'ended'
```
```
...
...
img/hfo3on3.png
View replaced file @
df411ad4
View file @
0bfa1d9e
19.9 KB
|
W:
|
H:
15.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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