world.py
def __update_model(self, tau, t):
        """This private method updates the internal states of the behavioral
        model given the avalible set of observations and actions.
        """
        if t==0:
            response = None
        else:
            response = self.actions[tau, t-1]

            self.like_actions[tau,t-1] = self.agent.posterior_actions[tau, t-1, response]


        observation = self.observations[tau, t]

        reward = self.rewards[tau, t]

        self.agent.update_beliefs(tau, t, observation, reward, response)

        if t==1:
            self.like_rewards[tau,t-1] = self.agent.posterior_rewards[tau, t-1, reward]
This private method updates the internal states of the behavioral
        model given the avalible set of observations and actions.
        
This private method updates the internal states of the behavioral
model given the avalible set of observations and actions.
This private method updates the internal states of the behavioral model given the avalible set of observations and actions .
def __update_model(self, tau, t):
        if t==0:
            response = None
        else:
            response = self.actions[tau, t-1]
            self.like_actions[tau,t-1] = self.agent.posterior_actions[tau, t-1, response]
        observation = self.observations[tau, t]
        reward = self.rewards[tau, t]
        self.agent.update_beliefs(tau, t, observation, reward, response)
        if t==1:
            self.like_rewards[tau,t-1] = self.agent.posterior_rewards[tau, t-1, reward]
def __update_model ( self , tau , t ) : if t == 0 : response = None else : response = self . actions [ tau , t - 1 ] self . like_actions [ tau , t - 1 ] = self . agent . posterior_actions [ tau , t - 1 , response ] observation = self . observations [ tau , t ] reward = self . rewards [ tau , t ] self . agent . update_beliefs ( tau , t , observation , reward , response ) if t == 1 : self . like_rewards [ tau , t - 1 ] = self . agent . posterior_rewards [ tau , t - 1 , reward ]
This private method updates the internal states of the behavioral
model given the avalible set of observations and actions.
This private method updates the internal states of the behavioral model given the avalible set of observations and actions .
"""This private method updates the internal states of the behavioral
        model given the avalible set of observations and actions.
        """
self
tau
t