Package com.powsybl.security.distributed
Class SubContingenciesProvider
java.lang.Object
com.powsybl.security.distributed.SubContingenciesProvider
- All Implemented Interfaces:
ContingenciesProvider
A contingencies provider which provides a subset of another provider,
defined by a
Partition
.
For exemple, if the other provider defines 10 contingencies,
an instance of this provider will return the 5 first contingencies for the partition 1/2,
or the 5 next for the partition 2/2.- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Constructor Summary
ConstructorDescriptionSubContingenciesProvider
(ContingenciesProvider delegate, com.powsybl.computation.Partition partition) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.contingency.ContingenciesProvider
asScript
-
Constructor Details
-
SubContingenciesProvider
public SubContingenciesProvider(ContingenciesProvider delegate, com.powsybl.computation.Partition partition)
-
-
Method Details
-
getContingencies
- Specified by:
getContingencies
in interfaceContingenciesProvider
-