Comments (6)
@agrignard Try this branch. It is supposed to represent trains arriving randomly, so it may take a bit for the trains to arrive.
from csl_hamburg_hpa.
As a rule of thumb It would be better t have waht is working in the master. I cannot explore all the branch.
The idea of branching is for development and as soon as it's ready it goes to the master
from csl_hamburg_hpa.
@JesusLopezBaeza "this branch" is not working. Did you merge it in the master? In that case as a general github workflow it's good to mention in the issue that it has been fixed (and potentially close the issue if you think it's solved)
from csl_hamburg_hpa.
@JesusLopezBaeza ok the model is working now but what about having a train a bit sooner? Why do we have to wait so long to have a train arriving?
from csl_hamburg_hpa.
@agrignard For the moment the arrival of trains is set as random. Is it possible to schedule cyclical actions every certain amount of time? It would be great to have a train coming every hour
from csl_hamburg_hpa.
So you could use something like this in a global reflex
if (cycle mod 3600 =0){
create train;
}
If you want to have a finer way of managing time you can also have a look at this example:
https://github.com/gama-platform/gama/blob/master/msi.gama.models/models/Features/Date%20and%20Time/Simple%20Time%20definition.gaml
You will see that you can define the variable step to explicitly saying how long is a step (by default it's 1 second)
from csl_hamburg_hpa.
Related Issues (17)
- [Documentation Files Archive] HOT 5
- Project focus
- Project upload HOT 2
- Project Documentation HOT 1
- Multi-Level_Ready.aml not compiling HOT 3
- Basemap Image and simulation slow HOT 9
- plan.tif mising HOT 2
- Adding train species, metro color name station HOT 1
- HBF_MultiScale not displaying the simulation
- HPA Toy Model Mock Up for the phase 2 site
- info.gaml not compiling HOT 1
- HBF_MultiScale improvement HOT 3
- Old visualisation doesn't exist anymore? HOT 3
- HBF_Multiscale file missing HOT 2
- User interaction on touchable HOT 6
- HBF_Perception-model doesn"t work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csl_hamburg_hpa.