def episodeTerminated(self):
        # Increase the number of episodes
        self.episode_count += 1
This function adjusts all necessary elements of the agent at the end of
dataset/ETHPy150Open rlpy/rlpy/rlpy/Agents/LSPI.py/LSPI.episodeTerminated