def integrateObservation(self, obs): if self.learning and not self.learner.batchMode and self.lastobs is not None: if self.learner.passNextAction: self._oaro = [self.lastobs, self.lastaction, self.lastreward, obs] else: self.learner._updateWeights(self.lastobs, self.lastaction, self.lastreward, obs) LoggingAgent.integrateObservation(self, obs)
def integrateObservation(self, obs): LoggingAgent.integrateObservation(self, obs)