mirror of
https://github.com/Echtzeitsysteme/iflye.git
synced 2024-05-20 12:00:47 +00:00
Enforces the correct code style
This commit is contained in:
parent
725cb43c8e
commit
984fbb45fe
|
@ -53,7 +53,7 @@ public class VneGipsSeqAlgorithmExampleTiny {
|
|||
algo.execute();
|
||||
|
||||
// GlobalMetricsManager.stopRuntime();
|
||||
|
||||
|
||||
ModelFacade.getInstance().validateModel();
|
||||
|
||||
// Save model to file
|
||||
|
|
|
@ -10,6 +10,7 @@ import com.gurobi.gurobi.GRBException;
|
|||
import com.gurobi.gurobi.GRBLinExpr;
|
||||
import com.gurobi.gurobi.GRBModel;
|
||||
import com.gurobi.gurobi.GRBVar;
|
||||
|
||||
import ilp.solver.examples.GurobiExample;
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,6 +21,7 @@ import com.gurobi.gurobi.GRBException;
|
|||
import com.gurobi.gurobi.GRBLinExpr;
|
||||
import com.gurobi.gurobi.GRBModel;
|
||||
import com.gurobi.gurobi.GRBVar;
|
||||
|
||||
import ilp.wrapper.IlpSolverException;
|
||||
import ilp.wrapper.IncrementalIlpSolver;
|
||||
import ilp.wrapper.SolverStatus;
|
||||
|
|
|
@ -6,7 +6,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
import java.util.Set;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import algorithms.AlgorithmConfig;
|
||||
|
|
|
@ -6,8 +6,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
|
|||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import facade.ModelFacade;
|
||||
|
|
|
@ -43,7 +43,7 @@ public class VneGipsAlgorithm extends AbstractAlgorithm {
|
|||
"The VNE GIPS algorithm can only be used with the total communication cost C.");
|
||||
}
|
||||
|
||||
// TODO: Time measurement
|
||||
// TODO: Time measurement
|
||||
final ResourceSet model = ModelFacade.getInstance().getResourceSet();
|
||||
final boolean gipsSuccess = MdvneGipsIflyeAdapter.execute(model);
|
||||
return gipsSuccess;
|
||||
|
|
Loading…
Reference in a new issue