From 2e3de3b80739503a7bc6c416d279d4c2b756c11c Mon Sep 17 00:00:00 2001 From: Lluis Gifre Date: Mon, 29 Aug 2022 16:41:54 +0000 Subject: [PATCH] PathComp backend: - Implemented temporary hack to reduce memory used --- src/pathcomp/backend/pathComp_tools.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pathcomp/backend/pathComp_tools.h b/src/pathcomp/backend/pathComp_tools.h index 90a0cc8b8..b8adda535 100644 --- a/src/pathcomp/backend/pathComp_tools.h +++ b/src/pathcomp/backend/pathComp_tools.h @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////////////// /** - * # Copyright 2022 Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es + * # Copyright 2022 Centre Tecnol�gic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. - * Author: CTTC/CERCA PONS RU Ricardo Martínez (ricardo.martinez@cttc.es) + * Author: CTTC/CERCA PONS RU Ricardo Mart�nez (ricardo.martinez@cttc.es) */ ///////////////////////////////////////////////////////////////////////////////////////// @@ -110,8 +110,8 @@ struct map_nodes_t { gint numMapNodes; }; -#define MAX_NUM_VERTICES 100 -#define MAX_NUM_EDGES 100 +#define MAX_NUM_VERTICES 10 // 100 # LGR: reduced from 100 to 10 to divide by 10 the memory used +#define MAX_NUM_EDGES 10 // 100 # LGR: reduced from 100 to 10 to divide by 10 the memory used // Structures for the graph composition struct targetNodes_t { // remote / targeted node @@ -144,7 +144,7 @@ struct context_t { //////////////////////////////////////////////////// // Structure for the Set of Contexts /////////////////////////////////////////////////// -#define MAX_NUMBER_CONTEXT 100 +#define MAX_NUMBER_CONTEXT 5 // 100 # LGR: reduced from 100 to 5 to divide by 20 the memory used struct contextSet_t { struct context_t contextList[MAX_NUMBER_CONTEXT]; gint num_context_set; -- GitLab