public final class AmplUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static StringToIntMapper<AmplSubset> |
createMapper(Network network) |
static void |
fillMapper(StringToIntMapper<AmplSubset> mapper,
Network network) |
static Bus |
getBus(Terminal t) |
static java.lang.Iterable<Bus> |
getBuses(Network n) |
static int |
getBusNum(StringToIntMapper<AmplSubset> mapper,
Terminal t) |
static Bus |
getConnectableBus(Terminal t) |
static int |
getConnectableBusNum(StringToIntMapper<AmplSubset> mapper,
Terminal t) |
static void |
resetNetworkMapping(StringToIntMapper<AmplSubset> mapper) |
public static int getBusNum(StringToIntMapper<AmplSubset> mapper, Terminal t)
public static int getConnectableBusNum(StringToIntMapper<AmplSubset> mapper, Terminal t)
public static StringToIntMapper<AmplSubset> createMapper(Network network)
public static void fillMapper(StringToIntMapper<AmplSubset> mapper, Network network)
public static void resetNetworkMapping(StringToIntMapper<AmplSubset> mapper)