Imports a agent type and generates a number of agents queried from user
to import-agents-of-type [my-agents-file my-agents-number]
Import dimensions with names (maybe other values later)
to import-dimensions [dims-file]
Imports a edge-type and creates a edge-type-object
to-report import-edge-type [my-edge-file]
Imports an edge type and generates a number of edges queried from user, connecting nodes more or less randomly
to import-edges-of-type [my-edges-file my-edges-number]
Imports a node type and creates a node-type-object
to-report import-node-type [my-nodes-file]
Imports a node type and generates a number of nodes queried from user
to import-nodes-of-type [my-nodes-file my-nodes-number]
Called by inactivateTimeout, which is set by Activate().
this.InactivateAfterTimeout = function()
Increases the actual position of the agent-destinations-repetitive-pointer by 1
to increase-agent-destinations-repetitive-position
Increases the edge’s control factor (used to calculate payoffs, manipulated by soft-control-interventions)
to increase-control-factor-edge [my-dimension my-factor my-max my-technology-name]
Increases the node’s control factor (used to calculate payoffs, manipulated by soft-control-interventions)
to increase-control-factor-node [my-dimension my-factor my-max my-technology-name]
Increase the first dimension “capacity” by adding the given parameter to all pay-offs
to increase-count-agents-edge [my-count]
Increases the first dimension “capacity” by adding the given parameter to all pay-offs
to increase-count-agents-node [my-count]
Increases count of death of respective type if an agent dies.
to increase-deaths
Increases technology-type->technology-type-factor value of the given dimensionen by 0.1.
to increase-technology-value [my-technology-type-name my-dimension-name]
Loads file names of sceenario to load and checks that all files necessary are present.
to-report initialize-setup
Helps to inspect single objects for debugging
to inspect-me
Handles interaction between node or edge and agent.
to interact [my-agent my-technology my-ie]
Handle interaction between agent and edge
to interact-agent-edge [my-agent my-technology]
Handle interaction between agent and node
to interact-agent-node [my-agent my-technology]
Calculates the intersection of lists (for example lists containing technology->technology-names.)
to-report intersect-lists [list-a list-b]
Calculates the intersection of sets (for example sets of technologies.)
to-report intersect-sets [set-a set-b]
Calculates the intersection of a set of technologies and a list of technology->technology-names by using the names as matching parameter.
to-report intersect-technology-sets-by-name [technology-set technology-name-list]
The timeout used between a keystroke and when a search is performed.
this.keyTimeout
The length of keyTimeout in thousandths of a second.
this.keyTimeoutLength
The number of matches from the last run of Search().
this.lastMatchCount
The last results page.
this.lastResultsPage
The last search string executed, or an empty string if none.
this.lastSearchValue
Sets layout style of the infrastructure-graph.
to layout
Take a nice layout for the nodes.
to layout
Reports the two limits given for a specific dimension, either for short- or long-time, depending on the callers breed!
to-report limits [dimension time]
Calculates y-value of a point P3 on a straight line, given by two (different!)
to-report linear-function [x1 y1 x2 y2 x]
Gives a string of the list (and lists in the list as well)
to-report list-to-comma-string [li]
Gives a string of the list (and lists in the list as well)
to-report list-to-semicolon-string [li]
Gives a string of the list
to-report list-to-string [li sep]
Prints the standard header of a mediawiki-table
to mediawiki-table-begin
Prints the standard footer of a mediawiki-table
to mediawiki-table-end
Prints the newline-code of a mediawiki-table
to mediawiki-table-newline
Prints a tabular in wikimedia-table-style based on the content given
to mediawiki-table-print [list-of-lines]
Prints a single line and inserts mediawiki-table cell separator “|” between cells
to mediawiki-table-printline [content]
The mode the search is going to work in, such as “HTML” or “FramedHTML”.
this.mode
The mode the search is going to work in, such as “HTML” or “FramedHTML”.
this.mode
Run run-profiler for 2 ticks
to my-profiler