at.dms.kjc.spacedynamic
Class XYRouter
java.lang.Object
at.dms.kjc.spacedynamic.XYRouter
public class XYRouter
- extends Object
Generate a route from
src
to dst
routing X then Y, just as the dynamic
network would do it
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XYRouter
public XYRouter()
getRoute
public static LinkedList<ComputeNode> getRoute(SpdStaticStreamGraph ssg,
ComputeNode src,
ComputeNode dst)
- return the route from src to dest (including both) first x then y, this
returns a list of compute nodes (tiles)
distance
public static int distance(SpdStaticStreamGraph ssg,
ComputeNode src,
ComputeNode dst)