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
70c36957
Commit
70c36957
authored
Oct 23, 2017
by
DurgeshSamant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added python wrapper over sarsa offense
parent
08e20ef6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
22 deletions
+3
-22
example/sarsa_libraries/funcapprox/Makefile
example/sarsa_libraries/funcapprox/Makefile
+2
-2
example/sarsa_libraries/policy/Makefile
example/sarsa_libraries/policy/Makefile
+1
-1
example/sarsa_libraries/python_wrapper/py_wrapper.py
example/sarsa_libraries/python_wrapper/py_wrapper.py
+0
-19
No files found.
example/sarsa_libraries/funcapprox/Makefile
View file @
70c36957
#Flags
CXXFLAGS
=
-shared
-g
-O3
-Wall
-fPIC
-lpython2
.7
CXXFLAGS
=
-shared
-g
-O3
-Wall
-fPIC
#Compiler
CXX
=
g++
...
...
@@ -24,5 +24,5 @@ $(TARGET): $(OBJS)
ar cq
$@
$(OBJS)
;
#g++ -shared -o libFA.so libfuncapprox.a ;
clean
:
rm
-f
$(TARGET)
$(OBJS)
*
~
;
#rm *.so;
rm
-f
$(TARGET)
$(OBJS)
*
~
;
example/sarsa_libraries/policy/Makefile
View file @
70c36957
...
...
@@ -5,7 +5,7 @@ FA_DIR = ../funcapprox
INCLUDES
=
-I
$(FA_DIR)
#Flags
CXXFLAGS
=
-shared
-g
-O3
-Wall
-fPIC
-lpython2
.7
CXXFLAGS
=
-shared
-g
-O3
-Wall
-fPIC
#Compiler
CXX
=
g++
...
...
example/sarsa_libraries/python_wrapper/py_wrapper.py
View file @
70c36957
...
...
@@ -80,23 +80,4 @@ class SarsaAgent(object):
#NF=8
#NA=2 #PASS to each teammate, SHOOT, DRIBBLE
#discFac=1.0
#resolution=0.1
#eps=0.01
#NOT=0
#Lambda=0.0
#learnR=0.1
#Min=[]
#Range=[]
#Res=[]
#for i in range(NF):
# Min.append(-1.0)
# Range.append(2.0)
# Res.append(resolution)
#
#FA=CMAC(NF, NA, Range, Min, Res)
#SA=SarsaAgent(NF, NA, learnR, eps, Lambda, FA.obj, "", "")
#SA.endEpisode()
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