Enforces the correct code style

This commit is contained in:
Maximilian Kratz 2024-03-29 08:28:23 +01:00
parent 725cb43c8e
commit 984fbb45fe
6 changed files with 4 additions and 5 deletions

View file

@ -53,7 +53,7 @@ public class VneGipsSeqAlgorithmExampleTiny {
algo.execute();
// GlobalMetricsManager.stopRuntime();
ModelFacade.getInstance().validateModel();
// Save model to file

View 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;
/**

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;