DCI2: Detecting routing deadlocks

For any question or remark please email f.verbeek -- at -- cs.ru.nl.

Step 3: create the routing function

This is the most involved part of the process: carefully define your routing function. Create a C file called "spidergon_routing.c" in the "networks" sub directory. Include the generated file "spidergon_definitions.h" (which will include the topology). We need one function, which given a current channel c and a destination processing node d returns a set of next hops. The data structure storing this set is initialized with at least the number of next hops plus one.