map/0 is an Erlang function exported by "age" module. This function broadcasts a special service command to gather information about the nodes connectivity within AGE. As result, it generates a list with tuples of the paired nodes. The code sample below shows 3 connected computers in the following Grid map: •"getafix" is connected to "elix" •"getafix" is connected to "desktop-29epp3e" •"elix" is connected to "getafix" •"desktop-29epp3e" is connected to "getafix" The connections are bi-directional, therefore, they are represented as tuples for both directions. As you can see, the Node 24502152 ("getafix") works as a concentrator in this small grid. |
|