AIMA.Core.Agent.Impl.AbstractEnvironment.step C# (CSharp) Method

step() public method

public step ( ) : void
return void
        public void step() {
		foreach (IAgent agent in agents) {
			if (agent.isAlive()) {
				Action anAction = agent.execute(getPerceptSeenBy(agent));
				EnvironmentState es = executeAction(agent, anAction);
				updateEnvironmentViewsAgentActed(agent, anAction, es);
			}
		}
		createExogenousChange();
	}

Same methods

AbstractEnvironment::step ( int n ) : void