Ferramentas do usuário

Ferramentas do site


geopro:pedro:repast

Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

Ambos lados da revisão anteriorRevisão anterior
Próxima revisão
Revisão anterior
geopro:pedro:repast [2007/08/06 02:29] pedrogeopro:pedro:repast [2010/03/09 14:33] (atual) pedro
Linha 15: Linha 15:
  
 \\ \\
 +
 +
 +{{http://www.leg.ufpr.br/~pedro/figures/barros-city-growth.jpg  }}
 +
 +{{  http://www.leg.ufpr.br/~pedro/figures/seggregation-crooks.jpg}}
  
 There are fixed and flexible components. The fixed are the Engine, Logging, and Interactive and Batch Run Modules. There are fixed and flexible components. The fixed are the Engine, Logging, and Interactive and Batch Run Modules.
Linha 22: Linha 27:
  
 The Adaptive Behaviors Module provides adaptive components for implementing agent behaviors. The components can include genetic algorithms, neural networks, other artificial intelligence tools, and regression tools. The Domains Module provides area-specific functions. Example components include tools for general networks, social systems, **geographical information systems (GIS)**, systems dynamics, and computational game theory. The Adaptive Behaviors Module provides adaptive components for implementing agent behaviors. The components can include genetic algorithms, neural networks, other artificial intelligence tools, and regression tools. The Domains Module provides area-specific functions. Example components include tools for general networks, social systems, **geographical information systems (GIS)**, systems dynamics, and computational game theory.
 +
 +====Simphony====
 +
 +The Repast Organization for Architecture and Design (ROAD) is pleased to
 +announce the release of Repast Simphony 1.0! We thank the Repast core
 +developers, contributing developers, and supporters for the hard work
 +that made this release possible!
 +
 +As many know, Repast Simphony is a free and open source agent-based
 +modeling toolkit that offers users a rich variety of features including
 +the following:
 +
 +  - An optional point-and-click model development environment that generates Java classes and seamlessly integrates with hand written Java and Groovy components.
 +  - A pure Java point-and-click model execution environment that includes built-in results logging and graphing tools as well as automated connections to a variety of optional external tools including R, VisAD, Weka, popular spreadsheets, MATLAB, and iReport.
 +  - An extremely flexible hierarchically nested definition of space including the ability to do point-and-click and modeling and visualization of 2D environments, 3D environments, networks including full integration with the JUNG network modeling library, and geographical spaces including full Geographical Information Systems (GIS) support.
 +  - A range of data storage "freeze dryers" for model check pointing and restoration including text file and database storage.
 +  - A fully concurrent multithreaded discrete event scheduler.
 +  - Libraries for genetic algorithms, neural networks, regression, random number generation, and specialized mathematics.
 +  - Automated Monte Carlo simulation framework which supports multiple modes of model results optimization.
 +  - Built-in tools for integrating external models.
 +  - Fully object-orientation.
 +  - Availability on virtually all modern computing platforms including Windows, Mac OS, and Linux.
 +
 +More information on Repast Simphony can be found on the main web site: [[http://repast.sourceforge.net]]
 +
 +Documentation, including a step-by-step tutorial, can be found here:  [[http://repast.sourceforge.net/docs/docs_main.html]]
 +
 +Downloads can be found here: [[http://repast.sourceforge.net/download.html]]
 +
 +Thank you for your continuing interest in Repast!
 +
 +Mike
 +
 +Michael J. North, MBA, Ph.D.
 +
  
  
 ===== Papers ===== ===== Papers =====
  
 +
 +
 +====The Repast Simulation/Modelling System for Geospatial Simulation====
 +|A T Crooks, 2007| UCL Working Papers Series| [[http://www.leg.ufpr.br/~pedro/papers/casa-repast-geosimulation.pdf|pdf]]|
 +
 +\\
 +
 +
 +
 +**Abstract:** The use of simulation/modelling systems can simplify the implementation of agent-based models. Repast is one of the few simulation/modelling software systems that supports the integration of geospatial data especially that of vector-based geometries. This paper provides details about Repast specifically an overview, including its different development languages available to develop agent-based models. Before describing Repast’s core functionality and how models can be developed within it, specific emphasis will be placed on its ability to represent dynamics and incorporate geographical information. Once these elements of the system have been covered, a diverse list of Agent-Based Modelling (ABM) applications using Repast will be presented with particular emphasis on spatial applications utilizing Repast, in particular, those that utilize geospatial data.
 +
 +\\
 +
 +**The current implementation of GIS functionality within Repast is focused on two systems: ESRI’s ArcGIS via the Agent Analyst extension and the open source software OpenMap. While both rely on ESRI shapefiles, the type of integration between the
 +agent-based model and the GIS are different. Repast has shapefile integration with ArcGIS and native Java integration with OpenMap **(Najlis and North, 2004).
  
 ====Experiences Creating Three Implementations of the Repast Agent Modeling Toolkit==== ====Experiences Creating Three Implementations of the Repast Agent Modeling Toolkit====
Linha 93: Linha 148:
       energy = energy + gain;       energy = energy + gain;
     }     }
 +
  
  
Linha 106: Linha 162:
 graphing/statistics: (e.g. Colt statistical package, and basic Repast functionality for simple network statistics) graphing/statistics: (e.g. Colt statistical package, and basic Repast functionality for simple network statistics)
  
-    Repast development appears to have been driven by +Repast development appears to have been driven by 
-several objectives. The initial objective was to implement Swarm, or equivalent functionality, in Java. How- +several objectives. The initial objective was to implement Swarm, or equivalent functionality, in Java. However,  
-ever, Repast did not adopt all of Swarm’s design philosophy and does not implement swarms. Repast was also +Repast did not adopt all of Swarm’s design philosophy and does not implement swarms. Repast was also 
-clearly intended to support one domain - social science - in particular, and includes tools specific to that domain. The+clearly intended to support one domain - social science - in particular, and includes tools specific to that domain. The
 additional objective of making it easier for inexperienced additional objective of making it easier for inexperienced
 users to build models has been approached in several ways users to build models has been approached in several ways
Linha 190: Linha 246:
 GeoGraphs can import network landscapes and corresponding territorial outline maps from **shape files**. GeoGraphs can import network landscapes and corresponding territorial outline maps from **shape files**.
 The original version of GeoGraphs was built for  Swarm. The original version of GeoGraphs was built for  Swarm.
 +
  
  
Linha 204: Linha 261:
 {{http://leg.ufpr.br/~pedro/figures/repast-virtual-mars.jpg}} {{http://leg.ufpr.br/~pedro/figures/repast-virtual-mars.jpg}}
  
 +
 +==== Triggering actions====
 +I have two trigger actions in my SynapseAgent class as below. Basically when its neuron is excited (when its potential is equal to 30) synapses are activated to conduct the neuronal signal to postsynaptic neurons with a delay of 2 time steps because of axonal delay and processing time of synapses. However, axonal delay can change is some circumstances. In this sense, how can I re-schedule my SynapseAgent's trigger methods? Or, should I remove this synapse agent and create a new one? There is a DefaultTriggerAction class but I am not sure how to use it. Is there sample codes (I couldn't find one).
 +
 +Thanks in advace,
 +
 +Önder.
 +
 +  public class SynapseAgent {
 +  
 +    /**
 +    * Initially, it takes 10 time steps to process the signal. 
 +    */
 +    @Watch(watcheeClassName = "wiringexperiment001.SensoryNeuronAgent", 
 +           watcheeFieldNames = "potential",
 +           query = "linked_from", 
 +           triggerCondition = "$watchee.getPotential() == 30", 
 +           whenToTrigger = WatcherTriggerSchedule.LATER, 
 +           scheduleTriggerDelta = 2d)
 +  
 +    public void activate() {
 +      System.out.println("activate! " + RunEnvironment.getInstance().getCurrentSchedule().getTickCount());
 +      Network<Object> network = WiringExperiment001Utility.getNetwork(this);
 +      Iterable<RepastEdge<Object>> outEdges = network.getOutEdges(this);
 +      Iterator<RepastEdge<Object>> outEdgeIterator = outEdges.iterator();
 +      while (outEdgeIterator.hasNext()) {
 +        RepastEdge<Object> edge = outEdgeIterator.next();
 +        edge.setWeight(30);
 +      }
 +    }
 +    @Watch(watcheeClassName = "wiringexperiment001.SensoryNeuronAgent", 
 +           watcheeFieldNames = "potential",
 +           query = "linked_from", 
 +           triggerCondition = "$watchee.getPotential() == -70", 
 +           whenToTrigger = WatcherTriggerSchedule.LATER, 
 +           scheduleTriggerDelta = 2d)
 +    public void deactivate() {
 +      System.out.println("deactivate! " + RunEnvironment.getInstance().getCurrentSchedule().getTickCount());
 +      Network<Object> network = WiringExperiment001Utility.getNetwork(this);
 +      Iterable<RepastEdge<Object>> outEdges = network.getOutEdges(this);
 +      Iterator<RepastEdge<Object>> outEdgeIterator = outEdges.iterator();
 +      while (outEdgeIterator.hasNext()) {
 +        RepastEdge<Object> edge = outEdgeIterator.next();
 +        edge.setWeight(-70);
 +      }
 +    }
 +  
 +  }
  
  
geopro/pedro/repast.1186367375.txt.gz · Última modificação: 2007/08/06 02:29 por pedro