Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
easea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Arnaud Kress
easea
Commits
799c1961
Commit
799c1961
authored
Feb 07, 2011
by
Frédéric Krüger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction bug CComUDPLayer.h
parent
22158784
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
examples/sphere/sphere.ez
examples/sphere/sphere.ez
+7
-2
examples/weierstrass_std/weierstrass.ez
examples/weierstrass_std/weierstrass.ez
+1
-1
libeasea/include/CComUDPLayer.h
libeasea/include/CComUDPLayer.h
+1
-1
No files found.
examples/sphere/sphere.ez
View file @
799c1961
...
...
@@ -69,6 +69,10 @@ float gauss()
\After everything else function:
//cout << "After everything else function called" << endl;
cout << "Best individual " << bBest->fitness << endl;
ofstream SaveFile("save.csv", ios::app);
SaveFile << bBest->fitness << ";" << endl;
SaveFile.close();
\end
\At the beginning of each generation function:
...
...
@@ -141,8 +145,8 @@ CPPFLAGS+=
\end
\Default run parameters : // Please let the parameters appear in this order
Number of generations : 100 // NB_GEN
Time limit:
6
0 // In seconds, 0 to deactivate
Number of generations : 100
0
// NB_GEN
Time limit: 0 // In seconds, 0 to deactivate
Population size : 3840 //POP_SIZE
Offspring size : 3840 // 40%
Mutation probability : 1 // MUT_PROB
...
...
@@ -165,6 +169,7 @@ CPPFLAGS+=
Remote island model: false
IP file: ip.txt //File containing all the remote island's IP
Migration probability : 1.0
Save population: false
Start from file:false
...
...
examples/weierstrass_std/weierstrass.ez
View file @
799c1961
...
...
@@ -186,7 +186,7 @@ CPPFLAGS+=
Elite: 1
Print stats: true //Default: 1
Generate csv stats file:false
Generate gnuplot script:
fals
e
Generate gnuplot script:
tru
e
Generate R script:true
Plot stats:false //Default: 0
...
...
libeasea/include/CComUDPLayer.h
View file @
799c1961
...
...
@@ -22,7 +22,7 @@
#include <string>
#define _MULTI_THREADED
#define MAXINDSIZE 5000
/*maximum size of an individual in number of characters*/
#define MAXINDSIZE 5000
0
/*maximum size of an individual in number of characters*/
typedef
struct
{
char
data
[
MAXINDSIZE
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment