Questions tagged [repast-simphony]

Repast Simphony is a cross platform Java-based modeling system that runs under Microsoft Windows, Apple Mac OS X, and Linux. It supports the development of extremely flexible models of interacting agents for use on workstations and small computing clusters.

Repast Simphony is a tightly integrated, richly interactive, cross platform Java-based modeling system that runs under Microsoft Windows, Apple Mac OS X, and Linux. It supports the development of extremely flexible models of interacting agents for use on workstations and small computing clusters.

Repast Simphony models can be developed in several different forms including the ReLogo dialect of Logo, point-and-click flowcharts, Groovy, or Java, all of which can be fluidly interleaved. NetLogo models can also be imported.

138 questions
2
votes
1 answer

Repast - call simulation from another java program

I am trying to call my simulation model from another java program. I followed the official instructions to have the codes like below: package test; public class UserMain { public UserMain(){}; public void start(){ String[] args = new…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast - how to sort the agent set from query?

Take the Jzombie model for example, if I want to query all humans with energy equal to 5 and put them in a list I would be have the following codes: List human_list = ArrayList(); Query query = new…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Calling a Repast model with a list of model parameters

I have an agent-based model which is developed in Repast. To calibrate the model, I need to run the model with a list of parameters. And, use some optimization algorithms to find the best parameter set (minimizing some loss value). I wonder how to…
Haifengz
  • 31
  • 2
2
votes
1 answer

Repast - locate and track a specific agent using agent monitor

I have 500000+ agents which are added in the context but not in the display. Is there an easy way for me to locate a specific agent (without displaying it) and track its property change over time using the agent monitor like below:
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Change dynamically border color of an agent in Repast Symphony

I have to change dynamically the border color of an agent. The agent is represented as the default circle on the display. The displayed color has to change according to a boolean variable defined inside the agent Class. When the agent is created…
g. tu
  • 149
  • 11
2
votes
1 answer

Repast Java: Problem of Creating Multiple types of Custom Edge

The original solution for creating only one custom edge is here: Repast Java: Creating a custom edge agent to schedule specific actions 1). Now I have a demand for creating more than one type of custom edge to be acted as unique agents (e.g. in my…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: set different color for different edges

I have two types edges in my supply chain model: demand_links and supply_links. the default color is gray for all links. But I want to change the color of demand_links to red each time the attribute of the demand_link is changed (Note:the edge is…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: plot the KPI of each single agent

Instead of plot the aggregated average of the entire agent set (retailers & distributors), I want to explicitly plot the KPI of each single agent(e.g. retailer-1, retailer-2....). I read the non-aggregate plotting method but it did not work well.
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

GUI does not show agent attributes

See below, why does GUI not show the demandhist in the agent property (bottom left)?
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
2 answers

Repast Java: scheduling agent and global behaviors in a structural way

I am previously working with Netlogo for years and I am very much getting used to developing the agent-based model based on a set of procedures. An example of supply chain simulation model structure looks like below: ;;the main simulation…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast Java: Creating a custom edge agent to schedule specific actions

I have a model with a lot of edges (links) between different sorts of other agents (objects). I would like to model these edges as agents where I could add attributes and schedule actions. It is helpful to see a simple example of how to do this…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: how to get a particular agent set based on the specific conditions?

I am previously working with Netlogo and there are some very good built-in methods that allow me to filter and control the desired agents from the total population. (see: http://ccl.northwestern.edu/netlogo/docs/dictionary.html#agentsetgroup). For…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast: Is there a link type of agent like Netlogo?

I used Netlogo a lot and I found it is not constraining anything I want to build. However, I am interested to learn Java based ABS for bigger engineering project. One of the key question is if there is a agent type as link (directed and undirected)…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Agent-Based Simulation: Why Netlogo is running much faster than Java based Repast

Everyone says Jave is a language for large system and engineering project, which runs much faster than most other languages. I just compared it with another Agent-based modelling lanugage - Netlogo and I found Netlog runs FOUR TIMES FASTER than Jave…
Jack
  • 1,339
  • 1
  • 12
  • 31
2
votes
1 answer

Repast Simphony scheduling method priority

I have a model with about 10 scheduled methods. Now I am a little bit confused on controlling their execution. I want these scheduled methods to be executed in a certain order. How can I have ScheduleParameters.FIRST_PRIORITY,…
user2925516
  • 65
  • 1
  • 10
1 2
3
9 10