Package com.powsybl.iidm.reducer
Class NominalVoltageNetworkPredicate
- java.lang.Object
-
- com.powsybl.iidm.reducer.NominalVoltageNetworkPredicate
-
- All Implemented Interfaces:
NetworkPredicate
public class NominalVoltageNetworkPredicate extends Object implements NetworkPredicate
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description NominalVoltageNetworkPredicate(double minNominalVoltage, double maxNominalVoltage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Substation substation)
Return true if the givenSubstation
should be kept in the network, false otherwiseboolean
test(VoltageLevel voltageLevel)
Return true if the givenVoltageLevel
should be kept in the network, false otherwise
-
-
-
Method Detail
-
test
public boolean test(Substation substation)
Description copied from interface:NetworkPredicate
Return true if the givenSubstation
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-
test
public boolean test(VoltageLevel voltageLevel)
Description copied from interface:NetworkPredicate
Return true if the givenVoltageLevel
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-
-