Commit 70c36957 authored by DurgeshSamant's avatar DurgeshSamant

added python wrapper over sarsa offense

parent 08e20ef6
#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) *~;
......@@ -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++
......
......@@ -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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment