public static class PlacementFrame.PlacementNetwork
extends java.lang.Object
Constructor and Description |
---|
PlacementFrame.PlacementNetwork(java.util.List<PlacementFrame.PlacementPort> ports,
boolean isRail)
Constructor to create this PlacementNetwork with a list of
PlacementPort objects that it connects.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PlacementFrame.PlacementPort> |
getPortsOnNet()
Method to return the list of PlacementPort objects on this PlacementNetwork.
|
boolean |
isOnRail()
Method to tell whether this PlacementNetwork is on a Power or Ground rail.
|
public PlacementFrame.PlacementNetwork(java.util.List<PlacementFrame.PlacementPort> ports, boolean isRail)
ports
- a list of PlacementPort objects that it connects.isRail
- true if the network is on a power/ground rail.public java.util.List<PlacementFrame.PlacementPort> getPortsOnNet()
public boolean isOnRail()