public class SubNetworkPredicate extends Object implements NetworkPredicate
Constructor and Description |
---|
SubNetworkPredicate(VoltageLevel vl,
int maxDepth) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(Substation substation)
Return true if the given
Substation should be kept in the network, false otherwise |
boolean |
test(VoltageLevel voltageLevel)
Return true if the given
VoltageLevel should be kept in the network, false otherwise |
public SubNetworkPredicate(VoltageLevel vl, int maxDepth)
public boolean test(Substation substation)
NetworkPredicate
Substation
should be kept in the network, false otherwisetest
in interface NetworkPredicate
public boolean test(VoltageLevel voltageLevel)
NetworkPredicate
VoltageLevel
should be kept in the network, false otherwisetest
in interface NetworkPredicate
Copyright © 2020. All rights reserved.