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
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