Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -206,11 +206,11 @@ class simulation_for_machine_learning{
|
|
206 |
// Process of simulation
|
207 |
void Simulation(int iter, vector<HomogeneityTest*> &D, int rank, mt19937boost Gw)
|
208 |
{
|
209 |
-
//
|
210 |
char file_to_save[512];
|
211 |
sprintf(file_to_save,".//to_machine_learning_2024//to_machine_learning[rank=%d].csv", rank);
|
212 |
|
213 |
-
//
|
214 |
if( iter == 0 )
|
215 |
{
|
216 |
FILE *ou = fopen(file_to_save,"w");
|
|
|
206 |
// Process of simulation
|
207 |
void Simulation(int iter, vector<HomogeneityTest*> &D, int rank, mt19937boost Gw)
|
208 |
{
|
209 |
+
// preparation the file to save
|
210 |
char file_to_save[512];
|
211 |
sprintf(file_to_save,".//to_machine_learning_2024//to_machine_learning[rank=%d].csv", rank);
|
212 |
|
213 |
+
// if it is the first iteration, the head of the table must be read
|
214 |
if( iter == 0 )
|
215 |
{
|
216 |
FILE *ou = fopen(file_to_save,"w");
|