Activates or deactivates the search panel, resetting things to their default values if necessary.
this.Activate = function( isActive, ignoreDeactivateDelay )
Implements a low-emission zone with taxes for agents using technology car in a specified area-
to activate-low-emission-zone [my-radius my-cost-factor my-dimension]
Adds an agent to the edge
to add-agent-to-edge [my-agent my-costs-benefits]
Adds an agent to the node
to add-agent-to-node [my-agent my-costs-benefits]
Adds all list elements execpt the first
to-report add-all-but-first [list-a list-b]
Adds the given boolean to each element of the given list
to-report add-boolean [my-list my-boolean]
to-report add-non-usable-technologies [right-of-use-vector]
Creates a result file based on base-file (which is the same for all result-files of a scenario-run) and extension (indicating the type of result), adds file to result-file-names table and prints header-line to the file.
to add-result-file [base-file extension header-line]
Parses edges from origin to all destinations and adds technology->technology-names of that technlogies that are allowed on the edge as well as on the respective destination node to the resulting list
to-report add-technologies-allowed [my-origin my-destinations]
Reports, whether an agent my switch technologies on the given node (based on item 2 node-costs-benefits-agents).
to-report agent-technology-switch-allowed? [my-node]
Reports the number of agents of each agent-type still alive.
to-report agent-types-alive
Main function for all agent actions: Entering and leaving nodes and edges and taking decisions about the next node an agent wants to reach.
to agents-run
Main function for all agent actions: Entering and leaving nodes and edges and taking decisions about the next node an agent wants to reach.
to agents-run
Allows the given technology (set item 1 to true), , reports true if technology was banned before
to-report allow-technology [my-technology]
Appends the given string and source to the changes-list
to append-to-changes-list [item-type value-list]
Appends the given string and value-list to the given list
to-report append-to-list [my-list item-type value-list]
Triggers a control algorithm specified via GUI-switch “control-algorithm” (can be used in behaviour space experiments as well).
to automated-control
Handles automated control (soft and strong) on edges, based on edge->edge-limits-short-time/edge->edge-degree-short-time.
to automated-control-edges [my-mode my-time my-dimension my-technology-name]
Runs the automated-control which can basically be split to two sorts of intervention.
to automated-control-luebke
Handles automated control (soft and strong) on nodes, based on short-time-limits/degrees
to automated-control-nodes [my-mode my-time my-dimension my-technology-name]
Automated control algorithm, increasing the costs of usage of all technologies (as long as value does not raise over soft-control-max-value) if any short time limit is about global->percentage-soft-automated-control, decreasing otherwise (as long as value does not fall below soft-control-min-value)
to automated-control-soft
Automated control algorithm, increasing the costs of car usage (as long as value does not raise over soft-control-max-value) if any short time limit is about global->percentage-soft-automated-control, decreasing otherwise (as long as value does not fall below soft-control-min-value).
to automated-control-soft-car
Automated control algorithm, soft intervention on cars in case of any short time limit problems, strong intervention in case of capacity problems for all technologies, for the car in case of emission problems.
to automated-control-soft-car+strong-splitted
Automated control algorithm, combining automated-control-soft-car and automated-control-strong-car Used in basic Jasss experiments.
to automated-control-soft-strong-car
Runs the standard version ofautomated-control, which can basically be split to two sorts of intervention a) Soft control: If degree of usage reaches global->percentage-soft-atomated-control, costs of that technology influencing the respective dimension of degree most negatively will be increased.
to automated-control-standard
Automated control algorithm, banning most harming technology from edges and nodes if any short time limit is about global->percentage-strong-automated-control, re-allowing the usage of the respective technology if limit falls below global->percentage-strong-automated-control again.
to automated-control-strong
Automated control algorithm, banning technology car from edges and nodes if any short time limit is about global->percentage-strong-automated-control, re-allowing the car if limit falls below global->percentage-strong-automated-control again.
to automated-control-strong-car
Automated control algorithm, banning most harming (out of all) technologies in case of exceeding capacity limits, banning the car only in case of emission problems.
to automated-control-strong-splitted
Bans the given technology, reports true if technology was not banned before
to-report ban-technology [my-technology]
Reports that technology (actually banned) showing least negative impact with respect to the given dimension
to-report best-technology [my-dimension]
Builds rucursively the low emission zone as specified in function activate-low-emission-zone
to-report build-low-emission-zone [my-nodes my-radius]
Implements the core buying-act (while the decision which technoloy to buy is implemented within purchase-technology)
to buy-technology [my-technology-name]