public class XYTorusUnfolded extends Routing
Constructor and Description |
---|
XYTorusUnfolded() |
Modifier and Type | Method and Description |
---|---|
int |
calcOutputPort(Topology topology,
int src_tile,
int dst_tile)
Evaluates the output port ID required to reach the next hop.
|
calcInputPort
public int calcOutputPort(Topology topology, int src_tile, int dst_tile)
Routing
calcOutputPort
in class Routing
topology
- The topologysrc_tile
- The tile of the optical routerdst_tile
- The destination tile