From 08c707023cd1713e131275e9cac70c8d4d0a253a Mon Sep 17 00:00:00 2001 From: Lucas Hernan Bruzzone Rodriguez <lucas.bruzzone@fing.edu.uy> Date: Thu, 6 Sep 2018 23:49:20 -0300 Subject: [PATCH] Update newGA.hh --- malva/rep/GA/newGA.hh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/malva/rep/GA/newGA.hh b/malva/rep/GA/newGA.hh index 168348f..def4981 100644 --- a/malva/rep/GA/newGA.hh +++ b/malva/rep/GA/newGA.hh @@ -64,14 +64,16 @@ skeleton newGA int dimension() const; int cantEmpleados() const; - Rarray<Empleado>& Empleados(); - Rarray<int>& tareasDias(); + int cantDias() const; + Rarray<Empleado> empleados() const; + Rarray<int> tareasEsf() const; private: int _cantEmpleados; int _dimension; - Rarray<Empleado> empleadoss(); - Rarray<int> tareasDiass(); + int _cantDias; + Rarray<Empleado> _empleados; + Rarray<int> _tareasEsf; }; //Solution ---------------------------------------------------------------------------- @@ -105,7 +107,7 @@ skeleton newGA Rarray<int>& array_var(); private: - Rarray<int> tareasSolucion; + Rarray<int> _var; const Problem& _pbm; }; -- GitLab