Package presage

Examples of presage.EnvironmentConnector


  String createGroupAgent(double food, double economic, double social,
          String name)
  {
    AbstractAgent a = new PoliticalAgentGroup(food, 0, AgentType.R, economic,
            social, name);
    a.initialise(new EnvironmentConnector(this));
    sim.addParticipant(a.getId(), a);
    sim.activateParticipant(a.getId());
    return a.getId();
  }
View Full Code Here


   */
  String createGroup(Class<? extends AbstractGroupAgent> type,
          GroupDataInitialiser init)
  {
    AbstractGroupAgent g = dmodel.createGroup(type, init);
    g.initialise(new EnvironmentConnector(this));
    sim.addParticipant(g.getId(), g);
    sim.activateParticipant(g.getId());
    return g.getId();
  }
View Full Code Here

TOP

Related Classes of presage.EnvironmentConnector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.