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
1
vote
1 answer

Read and display 1 or more raster files in Repast Simphony

I am new to using GIS aspect of Repast. The agents have to get pixel values from multiple shapefiles and 2 raster files (based on lat, long), to decide their movement course at every tick. So far, I first created a geography, then added the raster…
Swapna
  • 31
  • 1
1
vote
1 answer

How to fix repast simphony error : saf.v3d.scene.VComposite.addChild(VComposite.java:46)

I have a new error in my repast simphony model. When my agent give birth and I contextualize its childs in the context, the next step gives me an error like java.lang.NullPointerException (See source code). Can you help me to fix…
1
vote
1 answer

Can't read input file while running repast simphony model programmatically

First time posing on stack overflow, so excuse any missing conventions. Let me know and I will remedy them. I am having trouble running my models programmatically. I believe it is caused by imageio not being able to read an image file in a jar or in…
Mendre
  • 11
  • 3
1
vote
1 answer

Is there a simple way to create a list of subclass objects from a list of the superclass objects?

I have a set of Agent objects (the superclass). Agent objects can be: 1) Infected (extents Agent) and 2) Healthy (extends Agent). Example... public class Healthy extends Agent public class Infected extends Agent Each Agent x object keeps a list…
Taylor Marie
  • 357
  • 1
  • 15
1
vote
1 answer

Repast Simphony Model Library

Is there any model library for Repast Simphony? I'm looking for something similar to the Computational Model Library of OpenABM. Unfortunatelly, there are only models for NetLogo but not for Repast in this library. (In particular, I'm searching for…
1
vote
2 answers

Java 2D Array, Random value is getting assigned rather than the value that is supposed to be

Edit 3: This question has been answered. I did the math incorrectly multiple times and made a large blunder, and hence didn't realize the code base itself was fine First question here on stackoverflow. So I am running simulations, and in my code I…
1
vote
1 answer

Can't launch Repast Simphony

I just downloaded Repast Simphony 64 bit. I have Java 8v144 installed on my computer. When I start Repast I get an immediate exception that says Eclipse Java was started but returned exit code =…
RussAbbott
  • 2,660
  • 4
  • 24
  • 37
1
vote
1 answer

Repast Java getting Started

I am a new Repast user, could you please help me fixing this error: I have a run time error as you can see below. When i commenting the addEdge command, the program runs well net. <<< addEdge (this , zombie ); >>> Please note that my code is exactly…
Gamal Eldeeb
  • 49
  • 1
  • 5
1
vote
1 answer

Packaging a Repast model as a jar file without including the source code?

I want to create a model jar file but not include the source code. Is it possible? The Repast model installer includes the source code by default, but I would like to hide it from the recipient of the model.
1
vote
1 answer

How can the Repast file sink filename be set programmatically?

Does anybody know if there is a simple way to make the filename element path of an file sink variable according to one field in the model? So instead of using a fix path like : fixed_path/filename.csv {variable_path}/filename.csv
1
vote
1 answer

Can the Repast NetworkBuilder be used in Geography and GIS Displays?

The popular Repast zombie tutorial using java employs a NetworkBuilder that allows you to visualize the infection network. I was wondering if there is anything similar that can be used with the Geography/GIS context. Alternatively, any thoughts on…
1
vote
1 answer

Can the Repast agent table be called from user code?

In Repast Simphony, one can view a table of all agents in a simulation (per tick) from the runtime environment. Is there a simple way to save the table or the data from the runtime environment? Or do I need to write a code to replicate outputs like…
1
vote
2 answers

Are there any examples of pedestrian modelling in repast simphony?

Are there any examples of pedestrian modelling in repast simphony? I am novice in repast and was trying to model a simple pedestrian movement simulation. Any pointers to useful resources/ examples?
rachZane
  • 11
  • 2
1
vote
1 answer

The type GridCell is not generic; it cannot be parameterized with arguments . While creating a list

I am novice in java and repast. I am trying to create a list of Grid cells (grid cells) of type gridcells (valuelayer cells) but I keep getting the error "The type GridCell is not generic; it cannot be parameterized with arguments " How do I fix…
Tannay
  • 17
  • 5
1
vote
1 answer

Mixing relational and boolean conditions in java if statements

How does combining boolean and non-boolean if statements in java work? Is there a particular way the conditional statements need to be written? For example, the code below gives me different results every time. Beetles are initialized as randomly…
Taylor Marie
  • 357
  • 1
  • 15