Comments (5)
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 bdi-abm-integration.
Parameters getProbHomeAfterDependents()
and getProbHomeBeforeLeaving()
are now exposed as of f8222a4. See below:
@osbornejr you can now adjust these as needed for the hand-crafted test SurfCoastShirePopulationSubgroupsSampleTest
.
from bdi-abm-integration.
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 bdi-abm-integration.
Yes that is a much better scheme @osbornejr. Have now implemented what you suggested in db4cd19. Now looks like this:
from bdi-abm-integration.
This issue was moved to agentsoz/ees#7
from bdi-abm-integration.
Related Issues (20)
- Allow committed BDI driveTo actions to be aborted HOT 1
- Improve destination choice for leave now behaviour HOT 2
- Set attributes for each agent during initialisation (plan algorithm) HOT 2
- Fix location choice to be based on localities, not distances HOT 2
- Select dependent location based on locality HOT 2
- Include fire front in disruption model HOT 1
- Awareness of distance from fire HOT 1
- Time buffer before acting HOT 1
- Create new staged evacuation test for Anglesea HOT 2
- SurfCoastShirePopulationSubgroupsTest does not run to completion HOT 1
- Agents skipping initial response HOT 7
- Double evacuations HOT 1
- Move evacuation code from BDI-MATSim integration to EES application HOT 1
- How to modify MATSim plans HOT 3
- How are the new routers set up? HOT 1
- Migrate to AgentDataContainer V2
- Update bdi-matsim to use MATSim 12.0
- abm-jadex layer compile failure HOT 4
- Getting the total distance of a trip from Matsim
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 bdi-abm-integration.