Skip to content
Snippets Groups Projects
Select Git revision
  • 4ab076af91b65b0f458d4cd472d3f1c90677b50d
  • main default
2 results

__init__.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    direct_agent_TODO_2.py 329 B
            t = info['time_seconds']
            if t > self.ts_grid[-1]:
                print("Simulation time is", t, "which exceeds the maximal planning horizon t_F =", self.ts_grid[-1])
                raise Exception("Time exceed agents planning horizon")
    
            u = self.ufun(t)
            u = np.asarray(self.env.discrete_model.phi_u(u))