com.farao_community.farao.ra_optimisation.PreContingencyResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of farao-ra-optimisation-api Show documentation
Show all versions of farao-ra-optimisation-api Show documentation
Interface of a remedial actions optimisation task
/*
* Copyright (c) 2019, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.farao_community.farao.ra_optimisation;
import java.beans.ConstructorProperties;
import java.util.ArrayList;
import java.util.List;
/**
* @author Sebastien Murgey {@literal }
*/
public class PreContingencyResult {
private final List monitoredBranchResults;
private final List remedialActionResults;
public PreContingencyResult() {
this.monitoredBranchResults = new ArrayList<>();
this.remedialActionResults = new ArrayList<>();
}
public PreContingencyResult(
final List monitoredBranchResults) {
this.monitoredBranchResults = monitoredBranchResults;
this.remedialActionResults = new ArrayList<>();
}
@ConstructorProperties({"monitoredBranchResults", "remedialActionResults"})
public PreContingencyResult(
final List monitoredBranchResults,
final List remedialActionResults) {
this.monitoredBranchResults = monitoredBranchResults;
this.remedialActionResults = remedialActionResults;
}
public List getMonitoredBranchResults() {
return monitoredBranchResults;
}
public List getRemedialActionResults() {
return remedialActionResults;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy