diff --git a/malva/rep/GA/newGA.hh b/malva/rep/GA/newGA.hh index 168348f4b44ecf22b0afc8d130427d3ab102faaf..def4981d220d0d5153dba4e95233cb43ba7588fe 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; };