inlinks()
Get the list of agents that have links to the current agent in a directed network.
Synopsis
inlinks(network_name)
Description
Get the list of agents that have links to the current agent in a directed network.
Parameters
network_name
A valid directed network name.
Returns
Returns a list of agent IDs. The list may be empty.
Errors
A compiler error occurs if the network does not exist or is undirected.
Examples
my_suppliers = inlinks(my_supply_chain_network)