Skip to content

Instantly share code, notes, and snippets.

@573
Created May 7, 2010 16:43
Show Gist options
  • Save 573/393693 to your computer and use it in GitHub Desktop.
Save 573/393693 to your computer and use it in GitHub Desktop.
How to build a simple agent in Simphony (simphony.gui.client part, 2)
How to build a simple agent in Simphony (simphony.gui.client part, 2)
---
most files generated by easily editing with Eclipse's Manifest File Editor:
* scenario.rs/model.score (2.xml)
* scenario.rs/scenario.xml (3.xml)
<?xml version="1.0" encoding="ASCII"?>
<score:SContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:score="http://scoreabm.org/score" label="Models" ID="models" pluralLabel="Modelss" description="">
<implementation package="gui.client.as.simple.plugin" className="MainCBuilder" basePath="E:\Programme\Eclipse Galileo (new Maven3)\eclipse\plugins" srcDir="" binDir="simphony.gui.client_1.2.0\bin"/>
<agents xsi:type="score:SContext" label="AgentContext" ID="agentContext" pluralLabel="AgentContexts">
<implementation package="simple.agent" className="AgentContext" basePath="" srcDir="" binDir="simphony.agent_1.2.0\bin"/>
<agents label="Agent" ID="agent" pluralLabel="Agents">
<implementation package="" className="Agent" basePath="" srcDir="" binDir=""/>
</agents>
</agents>
</score:SContext>
<?xml version="1.0" encoding="UTF-8" ?>
<Scenario>
<repast.simphony.dataLoader.engine.ClassNameDataLoaderAction
context="Models"
file="../misc/common-scenario-files/repast.simphony.dataLoader.engine.MainCBuilder.xml" />
</Scenario>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment