Comments (4)
Unfortunately there is no way to do that last one. A MATSim activity tag like this one <activity type="beach" x="794920.60169" y="5772690.71159" end_time="16:02:00" />
cannot have a description assigned to the type. The only way to say that beach
is Anglesea Beach
for intance, is via some attribute tag like beachDescription
but that would not be a good idea as it would be easy to mess this up if one tag is updated and not the other.
from ees.
Parameters getProbHomeAfterDependents()
and getProbHomeBeforeLeaving()
are now exposed as of f8222a4. See below:
https://github.com/agentsoz/bdi-abm-integration/blob/f8222a474ce91025a2c29880bd8d33ec2555fd35/examples/bushfire/scenarios/surf-coast-shire/population-subgroups-sample/scenario_matsim_plans.xml#L43-L44
@osbornejr you can now adjust these as needed for the hand-crafted test SurfCoastShirePopulationSubgroupsSampleTest
.
from ees.
From @osbornejr on August 23, 2018 5:39
Thanks. I am thinking with getProbHomeAfterDependents()
and getProbHomeBeforeLeaving()
that they should not be a probability for each agent, but a true/false condition which is determined during attribute assignment based on some overall probability for their subgroup type.
They could even be collapsed into one attribute WillGoHome
, because the first one only applies to those with dependents, who do not have the later option of going home before leaving. Ultimately all agents will only use this variable once in their decision tree.
It would be good to avoid having any non-determined variables within the <attributes>
field for an agent, and instead leave the probabilistic aspects to the global/subgroup level. Otherwise you have a random assignment of the variable to the agent, and another random choice when the agent has to apply that variable (a kind of double decision). It will make testing/validation more difficult down the track.
The only time it would be good is in cases where for a given agent, consistency is explicitly not desired. Is this the case the decision is only used once, so it should only be used once.
This is achievable now by just setting these variables to 1.0
or 0
, but down the track I think it could be consolidated to one, deterministic attribute?
from ees.
Yes that is a much better scheme @osbornejr. Have now implemented what you suggested in agentsoz/bdi-abm-integration@db4cd19. Now looks like this.
from ees.
Related Issues (20)
- Allow agents to register for available percepts HOT 1
- Tidy up diffusion model logs HOT 1
- Implement self-evacuation archetypes behaviours
- Support changing of log level at runtime
- Tests fail intermittently on Travis HOT 2
- Run should operate on generic models HOT 1
- Fire/Embers data not propagating correctly to agents HOT 1
- Update Surf Coast Shire populations to latest Archetypes based model HOT 1
- Cache initialised population for large input files
- Move EES to MATSim 12 HOT 1
- Allow PhoenixGridModel to take gzipped fire GeoJson as input
- Make archetypes based test results repeatable HOT 1
- Update release to use the latest archetypes based scenario
- Tidy up tests
- Use agentsoz dependencies as submodules HOT 4
- Generate evacuation metrics output file HOT 10
- MATSim agents in stuckAndAbort not properly handled
- Compilation error in jill submodule HOT 1
- Make ZoneID column name configurable HOT 1
- [Newbie] Running mvn package
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 ees.