Giter Club home page Giter Club logo

Comments (1)

dhixsingh avatar dhixsingh commented on September 26, 2024

Available at least since 3f064f5. Example BDI configuration is here:

<model id="bdi">
<!-- Legacy option to control the peak of vehicles leaving once the FIRE_ALERT is issued by the phoenix model;
Only applies if the phoenix model option sendFireAlertOnFireStart=true -->
<opt id="evacPeakMins">60</opt>
<!-- Jill BDI engine configuration arguments; DO NOT CHANGE IF UNSURE -->
<opt id="jPlanSelectionPolicy">FIRST</opt>
<opt id="jAgents"></opt>
<opt id="jLogLevel">WARN</opt>
<opt id="jLogFile">test/output/io/github/agentsoz/ees/SurfCoastShirePopulationSubgroupsTest/testSurfCoastShirePopulationSubgroups/jill.log</opt>
<opt id="jOutFile">test/output/io/github/agentsoz/ees/SurfCoastShirePopulationSubgroupsTest/testSurfCoastShirePopulationSubgroups/jill.out</opt>
<!--<opt id="jNumThreads">1</opt>-->
</model>

Agent specific configuration is done directly through the MATSim population file, for instance:

<person id= "0" >
<attributes>
<attribute name="BDIAgentType" class="java.lang.String" >io.github.agentsoz.ees.agents.bushfire.Resident</attribute>
<attribute name="HasDependentsAtLocation" class="java.lang.String" ></attribute>
<attribute name="InitialResponseThreshold" class="java.lang.Double" >0.8</attribute>
<attribute name="FinalResponseThreshold" class="java.lang.Double" >0.8</attribute>
<attribute name="WillGoHomeAfterVisitingDependents" class="java.lang.Boolean" >false</attribute>
<attribute name="WillGoHomeBeforeLeaving" class="java.lang.Boolean" >false</attribute>
<attribute name="EvacLocationPreference" class="java.lang.String">Torquay Foreshore,790771,5752462</attribute>
<attribute name="InvacLocationPreference" class="java.lang.String">Anglesea Shops,777471,5742412</attribute>
<attribute name="sharesInfoWithSocialNetwork" class="java.lang.Boolean">true</attribute>
</attributes>
<plan selected="yes">
<activity type="home" x="777487.95417" y="5742688.0183" end_time="09:58:00" />
<leg mode="car" />
<activity type="work" x="778210.63486" y="5744138.97464" end_time="20:47:00" />
<leg mode="car" />
<activity type="home" x="777487.95417" y="5742688.0183" />
</plan>
</person>

from ees.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.