LogoExcessive Utilities

Breadth-First Search Upgrade

The Breadth-First Search Upgrade can be placed inside Transfer and Retrieval Nodes to make their Ping search a Transfer Pipe network from nearest to farthest.

At each junction, the Ping searches one pipe down each valid branch before searching two pipes down any branch. It continues this process one step at a time, effectively searching all branches simultaneously.

This ensures that the nearest valid inventory, tank, or energy storage is always found first. If multiple valid destinations are the same distance from the Node, their search order is random.

Each pipe visited still takes one operation. Networks with many branches and sub-branches can therefore take much longer to search. Breadth-First Search is best suited to networks with numerous short branches, such as a line of Transfer Pipes running alongside a line of inventories.

Once a branch has been searched, the Node does not search it again until the Ping resets. A Transfer Node normally resets its Ping when its buffer empties. A Pseudo Round Robin Upgrade prevents that reset.

The Upgrade changes only the search order. It does not increase transfer speed or the amount moved per operation.

Only one Breadth-First Search Upgrade can be installed in a Node. It cannot be installed together with a Depth-First Search Upgrade.

Recipe