phelps-sg / jabm Goto Github PK
View Code? Open in Web Editor NEWJava Agent Based Modelling toolkit
Home Page: https://jabm.sourceforge.io/
Java Agent Based Modelling toolkit
Home Page: https://jabm.sourceforge.io/
Hi,
I've tried importing the 0.9.3 zip project into Eclipse as suggested on the Sourceforge page, but with little luck. Both Eclipse 3.8 (Juno) on Linux and 4.6 (Neon) on OSX present many "X cannot be resolved to a type" errors all over the code. Based on a brief examination it appears that the pom.xml
file might be mis-specified, and thereby the various dependencies aren't handled properly.
I was wondering if someone with better knowledge of the code could possibly try to reproduce this behavior, and perhaps suggest a solution?
For what it's worth, I was able to import the 0.8_01 zip project successfully into Eclipse, as suggested by the lab exercise sheet found here. However, I'd like to work with the latest version of the code if possible.
In addition, it seems the latest 0.9.3 updates are not on github yet, will that change?
Thanks!
Would it be possible to put a specific license on the project?
Thanks!
Hey,
i have an agent with a certain strategy. There are two possible implementations of this strategy. I wondered if it's possible to define an experiment.properties
file that can then switch the implementation for me, without me manually commenting and uncommenting the respective beans in the model.xml
file.
I tried something like:
strategyBean.class = abm.strategies.Strategy1:abm.strategies.Strategy2
where the strategyBean
in defined in the model.xml
.
But that doesn't work; I encountered a IllegalArgumentException
:
Exception in thread "main" java.lang.IllegalArgumentException: householdsConsumptionStrategy.class
at net.sourceforge.jabm.VariableBindingsIterator.getType(VariableBindingsIterator.java:113)
at net.sourceforge.jabm.VariableBindingsIterator.parseVarFile(VariableBindingsIterator.java:88)
at net.sourceforge.jabm.VariableBindingsIterator.<init>(VariableBindingsIterator.java:63)
at net.sourceforge.jabm.SimulationManager.setup(SimulationManager.java:201)
at net.sourceforge.jabm.SimulationManager.run(SimulationManager.java:130)
at net.sourceforge.jabm.SimulationManager.main(SimulationManager.java:219)
at benchmark.Main.main(Main.java:24)
Do you know of a way to get that to work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.