def run_trial(self, trial_id=<NUM_LIT:0>):
<EOL>self.env = NetworkEnvironment(self.G.copy(), initial_time=<NUM_LIT:0>, **self.environment_params)<EOL>print('<STR_LIT>')<EOL>self.setup_network_agents()<EOL>if self.environment_agent_type:<EOL><INDENT>env_agent = self.environment_agent_type(environment=self.env)<EOL><DEDENT>logging_interval = self.logging_interval<EOL>logger = BaseLoggingAgent(environment=self.env, dir_path=self.dir_path, logging_interval=logging_interval)<EOL>self.env.run(until=self.until)<EOL>logger.save_trial_state_history(trial_id=trial_id)<EOL>
Run a single trial of the simulation

        Parameters
        ----------
        trial_id : int