예제 #1
0
파일: fqi.py 프로젝트: rueckstiess/dopamine
 def __init__(self, faClass=Linear, resetFA=True, ordered=False, vectorblock=False):
     """ initialize the agent with the estimatorClass. """
     Agent.__init__(self)
     self.faClass = faClass
     self.resetFA = resetFA
     self.ordered = ordered
     self.vectorblock = vectorblock
예제 #2
0
파일: bas.py 프로젝트: rueckstiess/dopamine
 def __init__(self, faClass=Linear):
     """ initialize the agent with the estimatorClass. """
     Agent.__init__(self)
     
     self.amin = -1.
     self.amax = 1.
     self.nres = 3
     
     # store (decision,action) tuples for one action in the list
     self.decisions = []
     
     self.faClass = faClass