-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of a stub Repast Simphony 2.2 project
- Loading branch information
Showing
82 changed files
with
5,981 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> | ||
<classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/> | ||
<classpathentry kind="con" path="REPAST_SIMPHONY_SUPPORT"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ | |
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>emergent-task-allocation</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>repast.simphony.systemdynamics.diagram.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>repast.simphony.statecharts.diagram.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>repast.simphony.flowchart.repast_simphony_flowchart_builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>repast.simphony.eclipse.repast_simphony_nature</nature> | ||
<nature>repast.simphony.flowchart.repast_simphony_flowchart_nature</nature> | ||
<nature>repast.simphony.statecharts.diagram.repast_simphony_statechart_nature</nature> | ||
<nature>repast.simphony.systemdynamics.diagram.repast_simphony_systemdynamics_nature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
eclipse.preferences.version=1 | ||
groovy.compiler.level=21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
log4j.rootLogger = error | ||
|
||
log4j.logger.org.java.plugin = warn, stdout | ||
log4j.logger.org.apache.commons= warn, stdout | ||
log4j.logger.repast.simphony.plugin = warn, stdout | ||
|
||
log4j.logger.MessageCenter.INTERNAL.repast = info, stdout, R | ||
log4j.logger.MessageCenter.INTERNAL.saf = info, stdout, R | ||
|
||
log4j.logger.repast.simphony.batch = info, stdout, R | ||
log4j.logger.repast.simphony.batch.ssh.SSHSessionFactory = warn, stdout, R | ||
|
||
log4j.appender.stdout = org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout = simphony.util.messages.MessageCenterLayout | ||
log4j.appender.stdout.layout.conversionPattern =%-5p [%t] %d{HH:mm:ss,SSS} %c - %m%n | ||
#log4j.appender.stdout.Threshold=debug | ||
|
||
log4j.appender.R=org.apache.log4j.RollingFileAppender | ||
log4j.appender.R.File=debug.log | ||
log4j.appender.R.MaxFileSize=100KB | ||
log4j.appender.R.MaxBackupIndex=1 | ||
#log4j.appender.R.Threshold=info | ||
log4j.appender.R.layout=simphony.util.messages.MessageCenterLayout | ||
log4j.appender.R.layout.ConversionPattern=%-5p [%t] %d{ISO8601} %c - %m%n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Place your Repast Simphony batch run files in this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0"?> | ||
<sweep runs="1"> | ||
</sweep> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<HTML><FONT FACE=Verdana, Arial, Sans><TITLE>ModelInitializer.agent</TITLE><BODY><STYLE TYPE="text/css"><!--.centeralign <BLOCKQUOTE>text-align:center</BLOCKQUOTE>--></STYLE><HEAD><P CLASS="centeralign">ModelInitializer.agent</P></HEAD>The package name is "bin.emergent-task-allocation".</p> | ||
The following external code is referenced:<BLOCKQUOTE></p> | ||
<li>Components from java.io.*</li></p> | ||
<li>Components from java.math.*</li></p> | ||
<li>Components from java.util.*</li></p> | ||
<li>Components from javax.measure.unit.*</li></p> | ||
<li>Components from org.jscience.mathematics.number.*</li></p> | ||
<li>Components from org.jscience.mathematics.vector.*</li></p> | ||
<li>Components from org.jscience.physics.amount.*</li></p> | ||
<li>Components from repast.simphony.adaptation.neural.*</li></p> | ||
<li>Components from repast.simphony.adaptation.regression.*</li></p> | ||
<li>Components from repast.simphony.context.*</li></p> | ||
<li>Components from repast.simphony.context.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.context.space.gis.*</li></p> | ||
<li>Components from repast.simphony.context.space.graph.*</li></p> | ||
<li>Components from repast.simphony.context.space.grid.*</li></p> | ||
<li>Components from repast.simphony.engine.environment.*</li></p> | ||
<li>Components from repast.simphony.engine.schedule.*</li></p> | ||
<li>Components from repast.simphony.engine.watcher.*</li></p> | ||
<li>Components from repast.simphony.groovy.math.*</li></p> | ||
<li>Components from repast.simphony.integration.*</li></p> | ||
<li>Components from repast.simphony.matlab.link.*</li></p> | ||
<li>Components from repast.simphony.query.*</li></p> | ||
<li>Components from repast.simphony.query.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.query.space.gis.*</li></p> | ||
<li>Components from repast.simphony.query.space.graph.*</li></p> | ||
<li>Components from repast.simphony.query.space.grid.*</li></p> | ||
<li>Components from repast.simphony.query.space.projection.*</li></p> | ||
<li>Components from repast.simphony.parameter.*</li></p> | ||
<li>Components from repast.simphony.random.*</li></p> | ||
<li>Components from repast.simphony.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.space.gis.*</li></p> | ||
<li>Components from repast.simphony.space.graph.*</li></p> | ||
<li>Components from repast.simphony.space.grid.*</li></p> | ||
<li>Components from repast.simphony.space.projection.*</li></p> | ||
<li>Components from repast.simphony.ui.probe.*</li></p> | ||
<li>Components from repast.simphony.util.*</li></p> | ||
<li>Components from simphony.util.messages.*</li></p> | ||
<li>Components from static java.lang.Math.*</li></p> | ||
<li>Components from static repast.simphony.essentials.RepastEssentials.*</li></p> | ||
</BLOCKQUOTE><P></p> | ||
The class "ModelInitializer" is defined with visibility "public" . This is a model initializer.</p> | ||
<BLOCKQUOTE></p> | ||
</p> | ||
</p> | ||
</p> | ||
<li>There is a method named "initializeModel" method has visibility "public" has return type "def". This is the user model builder The block is tagged with the name "Initialize Model".</li></p> | ||
</p> | ||
</p> | ||
<BLOCKQUOTE>The code for the "initializeModel" method is as follows:<BLOCKQUOTE><CODE></p> | ||
</p> | ||
</p> | ||
Define the return value variable.</p> | ||
def returnValue</p> | ||
</p> | ||
Note the simulation time.</p> | ||
def time = GetTickCountInTimeUnits()</p> | ||
</p> | ||
Return the results.</p> | ||
return returnValue</p> | ||
</p> | ||
</BLOCKQUOTE></BLOCKQUOTE></CODE></p> | ||
</p> | ||
</p> | ||
</p> | ||
</BLOCKQUOTE></p> | ||
</p> | ||
</BODY></HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Place your model's web-based (HTML) documentation files in this directory using "index.html" as the home page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<HTML><FONT FACE=Verdana, Arial, Sans><TITLE>ModelInitializer.agent</TITLE><BODY><STYLE TYPE="text/css"><!--.centeralign <BLOCKQUOTE>text-align:center</BLOCKQUOTE>--></STYLE><HEAD><P CLASS="centeralign">ModelInitializer.agent</P></HEAD>The package name is "emergent-task-allocation".</p> | ||
The following external code is referenced:<BLOCKQUOTE></p> | ||
<li>Components from java.io.*</li></p> | ||
<li>Components from java.math.*</li></p> | ||
<li>Components from java.util.*</li></p> | ||
<li>Components from javax.measure.unit.*</li></p> | ||
<li>Components from org.jscience.mathematics.number.*</li></p> | ||
<li>Components from org.jscience.mathematics.vector.*</li></p> | ||
<li>Components from org.jscience.physics.amount.*</li></p> | ||
<li>Components from repast.simphony.adaptation.neural.*</li></p> | ||
<li>Components from repast.simphony.adaptation.regression.*</li></p> | ||
<li>Components from repast.simphony.context.*</li></p> | ||
<li>Components from repast.simphony.context.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.context.space.gis.*</li></p> | ||
<li>Components from repast.simphony.context.space.graph.*</li></p> | ||
<li>Components from repast.simphony.context.space.grid.*</li></p> | ||
<li>Components from repast.simphony.engine.environment.*</li></p> | ||
<li>Components from repast.simphony.engine.schedule.*</li></p> | ||
<li>Components from repast.simphony.engine.watcher.*</li></p> | ||
<li>Components from repast.simphony.groovy.math.*</li></p> | ||
<li>Components from repast.simphony.integration.*</li></p> | ||
<li>Components from repast.simphony.matlab.link.*</li></p> | ||
<li>Components from repast.simphony.query.*</li></p> | ||
<li>Components from repast.simphony.query.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.query.space.gis.*</li></p> | ||
<li>Components from repast.simphony.query.space.graph.*</li></p> | ||
<li>Components from repast.simphony.query.space.grid.*</li></p> | ||
<li>Components from repast.simphony.query.space.projection.*</li></p> | ||
<li>Components from repast.simphony.parameter.*</li></p> | ||
<li>Components from repast.simphony.random.*</li></p> | ||
<li>Components from repast.simphony.space.continuous.*</li></p> | ||
<li>Components from repast.simphony.space.gis.*</li></p> | ||
<li>Components from repast.simphony.space.graph.*</li></p> | ||
<li>Components from repast.simphony.space.grid.*</li></p> | ||
<li>Components from repast.simphony.space.projection.*</li></p> | ||
<li>Components from repast.simphony.ui.probe.*</li></p> | ||
<li>Components from repast.simphony.util.*</li></p> | ||
<li>Components from simphony.util.messages.*</li></p> | ||
<li>Components from static java.lang.Math.*</li></p> | ||
<li>Components from static repast.simphony.essentials.RepastEssentials.*</li></p> | ||
</BLOCKQUOTE><P></p> | ||
The class "ModelInitializer" is defined with visibility "public" . This is a model initializer.</p> | ||
<BLOCKQUOTE></p> | ||
</p> | ||
</p> | ||
</p> | ||
<li>There is a method named "initializeModel" method has visibility "public" has return type "def". This is the user model builder The block is tagged with the name "Initialize Model".</li></p> | ||
</p> | ||
</p> | ||
<BLOCKQUOTE>The code for the "initializeModel" method is as follows:<BLOCKQUOTE><CODE></p> | ||
</p> | ||
</p> | ||
Define the return value variable.</p> | ||
def returnValue</p> | ||
</p> | ||
Note the simulation time.</p> | ||
def time = GetTickCountInTimeUnits()</p> | ||
</p> | ||
Return the results.</p> | ||
return returnValue</p> | ||
</p> | ||
</BLOCKQUOTE></BLOCKQUOTE></CODE></p> | ||
</p> | ||
</p> | ||
</p> | ||
</BLOCKQUOTE></p> | ||
</p> | ||
</BODY></HTML> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html><FONT FACE=Verdana, Arial, Sans> | ||
<head> | ||
<title>emergent-task-allocation</title> | ||
</head> | ||
<body> | ||
This is the documentation for the emergent-task-allocation model...</p> | ||
<li>The documentation for "emergent-task-allocation.ModelInitializer" can be found <a href="emergent-task-allocation.ModelInitializer.html">here</a>.</li></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<context id="emergent-task-allocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://repast.org/scenario/context"> | ||
|
||
</context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<parameters> | ||
|
||
<parameter name="randomSeed" displayName="Default Random Seed" type="int" defaultValue="__NULL__" /> | ||
|
||
</parameters> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Scenario> | ||
<repast.simphony.dataLoader.engine.MIContextXMLDataLoaderAction context="emergent-task-allocation" file="repast.simphony.dataLoader.engine.MIContextXMLDataLoaderAction_0.xml" /> | ||
</Scenario> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<model name="emergent-task-allocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://repast.org/scenario/user_path"> | ||
<classpath> | ||
<agents path="../bin" /> | ||
<entry path="../lib" /> | ||
</classpath> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Place your model's data files in this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Place your model's icon files in this directory. |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.