diff --git a/src/main/java/com/upo/wmdsp/controllers/IGController.java b/src/main/java/com/upo/wmdsp/controllers/IGController.java index 53c4d39..47eb8bf 100644 --- a/src/main/java/com/upo/wmdsp/controllers/IGController.java +++ b/src/main/java/com/upo/wmdsp/controllers/IGController.java @@ -43,7 +43,7 @@ public String computeAlgorithm(@RequestParam("file") MultipartFile file, ReconstructionMethod reconstructionMethod = ReconstructionMethod.valueOf(reconstructionMethodString); // Create a new IG object with the provided parameters - IG ig = new IG(fileName, weight, maxIterations, REMOVE_VERTICES_PERCENTAGE, insertionMethod, + IG ig = new IG("execution/" + fileName, weight, maxIterations, REMOVE_VERTICES_PERCENTAGE, insertionMethod, destructionMethod, reconstructionMethod); // Run the greedy algorithm