Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AEPractico
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gonzalo Menendez Berch
AEPractico
Commits
ec73b562
Commit
ec73b562
authored
6 years ago
by
Lucas Hernan Bruzzone Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Update newGA.hh
parent
3180bbb7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
malva/rep/GA/newGA.hh
+10
-5
10 additions, 5 deletions
malva/rep/GA/newGA.hh
with
10 additions
and
5 deletions
malva/rep/GA/newGA.hh
+
10
−
5
View file @
ec73b562
/*********************************************************************************************************
*** ***
*** new Genetic Algorithm Skeleton v1.5 ***
*** Developed by: Gabriel Jes
ú
s Luque Polo ***
*** Developed by: Gabriel Jes
ús
Luque Polo ***
*** Last Update: 27-01-2003 ***
*** ***
*** tabular size = 4 ***
...
...
@@ -13,9 +13,9 @@
skeleton
newGA
{
// Si se definen m
á
s de 5 nuevos operadores por parte del usuario, se debe cambiar esta constante.
// Si se definen m
ás
de 5 nuevos operadores por parte del usuario, se debe cambiar esta constante.
#define MAX_OP_USER 5
// Si se alg
ú
n operador tiene m
á
s de 5 par
á
metros se debe modificar esta variable
// Si se alg
ún
operador tiene má
s
de 5 parám
et
ros se debe modificar esta variable
#define MAX_PROB_PER_OP 5
provides
class
SetUpParams
;
...
...
@@ -63,10 +63,15 @@ skeleton newGA
Direction
direction
()
const
;
int
dimension
()
const
;
int
cantEmpleados
()
const
;
Rarray
<
Empleado
>&
Empleados
();
Rarray
<
int
>&
tareasDias
();
private:
int
_cantEmpleados
;
int
_dimension
;
Rarray
<
Empleado
>
empleadoss
();
Rarray
<
int
>
tareasDiass
();
};
//Solution ----------------------------------------------------------------------------
...
...
@@ -100,7 +105,7 @@ skeleton newGA
Rarray
<
int
>&
array_var
();
private:
Rarray
<
int
>
_var
;
Rarray
<
int
>
tareasSolucion
;
const
Problem
&
_pbm
;
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment