public class RoutingDebug
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RoutingDebug.RewireNets |
static class |
RoutingDebug.ShowSpineNets |
Constructor and Description |
---|
RoutingDebug() |
Modifier and Type | Method and Description |
---|---|
static void |
debugRoute(SeaOfGatesEngine.NeededRoute nr)
Method called at the end of the routing to show the results.
|
static void |
doGlobalRouting()
Method called when global routing results are to be viewed.
|
static com.sun.electric.tool.user.ui.RoutingDebug.SVState |
ensureDebuggingShadow(SeaOfGatesEngine.SearchVertex sv,
boolean start) |
static SeaOfGatesEngine.SearchVertex |
findDebugSearchVertex(java.awt.event.MouseEvent evt)
Method called from user interface to identify a SearchVertex at a given coordinate.
|
static java.lang.String |
getDesiredRouteToDebug() |
static boolean |
isActive()
Method to tell whether the interactive routing dialog is present.
|
static boolean |
isEndADebugging() |
static boolean |
isRewireNetworks()
Method to tell whether networks are being rewired for least-distance.
|
static boolean |
isShowingSpines()
Method to tell whether networks are being rewired for least-distance.
|
static boolean |
isTestGlobalRouting() |
static void |
previewSelectedSV(SeaOfGatesEngine.SearchVertex sv,
boolean center)
Method called from user interface to show when the mouse hovers over a SearchVertex.
|
static void |
saveSVDetails(SeaOfGatesEngine.SearchVertex sv,
java.lang.String[] details,
boolean forcePrinting)
Method called during search to save cost information about a SearchVertex.
|
static void |
saveSVLink(SeaOfGatesEngine.SearchVertex sv,
int lastDirection)
Method called during search to record a directional link between two SearchVertex objects.
|
static void |
setGlobalRouting(SeaOfGatesEngine.GlobalRouter gr) |
static void |
setNetName(java.lang.Integer netID,
java.lang.String name) |
static void |
showGlobalRouting() |
static void |
showSelectedSV(SeaOfGatesEngine.SearchVertex sv)
Method called from user interface to show a SearchVertex that was clicked.
|
static void |
showSpineNetworks(java.util.List<SeaOfGatesEngine.RoutesOnNetwork> allRoutes) |
static void |
startDebugging()
Method to do bring up the dialog for interactive routing.
|
public static void startDebugging()
public static boolean isActive()
public static boolean isEndADebugging()
public static void setNetName(java.lang.Integer netID, java.lang.String name)
public static void debugRoute(SeaOfGatesEngine.NeededRoute nr)
nr
- the NeededRoute that ran.public static void saveSVLink(SeaOfGatesEngine.SearchVertex sv, int lastDirection)
sv
- the SearchVertex that was created.lastDirection
- the direction in which the last SearchVertex came to this one.public static void saveSVDetails(SeaOfGatesEngine.SearchVertex sv, java.lang.String[] details, boolean forcePrinting)
sv
- the SearchVertex that was just analyzed.details
- a description of the cost and other information.public static SeaOfGatesEngine.SearchVertex findDebugSearchVertex(java.awt.event.MouseEvent evt)
evt
- the coordinates of the mouse.public static void previewSelectedSV(SeaOfGatesEngine.SearchVertex sv, boolean center)
sv
- the SearchVertex to highlight.public static void showSelectedSV(SeaOfGatesEngine.SearchVertex sv)
sv
- SearchVertex that was clicked.public static void doGlobalRouting()
public static java.lang.String getDesiredRouteToDebug()
public static boolean isTestGlobalRouting()
public static void setGlobalRouting(SeaOfGatesEngine.GlobalRouter gr)
public static void showGlobalRouting()
public static void showSpineNetworks(java.util.List<SeaOfGatesEngine.RoutesOnNetwork> allRoutes)
public static boolean isShowingSpines()
public static boolean isRewireNetworks()
public static com.sun.electric.tool.user.ui.RoutingDebug.SVState ensureDebuggingShadow(SeaOfGatesEngine.SearchVertex sv, boolean start)