edge¶
Syntax¶
Parameters¶
from-agent-id- An agent ID for the source of the edge.
to-agent-id- An agent ID for the destination of the edge.
edge-weight- A real number for the initial weight of the edge.
Description¶
A network property that specifies an initial edge in the network.
Note
If the network is undirected, two edges are added, one in each direction. Both edges have the same weight.
Examples¶
The following creates a network with two initial edges: