libs/interactions.nls

Handling all interactions between agents, technologies and infrastructure elements (nodes and edges).

Summary
libs/interactions.nlsHandling all interactions between agents, technologies and infrastructure elements (nodes and edges).
interactHandles interaction between node or edge and agent.
interact-agent-nodeHandle interaction between agent and node
interact-agent-edgeHandle interaction between agent and edge
add-agent-to-edgeAdds an agent to the edge
remove-agent-from-edgeRemoves an agent from the edge
add-agent-to-nodeAdds an agent to the node
remove-agent-from-nodeRemoves an agent to the node
buy-technologyImplements the core buying-act (while the decision which technoloy to buy is implemented within purchase-technology)
purchase-technologyHandles technology purchase decision of agents Basic Version: Buy one of that technologies that are actually not available to you (not your property) and that fits your needs best.

interact

to interact [my-agent my-technology my-ie]

Handles interaction between node or edge and agent.  Calls subroutines interact-agent-node or interact-agent-edge

Should be used in a node or edge environment

Parameters

my-agentagent that shall interact with the infrastructure element
my-technologytechnology that is used by the agent
my-ienode or edge the agent shall interact with

interact-agent-node

to interact-agent-node [my-agent my-technology]

Handle interaction between agent and node

Should be used in a node environment

Parameters

my-agentagent to interact
my-technologytechnology used by agent

interact-agent-edge

to interact-agent-edge [my-agent my-technology]

Handle interaction between agent and edge

Should be used in an edge environment

Parameters

my-agentagent to interact
my-technologytechnology used by agent

add-agent-to-edge

to add-agent-to-edge [my-agent my-costs-benefits]

Adds an agent to the edge

Should be used in an edge environment

Parameters

my-agentagent to add
my-costs-benefitscalculated via calculate-costs-benefits

remove-agent-from-edge

to remove-agent-from-edge [my-agent]

Removes an agent from the edge

Should be used in an edge environment

Parameters

my-agentagent to remove

add-agent-to-node

to add-agent-to-node [my-agent my-costs-benefits]

Adds an agent to the node

Should be used in a node environment

Parameters

my-agentagent to add
my-costs-benefitscalculated via calculate-costs-benefits

remove-agent-from-node

to remove-agent-from-node [my-agent]

Removes an agent to the node

Should be used in a node environment

Parameters

my-agentagent to remove

buy-technology

to buy-technology [my-technology-name]

Implements the core buying-act (while the decision which technoloy to buy is implemented within purchase-technology)

Parameters

my-technology-nametechnology.technology-name of the technology the agent wants to buy.

purchase-technology

to purchase-technology

Handles technology purchase decision of agents Basic Version: Buy one of that technologies that are actually not available to you (not your property) and that fits your needs best.  Evaluation of “fitting the needs” is done by investigating the previous number of usages of technologies.

Hold the agents.
Hold the technology objects.
Hold the nodes.
Hold the edges.
to interact [my-agent my-technology my-ie]
Handles interaction between node or edge and agent.
to interact-agent-node [my-agent my-technology]
Handle interaction between agent and node
to interact-agent-edge [my-agent my-technology]
Handle interaction between agent and edge
to add-agent-to-edge [my-agent my-costs-benefits]
Adds an agent to the edge
to remove-agent-from-edge [my-agent]
Removes an agent from the edge
to add-agent-to-node [my-agent my-costs-benefits]
Adds an agent to the node
to remove-agent-from-node [my-agent]
Removes an agent to the node
to buy-technology [my-technology-name]
Implements the core buying-act (while the decision which technoloy to buy is implemented within purchase-technology)
to purchase-technology
Handles technology purchase decision of agents Basic Version: Buy one of that technologies that are actually not available to you (not your property) and that fits your needs best.
Holds the agents and information like the technology owned, actual state based on previous actions and variables used for calculate-utility (SEU calculation)
Holds the technologies
Hold the nodes’ information concerning their characteristics as well as actual values, indicating their state.
Holds the edges
to-report calculate-costs-benefits [my-ie my-technology my-agent]
Calculates costs benefits based on an agent’s action; depends on location (node/edge), technology-used, control-factor and technology-dependency
the technologie’s name.
Close