Package ise.mace.agents

Examples of ise.mace.agents.PoliticalAgent


  {
    Random randomGenerator = new Random(randomSeed);

    for (int i = 0; i < 20; i++)
    {
      addAgent(new PoliticalAgent(20, 2, AgentType.AC,
              randomGenerator.nextDouble(),
              randomGenerator.nextDouble()));
      addAgent(new PoliticalAgent(20, 2, AgentType.TFT,
              randomGenerator.nextDouble(),
              randomGenerator.nextDouble()));
      addAgent(new PoliticalAgent(20, 2, AgentType.AD,
              randomGenerator.nextDouble(),
              randomGenerator.nextDouble()));
      addAgent(new PoliticalAgent(20, 2, AgentType.R,
              randomGenerator.nextDouble(),
              randomGenerator.nextDouble()));
    }

  }
View Full Code Here

TOP

Related Classes of ise.mace.agents.PoliticalAgent

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.