@Test public void checkLimits() { List<LimitViolation> violations = Security.checkLimits(network); assertEquals(5, violations.size()); assertViolations(violations); violations = Security.checkLimits(network, 1); assertViolations(violations); }
public static List<LimitViolation> checkLimits(Network network) { return checkLimits(network, EnumSet.allOf(CurrentLimitType.class), 1f); }
Security { public static List<LimitViolation> checkLimits(Network network) { return checkLimits(network, EnumSet.allOf(CurrentLimitType.class), 1f); } }
Security { public static List<LimitViolation> checkLimits(Network network) { return checkLimits(network, EnumSet.allOf(CurrentLimitType.class), 1f); } private  Security(); }
Security { public static List<LimitViolation> checkLimits(Network network) { return checkLimits(network, EnumSet.allOf(CurrentLimitType.class), 1f); } private  Security(); static List<LimitViolation> checkLimits(Network network); static List<LimitViolation> checkLimits(Network network, float limitReduction); static List<LimitViolation> checkLimits(Network network, CurrentLimitType currentLimitType, float limitReduction); static List<LimitViolation> checkLimits(Network network, Set<CurrentLimitType> currentLimitTypes, float limitReduction); static String printLimitsViolations(Network network); static String printLimitsViolations(Network network, boolean writeName); static String printLimitsViolations(Network network, LimitViolationFilter filter); static String printLimitsViolations(List<LimitViolation> violations, Network network); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationFilter filter); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationFilter filter, TableFormatterConfig formatterConfig); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationWriteConfig printConfig); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     LimitViolationFilter limitViolationFilter); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     TableFormatterConfig formatterConfig, LimitViolationFilter limitViolationFilter); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     LimitViolationWriteConfig printConfig); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
            LimitViolationFilter limitViolationFilter); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      LimitViolationFilter limitViolationFilter, boolean filterPreContingencyViolations); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      TableFormatterConfig formatterConfig, LimitViolationFilter limitViolationFilter, boolean filterPreContingencyViolations); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      PostContingencyLimitViolationWriteConfig writeConfig); static void print(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory tableFormatterFactory, TableFormatterConfig tableFormatterConfig); static void print(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory tableFormatterFactory,
                             PostContingencyLimitViolationWriteConfig writeConfig); }
Security { public static List<LimitViolation> checkLimits(Network network) { return checkLimits(network, EnumSet.allOf(CurrentLimitType.class), 1f); } private  Security(); static List<LimitViolation> checkLimits(Network network); static List<LimitViolation> checkLimits(Network network, float limitReduction); static List<LimitViolation> checkLimits(Network network, CurrentLimitType currentLimitType, float limitReduction); static List<LimitViolation> checkLimits(Network network, Set<CurrentLimitType> currentLimitTypes, float limitReduction); static String printLimitsViolations(Network network); static String printLimitsViolations(Network network, boolean writeName); static String printLimitsViolations(Network network, LimitViolationFilter filter); static String printLimitsViolations(List<LimitViolation> violations, Network network); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationFilter filter); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationFilter filter, TableFormatterConfig formatterConfig); static String printLimitsViolations(List<LimitViolation> violations, Network network, LimitViolationWriteConfig printConfig); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     LimitViolationFilter limitViolationFilter); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     TableFormatterConfig formatterConfig, LimitViolationFilter limitViolationFilter); static void printPreContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                     LimitViolationWriteConfig printConfig); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
            LimitViolationFilter limitViolationFilter); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      LimitViolationFilter limitViolationFilter, boolean filterPreContingencyViolations); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      TableFormatterConfig formatterConfig, LimitViolationFilter limitViolationFilter, boolean filterPreContingencyViolations); static void printPostContingencyViolations(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory formatterFactory,
                                                      PostContingencyLimitViolationWriteConfig writeConfig); static void print(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory tableFormatterFactory, TableFormatterConfig tableFormatterConfig); static void print(SecurityAnalysisResult result, Network network, Writer writer, TableFormatterFactory tableFormatterFactory,
                             PostContingencyLimitViolationWriteConfig writeConfig);  }