Package com.powsybl.iidm.reducer
Class DefaultNetworkPredicate
java.lang.Object
com.powsybl.iidm.reducer.DefaultNetworkPredicate
- All Implemented Interfaces:
NetworkPredicate
A default implementation of
NetworkPredicate
that keeps everything.- Author:
- Mathieu Bague <mathieu.bague at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
DefaultNetworkPredicate
public DefaultNetworkPredicate()
-
-
Method Details
-
test
Description copied from interface:NetworkPredicate
Return true if the givenSubstation
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-
test
Description copied from interface:NetworkPredicate
Return true if the givenVoltageLevel
should be kept in the network, false otherwise- Specified by:
test
in interfaceNetworkPredicate
-