From 322f7fe201d16e4accc7d6d96a54f1be0d4aaf39 Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Thu, 18 May 2023 08:53:40 +0000 Subject: [PATCH] PathComp component - FrontEnd: - Updated KSP algorithm to support k-paths inspected and k-paths returned parameters --- .../frontend/service/algorithms/KShortestPathAlgorithm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pathcomp/frontend/service/algorithms/KShortestPathAlgorithm.py b/src/pathcomp/frontend/service/algorithms/KShortestPathAlgorithm.py index 920d72e82..e0fbbe08a 100644 --- a/src/pathcomp/frontend/service/algorithms/KShortestPathAlgorithm.py +++ b/src/pathcomp/frontend/service/algorithms/KShortestPathAlgorithm.py @@ -26,4 +26,5 @@ class KShortestPathAlgorithm(_Algorithm): for service_request in self.service_list: service_request['algId' ] = self.algorithm_id service_request['syncPaths'] = self.sync_paths - service_request['kPaths' ] = self.k_return + service_request['kPaths_inspection'] = self.k_inspection + service_request['kPaths_return' ] = self.k_return -- GitLab