Commit 2e3de3b8 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp backend:

- Implemented temporary hack to reduce memory used
parent e8a635e9
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
////////////////////////////////////////////////////////////////////////////////////////
/**
 * 	# Copyright 2022 Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
 * 	# Copyright 2022 Centre Tecnolgic 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 Martnez (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;