From dc41b748597436bc7e8263bc9256147cbdfac8f3 Mon Sep 17 00:00:00 2001
From: Denys Bulavka <dbulavka@kam-laptop.koleje.cuni.cz>
Date: Thu, 18 Feb 2021 13:23:27 +0100
Subject: [PATCH] Add random sampling and random modification of database

---
 README.md                                     |  11 +-
 elm_processing/inc/Database.hpp               |  14 +-
 elm_processing/inc/Mdp_toolbox.hpp            |   2 +-
 elm_processing/inc/Report_manager.hpp         |   4 +-
 elm_processing/src/Database.cpp               |  47 ++-
 elm_processing/src/Mdp_toolbox.cpp            |   4 +-
 elm_processing/src/Report_manager.cpp         |   9 +-
 elm_processing/src/main.cpp                   |  20 +-
 .../README.md                                 |  70 +++++
 .../input/structure_empiric_frequency.txt     | 274 +++++++++---------
 ...tructure_empiric_frequency_modif_100_1.txt | 120 ++++++++
 ...ructure_empiric_frequency_modif_100_10.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_2.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_3.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_4.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_5.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_6.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_7.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_8.txt | 120 ++++++++
 ...tructure_empiric_frequency_modif_100_9.txt | 120 ++++++++
 ...structure_empiric_frequency_modif_25_1.txt | 138 +++++++++
 ...tructure_empiric_frequency_modif_25_10.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_2.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_3.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_4.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_5.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_6.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_7.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_8.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_25_9.txt | 138 +++++++++
 ...structure_empiric_frequency_modif_50_1.txt | 135 +++++++++
 ...tructure_empiric_frequency_modif_50_10.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_2.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_3.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_4.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_5.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_6.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_7.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_8.txt | 135 +++++++++
 ...structure_empiric_frequency_modif_50_9.txt | 135 +++++++++
 ...tructure_empiric_frequency_sample_25_1.txt |  40 +++
 ...ructure_empiric_frequency_sample_25_10.txt |  48 +++
 ...tructure_empiric_frequency_sample_25_2.txt |  42 +++
 ...tructure_empiric_frequency_sample_25_3.txt |  36 +++
 ...tructure_empiric_frequency_sample_25_4.txt |  37 +++
 ...tructure_empiric_frequency_sample_25_5.txt |  40 +++
 ...tructure_empiric_frequency_sample_25_6.txt |  43 +++
 ...tructure_empiric_frequency_sample_25_7.txt |  34 +++
 ...tructure_empiric_frequency_sample_25_8.txt |  37 +++
 ...tructure_empiric_frequency_sample_25_9.txt |  44 +++
 ...tructure_empiric_frequency_sample_50_1.txt |  78 +++++
 ...ructure_empiric_frequency_sample_50_10.txt |  74 +++++
 ...tructure_empiric_frequency_sample_50_2.txt |  77 +++++
 ...tructure_empiric_frequency_sample_50_3.txt |  78 +++++
 ...tructure_empiric_frequency_sample_50_4.txt |  78 +++++
 ...tructure_empiric_frequency_sample_50_5.txt |  75 +++++
 ...tructure_empiric_frequency_sample_50_6.txt |  75 +++++
 ...tructure_empiric_frequency_sample_50_7.txt |  72 +++++
 ...tructure_empiric_frequency_sample_50_8.txt |  80 +++++
 ...tructure_empiric_frequency_sample_50_9.txt |  77 +++++
 .../main.py                                   | 110 +++----
 61 files changed, 5456 insertions(+), 204 deletions(-)
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/README.md
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_1.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_10.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_2.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_3.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_4.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_5.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_6.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_7.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_8.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_9.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_1.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_10.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_2.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_3.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_4.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_5.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_6.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_7.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_8.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_9.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_1.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_10.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_2.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_3.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_4.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_5.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_6.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_7.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_8.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_9.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_1.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_10.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_2.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_3.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_4.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_5.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_6.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_7.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_8.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_9.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_1.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_10.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_2.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_3.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_4.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_5.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_6.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_7.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_8.txt
 create mode 100644 python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_9.txt

diff --git a/README.md b/README.md
index 2527adc..b5b8cc4 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,14 @@ Software:
             ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 4 -k NUMBER
         For each k, outputs the number of pairs of motifs with k discriminant positions:
             ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 5
-        
-    Python scripts:
+    
+  
+  We can as well generate any of the previous reports using a randomly selected subset of the database, for example to select 50% of motifs at random and calculate the number of aminoacids per coordinate:
+    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 1 -a 0.5  
+  
+  We can as well select a random sample of motifs, and in each of them uniformly at random we select uniformly at random a coordinate and set it to wildcard "." with the option -b %. For example if we select a motif class to modify with 0.5 of probability and the, over this modified datbaase we calculate the number of aminoacids per coordinate:
+    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 1 -b 0.5  
+  
+  Python scripts:
         Each python script has an input directoy and an output directory. To excecute the each python script it is enought to be inside the script folder and run 'python main.py' which will generate the output and place it in output directory. The rule is the script that has "empiric" in is name should have "structure_empiric_frequency.txt" in its input folder, while the script that has "theoretic" in its name should have "structure_theoretic_probabilities.txt" in its input folder.
     
diff --git a/elm_processing/inc/Database.hpp b/elm_processing/inc/Database.hpp
index a05ccd6..45b916a 100644
--- a/elm_processing/inc/Database.hpp
+++ b/elm_processing/inc/Database.hpp
@@ -3,6 +3,8 @@
 
 #include "Header.hpp"
 #include "Motif_class.hpp"
+#include <random>
+#include <chrono>
 
 class Database
 {
@@ -13,6 +15,10 @@ private:
   std::vector<Motif_class> motifs_eliminated;
   bool clean_ends;
   bool clean_marked;
+
+  float database_sample_weight;
+  float database_modif_weight;
+
   /*
     {a,b} always choose a, and for | always take the shortest one.
   */
@@ -32,13 +38,17 @@ private:
   std::vector<Motif_class> motif_database;
 
   void clean_marked_motifs();
-  
+
+  void database_sample();
+  void database_modif();
+  Motif_class modif_motif_class(Motif_class);
+
 public:
   Database();
   /*
     input: string location of file, bool true if modif
   */
-  Database(std::string , bool, std::string);
+  Database(std::string , bool, std::string, float, float);
   
   std::vector<Motif_class> get_motif_database();
 };
diff --git a/elm_processing/inc/Mdp_toolbox.hpp b/elm_processing/inc/Mdp_toolbox.hpp
index 72b5b72..3e7af55 100644
--- a/elm_processing/inc/Mdp_toolbox.hpp
+++ b/elm_processing/inc/Mdp_toolbox.hpp
@@ -26,7 +26,7 @@ private:
   
 public:
   Mdp_toolbox();
-  Mdp_toolbox(std::string, bool, std::string);
+  Mdp_toolbox(Database);
   std::vector<Motif_pair> get_pairs_k_discriminant_positions(int);
   int get_mdp(Motif_pair);
   std::vector<Motif_class> get_k_discriminant_motifs(Motif_class, int);
diff --git a/elm_processing/inc/Report_manager.hpp b/elm_processing/inc/Report_manager.hpp
index 6b62839..0c8844e 100644
--- a/elm_processing/inc/Report_manager.hpp
+++ b/elm_processing/inc/Report_manager.hpp
@@ -1,17 +1,19 @@
 #ifndef _REPORT_MANAGER_
 #define _REPORT_MANAGER_
 
+#include "Database.hpp"
 #include "Mdp_toolbox.hpp"
 #include "Statistical_toolbox.hpp"
 
 class Report_manager{
+  Database database;
   Mdp_toolbox mdp_toolbox;
   Statistical_toolbox statistical_toolbox;
   std::string separator = "\t";
   
 public:
   //first argument is database location, the second argument is if we want to remove the endpoint that have more than 10 characters
-  Report_manager(std::string, bool, std::string);
+  Report_manager(std::string, bool, std::string, float, float);
   
   //mdp_toolbox reports
   std::stringstream number_of_aminoacids_per_coordinate(void);
diff --git a/elm_processing/src/Database.cpp b/elm_processing/src/Database.cpp
index 5d9b6ae..28231c0 100644
--- a/elm_processing/src/Database.cpp
+++ b/elm_processing/src/Database.cpp
@@ -2,7 +2,7 @@
 
 Database::Database(){}
 
-Database::Database(std::string database_filename, bool clean_ends, std::string marked_motifs_filename)
+Database::Database(std::string database_filename, bool clean_ends, std::string marked_motifs_filename, float database_sample_weight, float database_modif_weight)
 {
   load_motif_database(database_filename);
 
@@ -13,6 +13,51 @@ Database::Database(std::string database_filename, bool clean_ends, std::string m
   this->clean_ends = clean_ends;
   if(clean_ends)
     clean_end_characters();
+
+  this->database_sample_weight = database_sample_weight;
+  if(database_sample_weight != 1)
+    database_sample();
+
+  this->database_modif_weight = database_modif_weight;
+  if(database_modif_weight != 0)
+    database_modif();
+}
+
+
+void Database::database_sample()
+{
+  std::default_random_engine generator(std::chrono::steady_clock::now().time_since_epoch().count());
+  std::bernoulli_distribution distribution(database_sample_weight);
+
+  //keep the count of which entries to eliminate
+  std::vector<std::vector<Motif_class>::iterator> entries;
+
+  for (std::vector<Motif_class>::iterator it = motif_database.begin(); it!= motif_database.end(); ++it)
+    if(!distribution(generator))
+      entries.push_back(it);
+
+  for(auto it : entries)
+    motif_database.erase(it);
+}
+
+void Database::database_modif()
+{
+  std::default_random_engine generator;
+  std::bernoulli_distribution distribution(database_modif_weight);
+
+  for (int i =0; i<motif_database.size(); i++)
+    if(distribution(generator))
+      motif_database[i] = modif_motif_class(motif_database[i]);
+}
+
+Motif_class Database::modif_motif_class(Motif_class motif_class)
+{
+  std::default_random_engine generator;
+  std::uniform_int_distribution<int> distribution(0, motif_class.get_structure().size()-1);
+  int index_to_modify = distribution(generator);
+  std::vector<std::string> new_sequence = motif_class.get_sequence();
+  new_sequence[index_to_modify] = all;
+  return Motif_class(motif_class.get_name(), new_sequence);
 }
 
 void Database::clean_marked_motifs()
diff --git a/elm_processing/src/Mdp_toolbox.cpp b/elm_processing/src/Mdp_toolbox.cpp
index dc5201c..c67ace9 100644
--- a/elm_processing/src/Mdp_toolbox.cpp
+++ b/elm_processing/src/Mdp_toolbox.cpp
@@ -2,9 +2,9 @@
 
 Mdp_toolbox::Mdp_toolbox(){}
 
-Mdp_toolbox::Mdp_toolbox(std::string database_location, bool clean_ends, std::string clean_marked_motifs)
+Mdp_toolbox::Mdp_toolbox(Database database)
 {
-  database = Database(database_location, clean_ends, clean_marked_motifs);
+  this->database = database;
   
   for(auto motif_1: database.get_motif_database())
     for(auto motif_2: database.get_motif_database())
diff --git a/elm_processing/src/Report_manager.cpp b/elm_processing/src/Report_manager.cpp
index f9d06d0..092b4ea 100644
--- a/elm_processing/src/Report_manager.cpp
+++ b/elm_processing/src/Report_manager.cpp
@@ -1,8 +1,9 @@
 #include "Report_manager.hpp"
 
-Report_manager::Report_manager(std::string database_location, bool clean_ends, std::string marked_motifs_filename)
+Report_manager::Report_manager(std::string database_location, bool clean_ends, std::string marked_motifs_filename, float database_sample, float database_modif)
 {
-  mdp_toolbox = Mdp_toolbox(database_location, clean_ends, marked_motifs_filename);
+  database = Database(database_location, clean_ends, marked_motifs_filename, database_sample, database_modif);
+  mdp_toolbox = Mdp_toolbox(database);
   statistical_toolbox = Statistical_toolbox(mdp_toolbox);
 }
 
@@ -132,7 +133,7 @@ std::stringstream Report_manager::empiric_motif_probabilities()
 {
   std::stringstream output;
 
-  output << "Structure" << separator << "Probability" << std::endl;
+  //output << "Structure" << separator << "Probability" << std::endl;
   for(std::pair<std::vector<int>, float> element: statistical_toolbox.get_empiric_motif_probabilities())
     output << element.first << separator << statistical_toolbox.compute_empiric_based_probability(element.first)<< separator << element.second << std::endl;
 
@@ -143,7 +144,7 @@ std::stringstream Report_manager::all_lenghts_accumulated_probabilities()
 {
   std::stringstream output;
 
-  output << "Structure" << separator << "Probability" << std::endl;
+  //output << "Structure" << separator << "Probability" << std::endl;
   for(std::pair<std::vector<int>, float> element : statistical_toolbox.get_theoretic_motif_probabilities())
     output << element.first << separator << element.second << std::endl;
 
diff --git a/elm_processing/src/main.cpp b/elm_processing/src/main.cpp
index eac45c7..e2c1628 100644
--- a/elm_processing/src/main.cpp
+++ b/elm_processing/src/main.cpp
@@ -10,6 +10,7 @@ int main(int argc, char* argv[])
   int report;
   int option;
   int discriminant_index = -1;
+  float database_sample = 1, database_modif = 0;
 
   std::stringstream help_message;
   help_message << "-h: Help message" <<  std::endl;
@@ -18,9 +19,10 @@ int main(int argc, char* argv[])
   help_message << "-m: Avoid motifs specified in the file" << std::endl;
   help_message << "-r: Number of report" << std::endl;
   help_message << "-k: Discriminant index" << std::endl;;
+  help_message << "-a: Percentage of database considered" << std::endl;;
+  help_message << "-b: Percentage of database to be modified" << std::endl;
 
-
-  if((option = getopt(argc, argv, ":hd:cm:r:k:")) == -1)
+  if((option = getopt(argc, argv, ":hd:cm:r:k:a:b:")) == -1)
     {
       std::cout << help_message.str();
       return 0;
@@ -50,17 +52,27 @@ int main(int argc, char* argv[])
         case 'r':
           report = std::atoi(optarg);
           break;
+        case 'a':
+          database_sample = std::strtof(optarg, NULL);
+          if(database_sample<0 or database_sample>1)
+            throw std::invalid_argument("The value of a must be between 0 and 1.");
+          break;
+        case 'b':
+          database_modif = std::strtof(optarg, NULL);
+          if(database_modif<0 or database_modif>1)
+            throw std::invalid_argument("The value of b must be between 0 and 1.");
+          break;
         case 'k':
           discriminant_index = std::atoi(optarg);
           break;
         }
-    }while((option = getopt(argc, argv, ":hd:cm:r:k:")) != -1);
+    }while((option = getopt(argc, argv, ":hd:cm:r:k:a:b:")) != -1);
 
   //Make sure that if report 3 or 4 is invoked we have specified the discriminant_index
   if((report == 3 or report == 4) and discriminant_index == -1)
     throw std::invalid_argument( "The parameter -k is missing." );
 
-  Report_manager report_manager(database_location, clean_ends, marked_motifs_filename);
+  Report_manager report_manager(database_location, clean_ends, marked_motifs_filename, database_sample, database_modif);
 
   switch(report)
     {
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/README.md b/python_scripts/accumulated_probability_according_to_empiric_mdp/README.md
new file mode 100644
index 0000000..b904960
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/README.md
@@ -0,0 +1,70 @@
+Generate input: we execute the following commands from the folder elm_processing/bin
+1)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt
+2)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt -a 0.25 >> structure_empiric_frequency_sample_25_i.txt
+3)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt -a 0.5 >> structure_empiric_frequency_sample_5_i.txt
+4)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt -b 0.25 >> structure_empiric_frequency_modif_25_i.txt
+5)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt -b 0.5 >> structure_empiric_frequency_modif_50_i.txt
+6)    ./main -d ../../database/elm_input.txt -c -m ../../database/marked_motifs.txt -r 6 >> structure_empiric_frequency.txt -b 1 >> structure_empiric_frequency_modif_100_i.txt
+
+Moreover, we execute 2,3,4,5 and 6 a total of 10 times each, where the "i" stands for the number of execution.
+
+Usage: python main.py -i INPUT_FILE_NAME -o OUTPUT_FILE_NAME_PREFIX
+
+Generate output: execute the following commands, or run ./generate_output.sh.
+
+python main.py -i input/structure_empiric_frequency.txt -o output/all_database/accumulated_probability_according_to_mdp
+
+python main.py -i input/structure_empiric_frequency_sample_25_1.txt  -o output/sample_database_25_1/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_2.txt  -o output/sample_database_25_2/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_3.txt  -o output/sample_database_25_3/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_4.txt  -o output/sample_database_25_4/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_5.txt  -o output/sample_database_25_5/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_6.txt  -o output/sample_database_25_6/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_7.txt  -o output/sample_database_25_7/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_8.txt  -o output/sample_database_25_8/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_9.txt  -o output/sample_database_25_9/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_25_10.txt  -o output/sample_database_25_10/accumulated_probability_according_to_mdp
+
+python main.py -i input/structure_empiric_frequency_sample_50_1.txt  -o output/sample_database_50_1/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_2.txt  -o output/sample_database_50_2/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_3.txt  -o output/sample_database_50_3/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_4.txt  -o output/sample_database_50_4/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_5.txt  -o output/sample_database_50_5/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_6.txt  -o output/sample_database_50_6/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_7.txt  -o output/sample_database_50_7/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_8.txt  -o output/sample_database_50_8/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_9.txt  -o output/sample_database_50_9/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_sample_50_10.txt  -o output/sample_database_50_10/accumulated_probability_according_to_mdp
+
+python main.py -i input/structure_empiric_frequency_modif_25_1.txt  -o output/modif_database_25_1/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_2.txt  -o output/modif_database_25_2/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_3.txt  -o output/modif_database_25_3/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_4.txt  -o output/modif_database_25_4/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_5.txt  -o output/modif_database_25_5/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_6.txt  -o output/modif_database_25_6/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_7.txt  -o output/modif_database_25_7/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_8.txt  -o output/modif_database_25_8/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_9.txt  -o output/modif_database_25_9/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_25_10.txt  -o output/modif_database_25_10/accumulated_probability_according_to_mdp
+
+python main.py -i input/structure_empiric_frequency_modif_50_1.txt  -o output/modif_database_50_1/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_2.txt  -o output/modif_database_50_2/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_3.txt  -o output/modif_database_50_3/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_4.txt  -o output/modif_database_50_4/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_5.txt  -o output/modif_database_50_5/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_6.txt  -o output/modif_database_50_6/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_7.txt  -o output/modif_database_50_7/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_8.txt  -o output/modif_database_50_8/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_9.txt  -o output/modif_database_50_9/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_50_10.txt  -o output/modif_database_50_10/accumulated_probability_according_to_mdp
+
+python main.py -i input/structure_empiric_frequency_modif_100_1.txt  -o output/modif_database_100_1/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_2.txt  -o output/modif_database_100_2/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_3.txt  -o output/modif_database_100_3/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_4.txt  -o output/modif_database_100_4/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_5.txt  -o output/modif_database_100_5/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_6.txt  -o output/modif_database_100_6/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_7.txt  -o output/modif_database_100_7/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_8.txt  -o output/modif_database_100_8/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_9.txt  -o output/modif_database_100_9/accumulated_probability_according_to_mdp
+python main.py -i input/structure_empiric_frequency_modif_100_10.txt  -o output/modif_database_100_10/accumulated_probability_according_to_mdp
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency.txt
index 1215e1c..4c24fba 100644
--- a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency.txt
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency.txt
@@ -1,137 +1,137 @@
-1	0,00581395	0.00581395 
-1,1	0,0181686	0.0116279
-1,2	0,0145349	0.0232558
-1,3	0,00363372	0.00581395
-1,6	0,00363372	0.00581395
-1,1,1	0,0184219	0.0290698
-1,1,2	0,010628	0.00581395
-1,1,9	0,0021256	0.00581395
-1,1,19	0,0042512	0.00581395
-1,1,20	0,00354267	0.00581395
-1,2,19	0,00163508	0.00581395
-1,2,20	0,00136256	0.00581395
-1,4,16	0,000327015	0.00581395
-2,6,20	0,000157219	0.0116279
-3,4,5	2,5155e-05	0.00581395
-5,6,20	6,28875e-05	0.00581395
-1,1,1,1	0,0094494	0.0116279
-1,1,1,2	0,02008	0.00581395
-1,1,1,20	0,00974469	0.0174419
-1,1,2,2	0,0160012	0.00581395
-1,1,2,3	0,00752999	0.00581395
-1,1,2,19	0,00470624	0.00581395
-1,1,2,20	0,0155306	0.0174419
-1,1,3,3	0,000885881	0.00581395
-1,1,4,5	0,000249154	0.00581395
-1,1,5,7	0,000581359	0.00581395
-1,1,6,20	0,000456782	0.00581395
-1,1,7,20	0,00319748	0.00581395
-1,1,9,20	0,000456782	0.00581395
-1,1,20,20	0,0025123	0.0174419
-1,2,2,2	0,0056671	0.00581395
-1,2,2,3	0,00400031	0.00581395
-1,2,2,20	0,00825063	0.00581395
-1,2,4,20	0,00145599	0.0116279
-1,2,7,20	0,00339732	0.00581395
-1,2,15,19	0,00014707	0.00581395
-1,2,20,20	0,00266932	0.0232558
-1,3,20,20	0,000628076	0.00581395
-1,5,20,20	0,000235528	0.00581395
-1,7,7,7	4,94559e-05	0.00581395
-2,2,2,3	0,000708387	0.00581395
-2,2,2,20	0,00146105	0.00581395
-2,2,3,19	0,000312524	0.00581395
-2,2,7,20	0,000902413	0.00581395
-2,3,19,19	4,59594e-05	0.00581395
-1,1,1,1,20	0,00740782	0.00581395
-1,1,1,2,3	0,00296194	0.00581395
-1,1,1,2,20	0,012144	0.0116279
-1,1,1,3,20	0,00291455	0.00581395
-1,1,1,4,20	0,00194304	0.00581395
-1,1,1,19,19	0,000246829	0.00581395
-1,1,1,20,20	0,00497903	0.0290698
-1,1,2,2,20	0,00746555	0.0116279
-1,1,2,3,5	0,000437008	0.00581395
-1,1,2,3,20	0,00358347	0.00581395
-1,1,2,6,7	4,85565e-05	0.00581395
-1,1,2,19,19	0,000303478	0.00581395
-1,1,2,20,20	0,00612175	0.0116279
-1,2,2,2,20	0,00203977	0.00581395
-1,2,2,20,20	0,00250892	0.0116279
-1,2,5,5,20	8,8118e-05	0.00581395
-1,2,20,20,20	0,00091436	0.0116279
-1,4,4,13,19	1,27361e-06	0.00581395
-1,6,11,20,20	1,60571e-05	0.00581395
-2,2,20,20,20	0,000187369	0.00581395
-3,3,4,20,20	9,4763e-06	0.00581395
-1,1,1,1,1,20	0,00392235	0.00581395
-1,1,1,1,2,2	0,00198902	0.00581395
-1,1,1,1,5,10	1,98902e-05	0.00581395
-1,1,1,1,20,20	0,00517344	0.00581395
-1,1,1,2,20,20	0,00713578	0.0116279
-1,1,1,3,20,20	0,00214074	0.00581395
-1,1,1,4,20,20	0,00285431	0.00581395
-1,1,1,19,20,20	0,00107037	0.00581395
-1,1,1,20,20,20	0,00303271	0.00581395
-1,1,2,5,20,20	0,000738185	0.00581395
-1,1,2,19,19,20	0,000108557	0.00581395
-1,1,2,20,20,20	0,00313728	0.0232558
-1,1,4,4,20,20	0,000590548	0.00581395
-1,1,6,20,20,20	0,000156864	0.00581395
-1,2,2,3,20,20	0,000763639	0.0116279
-1,2,2,4,4,4	2,08778e-05	0.00581395
-1,2,2,4,20,20	0,00101819	0.00581395
-1,2,2,20,20,20	0,00108182	0.00581395
-1,3,3,20,20,20	9,7364e-05	0.00581395
-1,3,4,20,20,20	0,000259637	0.00581395
-1,1,1,1,2,2,2	0,000105918	0.00581395
-1,1,1,1,2,3,20	0,000507522	0.00581395
-1,1,1,1,20,20,20	0,000213079	0.00581395
-1,1,1,2,4,20,20	0,000889372	0.00581395
-1,1,2,2,3,4,4	0,000177942	0.00581395
-1,1,3,20,20,20,20	8,23336e-05	0.00581395
-1,1,4,20,20,20,20	0,000117619	0.00581395
-1,1,5,20,20,20,20	2,35239e-05	0.00581395
-1,2,2,4,6,6,20	3,00685e-05	0.00581395
-1,2,3,4,4,5,6	1,42353e-05	0.00581395
-2,2,4,4,20,20,20	4,71296e-05	0.00581395
-3,3,3,4,16,16,20	4,24424e-07	0.00581395
-1,1,1,1,1,2,2,2	6,94544e-05	0.00581395
-1,1,1,1,1,20,20,20	3,70269e-05	0.00581395
-1,1,1,1,2,2,2,3	0,000231515	0.00581395
-1,1,1,2,6,20,20,20	2,13324e-05	0.00581395
-1,1,2,2,2,3,4,20	0,000274388	0.00581395
-1,1,2,2,2,20,20,20	0,000174214	0.00581395
-1,1,3,20,20,20,20,20	1,75535e-05	0.00581395
-1,1,4,5,19,19,19,19	1,0978e-07	0.00581395
-1,2,2,2,2,19,19,19	4,70682e-06	0.00581395
-1,3,3,3,3,5,20,20	1,37137e-05	0.00581395
-2,2,2,2,3,20,20,20	4,51667e-05	0.00581395
-3,3,3,3,3,4,20,20	3,65698e-06	0.0116279
-1,1,1,1,1,2,3,4,4	7,21768e-06	0.00581395
-1,1,1,20,20,20,20,20,20	1,85388e-06	0.00581395
-1,1,2,2,3,3,5,20,20	5,02992e-05	0.00581395
-1,1,2,2,3,19,19,19,19	2,92383e-06	0.00581395
-1,1,2,3,4,5,6,19,20	7,984e-06	0.00581395
-1,2,2,2,20,20,20,20,20	1,69568e-05	0.00581395
-2,2,2,2,2,3,4,20,20	1,36317e-05	0.00581395
-1,1,2,2,2,3,4,20,20,20	2,26871e-05	0.00581395
-1,1,2,2,19,19,19,19,19,20	1,01734e-05	0.00581395
-1,2,2,3,4,7,20,20,20,20	5,55602e-06	0.00581395
-1,1,1,1,1,3,3,4,20,20,20	5,28118e-05	0.00581395
-1,1,1,2,2,2,2,3,3,4,20	3,06875e-05	0.00581395
-1,1,1,2,2,2,3,20,20,20,20	8,14331e-05	0.00581395
-1,1,1,3,3,20,20,20,20,20,20	1,96994e-05	0.00581395
-2,3,3,4,4,5,19,19,20,20,20	3,7707e-07	0.00581395
-1,1,1,1,1,20,20,20,20,20,20,20	2,98036e-05	0.00581395
-1,1,1,2,2,3,4,4,6,7,9,20	3,52508e-08	0.00581395
-1,1,1,2,2,20,20,20,20,20,20,20	5,47413e-05	0.00581395
-1,1,2,5,5,20,20,20,20,20,20,20	1,75954e-05	0.00581395
-1,2,4,5,6,19,19,20,20,20,20,20	2,43295e-06	0.00581395
-1,1,1,1,1,1,1,1,1,1,1,20,20	8,75229e-05	0.00581395
-1,1,2,2,2,5,20,20,20,20,20,20,20	4,73707e-06	0.00581395
-1,1,1,1,1,1,2,3,4,20,20,20,20,20	2,58103e-05	0.00581395
-1,2,3,7,8,20,20,20,20,20,20,20,20,20	3,90179e-06	0.00581395
-1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9,9212e-05	0.00581395
-1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0,000158207	0.00581395
-1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	3,57219e-05	0.00581395
+1	0.00571429	0.00581395
+1,1	0.0178571	0.0116279
+1,1,1	0.0181061	0.0290698
+1,1,1,1	0.00928741	0.0116279
+1,1,1,1,1,1,1,1,1,1,1,20,20	8.60225e-05	0.00581395
+1,1,1,1,1,1,2,3,4,20,20,20,20,20	2.53678e-05	0.00581395
+1,1,1,1,1,2,2,2	6.82637e-05	0.00581395
+1,1,1,1,1,2,3,4,4	7.09394e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	5.19064e-05	0.00581395
+1,1,1,1,1,20	0.00385511	0.00581395
+1,1,1,1,1,20,20,20	3.63922e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	2.92927e-05	0.00581395
+1,1,1,1,2,2	0.00195492	0.00581395
+1,1,1,1,2,2,2	0.000104102	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000227546	0.00581395
+1,1,1,1,2,3,20	0.000498822	0.00581395
+1,1,1,1,5,10	1.95492e-05	0.00581395
+1,1,1,1,20	0.00728083	0.00581395
+1,1,1,1,20,20	0.00508476	0.00581395
+1,1,1,1,20,20,20	0.000209426	0.00581395
+1,1,1,2	0.0197357	0.00581395
+1,1,1,2,2,2,2,3,3,4,20	3.01614e-05	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.00371e-05	0.00581395
+1,1,1,2,2,3,4,4,6,7,9,20	3.46465e-08	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.38029e-05	0.00581395
+1,1,1,2,3	0.00291117	0.00581395
+1,1,1,2,4,20,20	0.000874126	0.00581395
+1,1,1,2,6,20,20,20	2.09667e-05	0.00581395
+1,1,1,2,20	0.0119358	0.0116279
+1,1,1,2,20,20	0.00701346	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	1.93617e-05	0.00581395
+1,1,1,3,20	0.00286459	0.00581395
+1,1,1,3,20,20	0.00210404	0.00581395
+1,1,1,4,20	0.00190973	0.00581395
+1,1,1,4,20,20	0.00280538	0.00581395
+1,1,1,19,19	0.000242597	0.00581395
+1,1,1,19,20,20	0.00105202	0.00581395
+1,1,1,20	0.00957764	0.0174419
+1,1,1,20,20	0.00489367	0.0290698
+1,1,1,20,20,20	0.00298072	0.00581395
+1,1,1,20,20,20,20,20,20	1.8221e-06	0.00581395
+1,1,2	0.0104458	0.00581395
+1,1,2,2	0.0157269	0.00581395
+1,1,2,2,2,3,4,20	0.000269684	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	4.65587e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000171228	0.00581395
+1,1,2,2,3,3,5,20,20	4.94369e-05	0.00581395
+1,1,2,2,3,4,4	0.000174891	0.00581395
+1,1,2,2,3,19,19,19,19	2.8737e-06	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00733757	0.0116279
+1,1,2,3	0.0074009	0.00581395
+1,1,2,3,4,5,6,19,20	7.84713e-06	0.00581395
+1,1,2,3,5	0.000429517	0.00581395
+1,1,2,3,20	0.00352204	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.72938e-05	0.00581395
+1,1,2,5,20,20	0.00072553	0.00581395
+1,1,2,6,7	4.77241e-05	0.00581395
+1,1,2,19	0.00462556	0.00581395
+1,1,2,19,19	0.000298275	0.00581395
+1,1,2,19,19,20	0.000106696	0.00581395
+1,1,2,20	0.0152644	0.0174419
+1,1,2,20,20	0.00601681	0.0116279
+1,1,2,20,20,20	0.0030835	0.0232558
+1,1,3,3	0.000870694	0.00581395
+1,1,3,20,20,20,20	8.09222e-05	0.00581395
+1,1,3,20,20,20,20,20	1.72526e-05	0.00581395
+1,1,4,4,20,20	0.000580424	0.00581395
+1,1,4,5	0.000244883	0.00581395
+1,1,4,5,19,19,19,19	1.07898e-07	0.00581395
+1,1,4,20,20,20,20	0.000115603	0.00581395
+1,1,5,7	0.000571393	0.00581395
+1,1,5,20,20,20,20	2.31206e-05	0.00581395
+1,1,6,20	0.000448952	0.00581395
+1,1,6,20,20,20	0.000154175	0.00581395
+1,1,7,20	0.00314266	0.00581395
+1,1,9	0.00208916	0.00581395
+1,1,9,20	0.000448952	0.00581395
+1,1,19	0.00417832	0.00581395
+1,1,20	0.00348193	0.00581395
+1,1,20,20	0.00246923	0.0174419
+1,2	0.0142857	0.0232558
+1,2,2,2	0.00556995	0.00581395
+1,2,2,2,2,19,19,19	4.62614e-06	0.00581395
+1,2,2,2,20	0.0020048	0.00581395
+1,2,2,2,20,20,20,20,20	1.66661e-05	0.00581395
+1,2,2,3	0.00393173	0.00581395
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	3.51095e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,20,20	0.000750548	0.0116279
+1,2,2,4,4,4	2.05199e-05	0.00581395
+1,2,2,4,6,6,20	2.95531e-05	0.00581395
+1,2,2,4,20,20	0.00100073	0.00581395
+1,2,2,20	0.00810919	0.00581395
+1,2,2,20,20	0.00246591	0.0116279
+1,2,2,20,20,20	0.00106328	0.00581395
+1,2,3,4,4,5,6	1.39913e-05	0.00581395
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	3.8349e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.39124e-06	0.00581395
+1,2,4,20	0.00143103	0.0116279
+1,2,5,5,20	8.66074e-05	0.00581395
+1,2,7,20	0.00333908	0.00581395
+1,2,15,19	0.000144549	0.00581395
+1,2,19	0.00160705	0.00581395
+1,2,20	0.00133921	0.00581395
+1,2,20,20	0.00262356	0.0232558
+1,2,20,20,20	0.000898686	0.0116279
+1,3	0.00357143	0.00581395
+1,3,3,3,3,5,20,20	1.34786e-05	0.00581395
+1,3,3,20,20,20	9.56949e-05	0.00581395
+1,3,4,20,20,20	0.000255186	0.00581395
+1,3,20,20	0.000617309	0.00581395
+1,4,4,13,19	1.25178e-06	0.00581395
+1,4,16	0.000321409	0.00581395
+1,5,20,20	0.000231491	0.00581395
+1,6	0.00357143	0.00581395
+1,6,11,20,20	1.57818e-05	0.00581395
+1,7,7,7	4.86081e-05	0.00581395
+2,2,2,2,2,3,4,20,20	1.3398e-05	0.00581395
+2,2,2,2,3,20,20,20	4.43924e-05	0.00581395
+2,2,2,3	0.000696244	0.00581395
+2,2,2,20	0.001436	0.00581395
+2,2,3,19	0.000307166	0.00581395
+2,2,4,4,20,20,20	4.63217e-05	0.00581395
+2,2,7,20	0.000886943	0.00581395
+2,2,20,20,20	0.000184157	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	3.70606e-07	0.00581395
+2,3,19,19	4.51715e-05	0.00581395
+2,6,20	0.000154524	0.0116279
+3,3,3,3,3,4,20,20	3.59429e-06	0.0116279
+3,3,3,4,16,16,20	4.17148e-07	0.00581395
+3,3,4,20,20	9.31385e-06	0.00581395
+3,4,5	2.47238e-05	0.00581395
+5,6,20	6.18095e-05	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_1.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_1.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_1.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_10.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_10.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_10.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_2.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_2.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_2.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_3.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_3.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_3.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_4.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_4.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_4.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_5.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_5.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_5.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_6.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_6.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_6.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_7.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_7.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_7.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_8.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_8.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_8.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_9.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_9.txt
new file mode 100644
index 0000000..6524a8e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_100_9.txt
@@ -0,0 +1,120 @@
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	1.52975e-05	0.00581395
+1,1,1,1,1,3,3,20,20,20,20	4.30549e-05	0.00581395
+1,1,1,1,2,2,2,3,3,20,20,20,20,20,20	0.0001011	0.00581395
+1,1,1,1,2,2,2,20	0.000139712	0.0116279
+1,1,1,1,20,20	0.00457185	0.00581395
+1,1,1,1,20,20,20,20	0.000102888	0.00581395
+1,1,1,1,20,20,20,20,20,20,20,20	6.18359e-05	0.00581395
+1,1,1,2,2,2,20	0.000101617	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	6.54587e-05	0.00581395
+1,1,1,2,2,20	0.00361938	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.0449e-07	0.00581395
+1,1,1,2,3,20,20	0.000439087	0.00581395
+1,1,1,2,20,20,20,20	0.000304191	0.00581395
+1,1,1,3,20	0.00315938	0.00581395
+1,1,1,5,10,20	2.0052e-05	0.00581395
+1,1,1,20	0.0136931	0.0116279
+1,1,1,20,20	0.0112158	0.0232558
+1,1,1,20,20,20	0.00579101	0.0174419
+1,1,1,20,20,20,20	0.000298823	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.25326e-05	0.00581395
+1,1,2,2,2,3,20,20,20,20	2.40337e-05	0.00581395
+1,1,2,2,3,4,20,20	0.000332574	0.00581395
+1,1,2,2,3,5,20,20,20	0.000118394	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,20,20,20,20	0.000337255	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20	4.12239e-05	0.00581395
+1,1,2,2,20,20,20,20,20,20,20,20,20,20,20,20,20	0.000380919	0.00581395
+1,1,2,3,4,4,20	0.000313634	0.00581395
+1,1,2,4,20,20,20	0.00102454	0.00581395
+1,1,2,19,19,19,19,19,20,20	1.93108e-05	0.00581395
+1,1,2,20	0.020062	0.0116279
+1,1,2,20,20	0.0112158	0.0174419
+1,1,2,20,20,20	0.00825219	0.0116279
+1,1,3,3,20,20,20,20,20,20,20	2.16576e-05	0.00581395
+1,1,3,4,5,6,19,20,20	3.00274e-06	0.00581395
+1,1,3,20	0.00573199	0.0116279
+1,1,3,20,20	0.0037386	0.00581395
+1,1,3,20,20,20	0.0017373	0.00581395
+1,1,5,5,20,20,20,20,20,20,20,20	1.0306e-05	0.00581395
+1,1,5,20	0.002866	0.00581395
+1,1,19,19,20	0.000526564	0.00581395
+1,1,19,20,20,20	0.00130298	0.00581395
+1,1,20	0.0123457	0.0348837
+1,1,20,20	0.0116232	0.0348837
+1,1,20,20,20	0.00589869	0.0348837
+1,1,20,20,20,20	0.00275073	0.00581395
+1,1,20,20,20,20,20	0.000116209	0.00581395
+1,1,20,20,20,20,20,20,20	3.65206e-06	0.00581395
+1,2,2,2,19,19,19,20	1.57545e-05	0.00581395
+1,2,2,3,19,19,19,19,20	5.02131e-06	0.00581395
+1,2,2,4,7,20,20,20,20,20	7.04987e-06	0.00581395
+1,2,2,20	0.00979771	0.00581395
+1,2,2,20,20	0.0037386	0.00581395
+1,2,2,20,20,20	0.00391979	0.0116279
+1,2,2,20,20,20,20,20,20	3.69359e-05	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,5,20	0.000421251	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,6,19,19,20,20,20,20,20,20	5.63609e-06	0.00581395
+1,2,6,7,20	5.61668e-05	0.00581395
+1,2,19,19,20	0.000351043	0.00581395
+1,2,19,19,20,20	0.000146585	0.00581395
+1,2,19,20	0.00466558	0.00581395
+1,2,20	0.00493827	0.00581395
+1,2,20,20	0.0113529	0.0232558
+1,2,20,20,20	0.00393246	0.0174419
+1,2,20,20,20,20	0.00261319	0.0232558
+1,3,3,3,5,20,20,20	4.11389e-05	0.00581395
+1,3,4,4,5,6,20	2.32321e-05	0.00581395
+1,3,20,20,20,20	0.000550146	0.0116279
+1,3,20,20,20,20,20,20	2.31534e-05	0.00581395
+1,4,4,20,20,20	0.000271454	0.00581395
+1,4,5,19,19,19,19,20	2.02022e-07	0.00581395
+1,4,5,20	0.000266604	0.00581395
+1,4,13,19,20	9.36114e-06	0.00581395
+1,4,20,20,20,20,20	0.000129121	0.00581395
+1,5,20,20,20,20,20	2.58242e-05	0.00581395
+1,6,20,20	0.000540614	0.00581395
+1,6,20,20,20,20	0.000137536	0.00581395
+1,7,20,20	0.00270307	0.00581395
+1,15,19,20	0.00022217	0.00581395
+1,19,20	0.00329218	0.00581395
+1,20	0	0.0348837
+1,20,20	0	0.00581395
+1,20,20,20	0	0.0290698
+2,2,2,2,2,3,20,20,20	2.0176e-05	0.00581395
+2,2,2,3,20,20,20,20	0.000108381	0.00581395
+2,2,3,20	0.00136712	0.0116279
+2,2,3,20,20,20	0.000391979	0.00581395
+2,2,4,4,4,20	7.0691e-06	0.00581395
+2,2,4,6,6,20,20	1.82953e-05	0.00581395
+2,2,20,20	0.00277222	0.00581395
+2,2,20,20,20,20	0.000620633	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.27132e-07	0.00581395
+2,3,19,20	0.000651011	0.00581395
+2,4,4,20,20,20,20	0.000138344	0.00581395
+2,4,20,20	0.000528042	0.00581395
+2,5,5,20,20	4.98481e-05	0.00581395
+2,7,20,20	0.00132011	0.00581395
+2,19,19,20	0.000271254	0.00581395
+2,19,20	0.000658436	0.00581395
+2,20	0	0.00581395
+2,20,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0174419
+3,3,3,3,3,20,20,20	1.00611e-05	0.00581395
+3,3,3,3,4,20,20,20	1.00611e-05	0.00581395
+3,3,4,16,16,20,20	2.50964e-06	0.00581395
+3,3,20,20,20	7.28233e-05	0.00581395
+3,4,20	0.000219479	0.00581395
+3,20,20,20	0	0.00581395
+4,16,20	0.000219479	0.00581395
+5,20,20,20	0	0.00581395
+6,11,20,20,20	1.16517e-05	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0174419
+7,7,7,20	2.15281e-05	0.00581395
+20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_1.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_1.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_1.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_10.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_10.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_10.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_2.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_2.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_2.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_3.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_3.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_3.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_4.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_4.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_4.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_5.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_5.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_5.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_6.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_6.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_6.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_7.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_7.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_7.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_8.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_8.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_8.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_9.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_9.txt
new file mode 100644
index 0000000..a2b89fb
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_25_9.txt
@@ -0,0 +1,138 @@
+1	0.00571429	0.00581395
+1,1	0.0188921	0.00581395
+1,1,1	0.0186012	0.0232558
+1,1,1,1	0.00790348	0.0116279
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000124263	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,2,2	6.1015e-05	0.00581395
+1,1,1,1,1,2,3,4,4	5.24508e-06	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.48675e-05	0.00581395
+1,1,1,1,1,20	0.00378837	0.00581395
+1,1,1,1,1,20,20,20	4.6314e-05	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00184499	0.00581395
+1,1,1,1,2,2,2	7.97197e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000187738	0.00581395
+1,1,1,1,2,3,20	0.000415207	0.00581395
+1,1,1,1,5,10	9.22493e-06	0.00581395
+1,1,1,1,20	0.00837009	0.00581395
+1,1,1,1,20,20	0.00558108	0.00581395
+1,1,1,1,20,20,20	0.000205956	0.00581395
+1,1,1,2	0.015539	0.00581395
+1,1,1,2,2,2,3,20,20,20,20	8.49563e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.0024186	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,6,20,20,20	2.87749e-05	0.00581395
+1,1,1,2,20	0.0123349	0.00581395
+1,1,1,2,20,20	0.00797298	0.0116279
+1,1,1,3,3,20,20,20,20,20,20	2.30406e-05	0.00581395
+1,1,1,3,20	0.00352425	0.00581395
+1,1,1,3,20,20	0.00239189	0.00581395
+1,1,1,19,19	0.000239941	0.00581395
+1,1,1,20	0.0115203	0.0116279
+1,1,1,20,20	0.00748902	0.0290698
+1,1,1,20,20,20	0.00365428	0.0116279
+1,1,1,20,20,20,20,20,20	2.22503e-06	0.00581395
+1,1,2	0.00892857	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	4.48121e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000269943	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.36347e-06	0.00581395
+1,1,2,2,2,20,20,20	0.000244034	0.00581395
+1,1,2,2,3,3,5,20,20	5.07531e-05	0.00581395
+1,1,2,2,3,4,4	0.000158234	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,2,20	0.00681663	0.00581395
+1,1,2,3,4,5,6,19,20	7.58217e-06	0.00581395
+1,1,2,3,5	0.000381884	0.00581395
+1,1,2,3,20	0.00389522	0.00581395
+1,1,2,4,20,20,20	0.000560636	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	4.24316e-05	0.00581395
+1,1,2,19	0.0039506	0.00581395
+1,1,2,19,19	0.000265197	0.00581395
+1,1,2,19,19,20	0.000116488	0.00581395
+1,1,2,20	0.0169876	0.0174419
+1,1,2,20,20	0.00827734	0.0116279
+1,1,2,20,20,20	0.0039153	0.0290698
+1,1,3,3	0.000871858	0.00581395
+1,1,3,20	0.00468623	0.00581395
+1,1,3,20,20,20,20	0.000102199	0.00581395
+1,1,3,20,20,20,20,20	2.76619e-05	0.00581395
+1,1,4,5	0.00024521	0.00581395
+1,1,4,20,20,20,20	0.000145999	0.00581395
+1,1,5,7	0.000572156	0.00581395
+1,1,6,20	0.000585779	0.00581395
+1,1,6,20,20,20	0.000195765	0.00581395
+1,1,7,20	0.00410045	0.00581395
+1,1,9,20	0.000585779	0.00581395
+1,1,19	0.00446429	0.00581395
+1,1,19,20,20,20	0.000587295	0.00581395
+1,1,20	0.00595238	0.0174419
+1,1,20,20	0.00419808	0.0174419
+1,1,20,20,20	0.00223357	0.0174419
+1,2	0.016793	0.0232558
+1,2,2,2	0.00375419	0.00581395
+1,2,2,2,2,19,19,19	4.80869e-06	0.00581395
+1,2,2,2,20	0.00167426	0.00581395
+1,2,2,2,20,20,20,20,20	2.19885e-05	0.00581395
+1,2,2,3	0.00310692	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	4.93631e-06	0.00581395
+1,2,2,3,20,20	0.000915265	0.0116279
+1,2,2,4,4,4	1.4414e-05	0.00581395
+1,2,2,4,6,6,20	3.15906e-05	0.00581395
+1,2,2,4,20,20	0.00106781	0.00581395
+1,2,2,20	0.00834984	0.00581395
+1,2,2,20,20	0.00304955	0.00581395
+1,2,2,20,20,20	0.00139832	0.00581395
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.37595e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00172755	0.0116279
+1,2,5,5,20	0.000102506	0.00581395
+1,2,7,20	0.00403096	0.00581395
+1,2,19	0.00142857	0.00581395
+1,2,20	0.00190476	0.00581395
+1,2,20,20	0.00412693	0.0232558
+1,2,20,20,20	0.00164579	0.0116279
+1,3,3,3,5,20,20,20	1.6605e-05	0.00581395
+1,3,3,20,20,20	0.000125849	0.00581395
+1,3,4,20,20,20	0.000293648	0.00581395
+1,4,4,20,20,20	0.000171294	0.00581395
+1,4,5,19,19,19,19,20	1.68234e-07	0.00581395
+1,4,13,19,20	1.08472e-05	0.00581395
+1,4,16	0.000357143	0.00581395
+1,5,20,20	0.000426924	0.00581395
+1,5,20,20,20,20,20	4.23185e-06	0.00581395
+1,6	0.00419825	0.00581395
+1,7,7,7	5.27979e-05	0.00581395
+1,15,19,20	9.92846e-05	0.00581395
+1,20	0	0.0116279
+1,20,20,20	0	0.00581395
+2,2,2,2,2,3,4,20,20	1.57899e-05	0.00581395
+2,2,2,2,3,20,20,20	6.06474e-05	0.00581395
+2,2,2,3	0.000509043	0.00581395
+2,2,3,19	0.000263298	0.00581395
+2,2,4,4,20,20,20	6.35882e-05	0.00581395
+2,2,20,20	0.00101425	0.00581395
+2,2,20,20,20	0.000303171	0.00581395
+2,3,3,4,4,5,19,19,20,20,20	4.64031e-07	0.00581395
+2,3,19,19	4.53962e-05	0.00581395
+2,6,20	0.000228571	0.00581395
+2,7,20,20	0.000489636	0.00581395
+2,20,20,20	0	0.00581395
+2,20,20,20,20	0	0.00581395
+3,3,3,3,3,4,20,20	2.72492e-06	0.00581395
+3,3,3,3,4,20,20,20	5.10923e-06	0.00581395
+3,3,3,4,16,16,20	4.84683e-07	0.00581395
+3,3,4,20,20	8.73483e-06	0.00581395
+3,4,5	2.85714e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000114286	0.00581395
+6,11,20,20,20	2.74985e-06	0.00581395
+6,20,20	0	0.00581395
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_1.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_1.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_1.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_10.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_10.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_10.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_2.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_2.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_2.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_3.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_3.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_3.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_4.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_4.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_4.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_5.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_5.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_5.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_6.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_6.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_6.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_7.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_7.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_7.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_8.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_8.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_8.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_9.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_9.txt
new file mode 100644
index 0000000..8753f4d
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_modif_50_9.txt
@@ -0,0 +1,135 @@
+1	0.00571429	0.00581395
+1,1	0.0185124	0.00581395
+1,1,1	0.0169286	0.0174419
+1,1,1,1	0.00547878	0.00581395
+1,1,1,1,1,1,1,1,1,1,20,20,20	0.000188182	0.00581395
+1,1,1,1,1,1,2,4,20,20,20,20,20,20	6.98122e-05	0.00581395
+1,1,1,1,1,2,3,4,20	2.87741e-05	0.00581395
+1,1,1,1,1,3,3,4,20,20,20	4.16086e-05	0.00581395
+1,1,1,1,1,20	0.00337001	0.00581395
+1,1,1,1,1,20,20,20,20,20,20,20	4.01834e-05	0.00581395
+1,1,1,1,2,2	0.00139772	0.00581395
+1,1,1,1,2,2,2	6.35401e-05	0.00581395
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	9.75112e-05	0.00581395
+1,1,1,1,2,2,2,3	0.000147578	0.00581395
+1,1,1,1,2,2,2,20	0.000207532	0.00581395
+1,1,1,1,2,3,20	0.000409598	0.00581395
+1,1,1,1,5,10	7.74358e-06	0.00581395
+1,1,1,1,20	0.00793892	0.00581395
+1,1,1,1,20,20	0.00634354	0.00581395
+1,1,1,1,20,20,20	0.00023973	0.00581395
+1,1,1,1,20,20,20,20	4.32178e-05	0.00581395
+1,1,1,2,2,2,20,20,20,20,20	4.59391e-05	0.00581395
+1,1,1,2,2,20,20,20,20,20,20,20	5.12544e-05	0.00581395
+1,1,1,2,3	0.00173528	0.00581395
+1,1,1,2,3,4,4,6,7,9,20,20	1.21578e-07	0.00581395
+1,1,1,2,20	0.0105852	0.00581395
+1,1,1,2,20,20,20,20	0.000151262	0.00581395
+1,1,1,3,3,20,20,20,20,20,20	2.93101e-05	0.00581395
+1,1,1,3,20	0.00373596	0.00581395
+1,1,1,3,20,20	0.00199013	0.00581395
+1,1,1,20	0.011817	0.0116279
+1,1,1,20,20	0.00949557	0.0174419
+1,1,1,20,20,20	0.00530702	0.0174419
+1,1,1,20,20,20,20,20,20	3.27618e-06	0.00581395
+1,1,2	0.00662423	0.00581395
+1,1,2,2,2,2,3,3,4,20,20	3.74015e-05	0.00581395
+1,1,2,2,2,3,4,20	0.000276709	0.00581395
+1,1,2,2,2,3,4,20,20,20	2.22982e-05	0.00581395
+1,1,2,2,2,20,20,20	0.000308827	0.00581395
+1,1,2,2,3,3,5,20,20	5.94567e-05	0.00581395
+1,1,2,2,3,4,4	0.000137585	0.00581395
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000155495	0.00581395
+1,1,2,2,5,20,20,20,20,20,20,20,20	8.45808e-06	0.00581395
+1,1,2,2,19,19,19,19,19,20	9.99898e-06	0.00581395
+1,1,2,3,4,5,6,19,20	6.29171e-06	0.00581395
+1,1,2,3,5	0.000306226	0.00581395
+1,1,2,4,20,20,20	0.000598192	0.00581395
+1,1,2,5,5,20,20,20,20,20,20,20	1.97695e-05	0.00581395
+1,1,2,6,7	3.40251e-05	0.00581395
+1,1,2,19,19	0.000212657	0.00581395
+1,1,2,20	0.0187681	0.0174419
+1,1,2,20,20	0.00949557	0.0116279
+1,1,2,20,20,20	0.00593137	0.0290698
+1,1,3,3	0.000619286	0.00581395
+1,1,3,20	0.00486582	0.00581395
+1,1,3,20,20	0.00335138	0.00581395
+1,1,3,20,20,20,20	0.000123717	0.00581395
+1,1,3,20,20,20,20,20	4.32178e-05	0.00581395
+1,1,4,5	0.000227493	0.00581395
+1,1,4,20,20,20,20	0.000176738	0.00581395
+1,1,5,20	0.00208535	0.00581395
+1,1,6,20,20,20	0.000312177	0.00581395
+1,1,7,20	0.0041707	0.00581395
+1,1,9,20	0.000695117	0.00581395
+1,1,19,19,20	0.000457838	0.00581395
+1,1,19,20,20,20	0.000936532	0.00581395
+1,1,20	0.00809628	0.0232558
+1,1,20,20	0.0063719	0.0232558
+1,1,20,20,20	0.00378581	0.0290698
+1,2	0.0158678	0.0116279
+1,2,2,2	0.00325181	0.00581395
+1,2,2,2,2,19,19,19	4.80599e-06	0.00581395
+1,2,2,2,20,20,20,20,20	3.05777e-05	0.00581395
+1,2,2,3,4,7,20,20,20,20	5.46078e-06	0.00581395
+1,2,2,3,19,19,19,19,20	5.46156e-06	0.00581395
+1,2,2,3,20,20	0.000828648	0.00581395
+1,2,2,4,6,6,20	2.85669e-05	0.00581395
+1,2,2,20	0.00993608	0.00581395
+1,2,2,20,20	0.00316519	0.00581395
+1,2,2,20,20,20	0.00220973	0.0116279
+1,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20	4.48588e-05	0.00581395
+1,2,3,4,4,5,6	1.30515e-05	0.00581395
+1,2,3,7,20,20,20,20,20,20,20,20,20,20	8.33328e-06	0.00581395
+1,2,4,5,6,19,19,20,20,20,20,20	2.5418e-06	0.00581395
+1,2,4,20	0.00220802	0.0116279
+1,2,19	0.00115204	0.00581395
+1,2,19,19,20,20	9.81293e-05	0.00581395
+1,2,19,20	0.00368003	0.00581395
+1,2,20	0.00211207	0.00581395
+1,2,20,20	0.00674672	0.0174419
+1,2,20,20,20	0.00252388	0.0174419
+1,2,20,20,20,20	0.00124055	0.00581395
+1,3,3,3,5,20,20,20	2.2765e-05	0.00581395
+1,3,4,20,20,20	0.000293814	0.00581395
+1,3,20,20,20,20	0.000261168	0.00581395
+1,4,4,20,20,20	0.000220361	0.00581395
+1,4,5,19,19,19,19,20	1.86822e-07	0.00581395
+1,4,13,19,20	1.43636e-05	0.00581395
+1,4,16	0.000384013	0.00581395
+1,5,20,20	0.000749636	0.00581395
+1,5,20,20,20,20,20	5.32777e-06	0.00581395
+1,6,20,20	0.000249879	0.00581395
+1,7,7,7	3.56851e-05	0.00581395
+1,7,20,20	0.00149927	0.00581395
+1,15,19,20	0.000136297	0.00581395
+1,19,20	0.00140805	0.00581395
+1,20	0	0.0174419
+1,20,20,20	0	0.0116279
+2,2,2,2,2,3,4,20,20	1.38732e-05	0.00581395
+2,2,2,2,3,20,20,20	9.00747e-05	0.00581395
+2,2,2,3	0.000446327	0.00581395
+2,2,3,19	0.000247959	0.00581395
+2,2,3,20	0.00136378	0.00581395
+2,2,4,4,4,20	7.61625e-06	0.00581395
+2,2,20,20	0.0017859	0.00581395
+2,2,20,20,20	0.000420646	0.00581395
+2,2,20,20,20,20	0.000231083	0.00581395
+2,3,4,4,5,19,19,20,20,20,20	4.61063e-07	0.00581395
+2,4,4,20,20,20,20	3.67509e-05	0.00581395
+2,5,5,20,20	3.28566e-05	0.00581395
+2,7,20,20	0.000793732	0.00581395
+2,19,19,20	0.000180394	0.00581395
+2,20	0	0.00581395
+2,20,20,20	0	0.0116279
+2,20,20,20,20	0	0.0116279
+3,3,3,3,3,4,20,20	3.64239e-06	0.00581395
+3,3,3,3,4,20,20,20	7.58832e-06	0.00581395
+3,3,3,4,16,16,20	5.21602e-07	0.00581395
+3,3,4,20,20	1.54619e-05	0.00581395
+3,4,5	3.33925e-05	0.00581395
+3,20,20,20	0	0.00581395
+5,6,20	0.000183659	0.00581395
+6,11,20,20,20	5.82209e-06	0.00581395
+6,20	0	0.00581395
+6,20,20	0	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_1.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_1.txt
new file mode 100644
index 0000000..9154a55
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_1.txt
@@ -0,0 +1,40 @@
+1	0.0217391	0.0232558
+1,1	0.0244565	0.0232558
+1,1,1	0.0669787	0.0697674
+1,1,1,1,1,3,3,4,20,20,20	0.000686105	0.0232558
+1,1,1,1,1,20,20,20	0.000217446	0.0232558
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000370967	0.0232558
+1,1,1,1,2,2,2,3	0.000951324	0.0232558
+1,1,1,1,5,10	0.000243559	0.0232558
+1,1,1,1,20,20,20	0.000462055	0.0232558
+1,1,1,2,6,20,20,20	0.000186867	0.0232558
+1,1,1,19,20,20	0.000566828	0.0232558
+1,1,1,20,20	0.00104348	0.0232558
+1,1,2	0.0182669	0.0232558
+1,1,2,2	0.0126248	0.0232558
+1,1,2,2,2,20,20,20	0.000706592	0.0232558
+1,1,2,2,3,19,19,19,19	0.000105231	0.0232558
+1,1,2,2,20	0.00313043	0.0232558
+1,1,2,3	0.0063124	0.0232558
+1,1,2,3,5	0.00195652	0.0232558
+1,1,2,5,20,20	0.00154589	0.0232558
+1,1,4,5	0.000394525	0.0232558
+1,1,4,20,20,20,20	0.000623774	0.0232558
+1,1,5,20,20,20,20	0.000207925	0.0232558
+1,1,6,20	0.00118357	0.0232558
+1,1,9,20	0.00118357	0.0232558
+1,1,20,20	0.00118357	0.0232558
+1,2	0.0163043	0.0232558
+1,2,2,2,2,19,19,19	1.37961e-05	0.0232558
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	0.000133569	0.0232558
+1,2,2,3,20,20	0.000702679	0.0465116
+1,2,2,4,6,6,20	0.000249509	0.0232558
+1,2,3,4,4,5,6	3.72601e-05	0.0232558
+1,2,4,5,6,19,19,20,20,20,20,20	5.68781e-05	0.0232558
+1,2,5,5,20	0.00176087	0.0232558
+1,2,15,19	0.000450886	0.0232558
+1,2,20,20	0.00135266	0.0232558
+1,3,3,3,3,5,20,20	4.2417e-06	0.0232558
+2,2,2,2,2,3,4,20,20	3.28983e-05	0.0232558
+2,2,2,3	0.000687064	0.0232558
+2,2,4,4,20,20,20	0.000249509	0.0232558
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_10.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_10.txt
new file mode 100644
index 0000000..8d8f538
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_10.txt
@@ -0,0 +1,48 @@
+1,1	0.0220588	0.0208333
+1,1,1,1,1,3,3,4,20,20,20	0.0010367	0.0208333
+1,1,1,1,1,20	0.00261389	0.0208333
+1,1,1,1,1,20,20,20	0.000648387	0.0208333
+1,1,1,1,2,2	0.00294062	0.0208333
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000334597	0.0208333
+1,1,1,1,2,2,2,3	0.000518009	0.0208333
+1,1,1,1,2,3,20	0.000546866	0.0208333
+1,1,1,1,5,10	0.000326736	0.0208333
+1,1,1,1,20	0.00450616	0.0208333
+1,1,1,1,20,20,20	0.000182289	0.0208333
+1,1,1,2,6,20,20,20	0.000493582	0.0208333
+1,1,1,3,3,20,20,20,20,20,20	0.0007029	0.0208333
+1,1,1,4,20	0.0027037	0.0208333
+1,1,1,20	0.00521067	0.0208333
+1,1,1,20,20	0.00157716	0.0208333
+1,1,2	0.0087146	0.0208333
+1,1,2,2	0.0131895	0.0208333
+1,1,2,2,2,20,20,20	0.00175657	0.0208333
+1,1,2,2,20	0.00243333	0.0208333
+1,1,2,3	0.005862	0.0208333
+1,1,2,3,20	0.000811109	0.0208333
+1,1,2,5,5,20,20,20,20,20,20,20	8.97576e-05	0.0208333
+1,1,2,5,20,20	0.00042345	0.0208333
+1,1,2,6,7	0.000193121	0.0208333
+1,1,2,19	0.008793	0.0208333
+1,1,2,19,19	0.000869046	0.0208333
+1,1,2,19,19,20	0.00023525	0.0208333
+1,1,3,20,20,20,20,20	4.65604e-05	0.0208333
+1,1,4,4,20,20	0.000441094	0.0208333
+1,1,4,5	0.000325667	0.0208333
+1,1,4,20,20,20,20	9.4942e-05	0.0208333
+1,1,20,20	0.000977	0.0208333
+1,2,2,2,2,19,19,19	1.56573e-05	0.0208333
+1,2,2,2,20,20,20,20,20	0.00181596	0.0208333
+1,2,2,4,4,4	0.000183789	0.0208333
+1,2,2,4,6,6,20	6.83582e-05	0.0208333
+1,2,3,4,4,5,6	3.98756e-05	0.0208333
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	0.000141495	0.0208333
+1,2,4,5,6,19,19,20,20,20,20,20	4.8868e-05	0.0208333
+1,2,5,5,20	0.000162222	0.0208333
+1,2,7,20	0.00109912	0.0208333
+1,2,15,19	0.00109912	0.0208333
+1,2,20,20	0.00109912	0.0208333
+1,3	0.0147059	0.0208333
+1,4,4,13,19	4.34523e-05	0.0208333
+2,2,3,19	0.000618258	0.0208333
+3,3,3,4,16,16,20	6.59319e-06	0.0208333
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_2.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_2.txt
new file mode 100644
index 0000000..692b54b
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_2.txt
@@ -0,0 +1,42 @@
+1	0.0217391	0.0232558
+1,1	0.0289855	0.0232558
+1,1,1	0.0436579	0.0465116
+1,1,1,1,1,3,3,4,20,20,20	0.000686105	0.0232558
+1,1,1,1,1,20,20,20	4.47279e-05	0.0232558
+1,1,1,1,2,2	0.00232642	0.0232558
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000370967	0.0232558
+1,1,1,1,2,2,2,3	0.00078103	0.0232558
+1,1,1,1,5,10	0.000290803	0.0232558
+1,1,1,1,20,20,20	0.000462055	0.0232558
+1,1,1,2,20,20	0.00253322	0.0232558
+1,1,1,19,20,20	0.00189991	0.0232558
+1,1,1,20,20	0.000519934	0.0232558
+1,1,2	0.0291053	0.0232558
+1,1,2,2	0.0163043	0.0232558
+1,1,2,3	0.00724638	0.0232558
+1,1,2,3,4,5,6,19,20	1.28281e-05	0.0232558
+1,1,2,3,20	0.000519934	0.0232558
+1,1,2,19	0.00362319	0.0232558
+1,1,2,19,19	0.00129983	0.0232558
+1,1,2,19,19,20	0.00090472	0.0232558
+1,1,4,4,20,20	0.000211101	0.0232558
+1,1,4,5	0.000402576	0.0232558
+1,1,4,20,20,20,20	0.000623774	0.0232558
+1,1,5,20,20,20,20	0.000207925	0.0232558
+1,1,20,20	0.000838701	0.0232558
+1,2	0.0144928	0.0232558
+1,2,2,2,2,19,19,19	2.2181e-05	0.0232558
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	0.000133569	0.0232558
+1,2,2,4,6,6,20	0.000249509	0.0232558
+1,2,3,4,4,5,6	3.72601e-05	0.0232558
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	0.000156874	0.0232558
+1,2,4,5,6,19,19,20,20,20,20,20	5.68781e-05	0.0232558
+1,2,7,20	0.00150966	0.0232558
+1,2,20	0.00215595	0.0232558
+1,2,20,20	0.00125805	0.0232558
+1,3	0.0144928	0.0232558
+1,3,3,3,3,5,20,20	8.59211e-06	0.0232558
+1,4,4,13,19	0.000216639	0.0232558
+2,2,2,2,2,3,4,20,20	7.79309e-05	0.0232558
+2,2,2,3	0.0013587	0.0232558
+2,2,4,4,20,20,20	0.000249509	0.0232558
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_3.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_3.txt
new file mode 100644
index 0000000..2785ef1
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_3.txt
@@ -0,0 +1,36 @@
+1	0.0243902	0.0263158
+1,1,1	0.027439	0.0263158
+1,1,1,1,1,20	0.00804122	0.0263158
+1,1,1,1,2,2	0.00674788	0.0263158
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000416206	0.0263158
+1,1,1,1,2,2,2,3	0.000681739	0.0263158
+1,1,1,1,2,3,20	0.000384513	0.0263158
+1,1,1,2,20	0.00685976	0.0263158
+1,1,1,2,20,20	0.0103672	0.0526316
+1,1,1,19,20,20	0.0012959	0.0263158
+1,1,1,20	0.0057426	0.0263158
+1,1,1,20,20	0.00228659	0.0263158
+1,1,2	0.027439	0.0263158
+1,1,2,3	0.00742121	0.0263158
+1,1,2,3,20	0.00205793	0.0263158
+1,1,2,19	0.00742121	0.0263158
+1,1,2,19,19	0.00171494	0.0263158
+1,1,2,20	0.00927651	0.0263158
+1,1,4,4,20,20	0.000353427	0.0263158
+1,1,4,5	0.000530086	0.0263158
+1,1,4,20,20,20,20	0.000127947	0.0263158
+1,1,5,20,20,20,20	5.11787e-05	0.0263158
+1,2	0.0121951	0.0263158
+1,2,2,2,2,19,19,19	0.00103079	0.0263158
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	0.000149858	0.0263158
+1,2,2,3,20,20	0.00102815	0.0526316
+1,2,2,4,6,6,20	8.30549e-05	0.0263158
+1,2,3,4,4,5,6	8.80885e-05	0.0263158
+1,2,4,5,6,19,19,20,20,20,20,20	6.38144e-05	0.0263158
+1,2,7,20	0.00142716	0.0263158
+1,2,20	0.00304878	0.0263158
+1,2,20,20	0.0011893	0.0263158
+1,3	0.0121951	0.0263158
+2,2,2,2,2,3,4,20,20	0.00114736	0.0263158
+2,2,3,19	0.000614775	0.0263158
+3,3,3,4,16,16,20	9.61284e-06	0.0263158
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_4.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_4.txt
new file mode 100644
index 0000000..c89b03e
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_4.txt
@@ -0,0 +1,37 @@
+1	0.0232558	0.025
+1,1,1	0.0261628	0.025
+1,1,1,1,1,20	0.00360459	0.025
+1,1,1,1,1,20,20,20	4.78484e-05	0.025
+1,1,1,1,2,2	0.00743447	0.025
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000396848	0.025
+1,1,1,1,2,2,2,3	0.00083552	0.025
+1,1,1,1,2,3,20	0.00019218	0.025
+1,1,1,2,20,20	0.00654233	0.05
+1,1,1,4,20	0.00568533	0.025
+1,1,1,20,20	0.008528	0.05
+1,1,2	0.0261628	0.025
+1,1,2,2	0.0105512	0.025
+1,1,2,3	0.00351708	0.025
+1,1,2,3,20	0.00155055	0.025
+1,1,2,5,5,20,20,20,20,20,20,20	0.000712669	0.025
+1,1,2,5,20,20	0.000981349	0.025
+1,1,2,20	0.00879271	0.025
+1,1,4,5	0.00058618	0.025
+1,1,4,20,20,20,20	7.00657e-05	0.025
+1,1,6,20	0.00146545	0.025
+1,1,9,20	0.00146545	0.025
+1,2	0.0116279	0.025
+1,2,2,2,2,19,19,19	2.37285e-05	0.025
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	0.000142888	0.025
+1,2,2,3,20,20	0.00107948	0.05
+1,2,2,4,4,4	0.000100365	0.025
+1,2,2,4,6,6,20	0.00017026	0.025
+1,2,3,4,4,5,6	9.2697e-05	0.025
+1,2,15,19	0.00050244	0.025
+1,2,20	0.00290698	0.025
+1,2,20,20	0.00104675	0.025
+1,3	0.0116279	0.025
+1,3,3,3,3,5,20,20	9.19156e-06	0.025
+2,2,2,2,2,3,4,20,20	0.001094	0.025
+2,2,4,4,20,20,20	0.000110354	0.025
+3,3,3,4,16,16,20	1.09478e-05	0.025
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_5.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_5.txt
new file mode 100644
index 0000000..df24b13
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_5.txt
@@ -0,0 +1,40 @@
+1	0.0204082	0.0217391
+1,1,1	0.0562208	0.0652174
+1,1,1,1,1,3,3,4,20,20,20	0.000644098	0.0217391
+1,1,1,1,1,20,20,20	0.000430763	0.0217391
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000348254	0.0217391
+1,1,1,1,2,3,20	0.000907548	0.0217391
+1,1,1,1,5,10	6.56127e-05	0.0217391
+1,1,1,1,20,20,20	0.000567218	0.0217391
+1,1,1,2,4,20,20	0.00162062	0.0217391
+1,1,1,2,6,20,20,20	0.000351643	0.0217391
+1,1,1,2,20,20	0.00132275	0.0217391
+1,1,1,20,20	0.00490589	0.0652174
+1,1,2,2	0.0168158	0.0217391
+1,1,2,2,2,20,20,20	0.000803755	0.0217391
+1,1,2,2,20	0.0051103	0.0217391
+1,1,2,3	0.0100895	0.0217391
+1,1,2,3,4,5,6,19,20	3.76335e-05	0.0217391
+1,1,2,3,5	0.00227124	0.0217391
+1,1,2,3,20	0.00408824	0.0217391
+1,1,2,20	0.0134526	0.0434783
+1,1,3,20,20,20,20,20	0.000180845	0.0217391
+1,1,5,20,20,20,20	6.51143e-05	0.0217391
+1,1,6,20	0.00134526	0.0217391
+1,1,9,20	0.00134526	0.0217391
+1,2	0.0102041	0.0217391
+1,2,2,2,2,19,19,19	4.23855e-06	0.0217391
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	0.000125391	0.0217391
+1,2,2,3,20,20	0.000555556	0.0434783
+1,2,2,4,4,4	0.000173611	0.0217391
+1,2,2,4,6,6,20	5.9533e-05	0.0217391
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	0.00014727	0.0217391
+1,2,5,5,20	0.00114982	0.0217391
+1,2,15,19	0.000448422	0.0217391
+1,2,20	0.00112442	0.0217391
+1,2,20,20	0.00239158	0.0217391
+1,3,3,3,3,5,20,20	9.85527e-06	0.0217391
+1,3,20,20	0.000717474	0.0217391
+2,2,2,3	0.00149474	0.0217391
+2,2,4,4,20,20,20	7.97317e-05	0.0217391
+3,3,3,4,16,16,20	2.51992e-06	0.0217391
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_6.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_6.txt
new file mode 100644
index 0000000..7dee834
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_6.txt
@@ -0,0 +1,43 @@
+1	0.02	0.0212766
+1,1,1,1,1,20	0.00267176	0.0212766
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000341289	0.0212766
+1,1,1,1,2,2,2,3	0.000319187	0.0212766
+1,1,1,1,2,3,20	0.000279366	0.0212766
+1,1,1,1,5,10	0.000100191	0.0212766
+1,1,1,2,6,20,20,20	8.90587e-05	0.0212766
+1,1,1,2,20	0.009375	0.0212766
+1,1,1,2,20,20	0.00360688	0.0425532
+1,1,1,3,20	0.001875	0.0212766
+1,1,1,19,19	0.00078125	0.0212766
+1,1,1,20,20	0.00375	0.0425532
+1,1,2	0.0144	0.0212766
+1,1,2,2	0.0138068	0.0212766
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000545916	0.0212766
+1,1,2,2,3,19,19,19,19	9.68123e-05	0.0212766
+1,1,2,2,20	0.00351562	0.0212766
+1,1,2,6,7	0.000292969	0.0212766
+1,1,2,19,19,20	0.000360688	0.0212766
+1,1,2,20	0.0153409	0.0425532
+1,1,4,5	0.000340909	0.0212766
+1,1,4,20,20,20,20	0.000227321	0.0212766
+1,1,5,20,20,20,20	7.57737e-05	0.0212766
+1,1,6,20	0.00170455	0.0212766
+1,1,9,20	0.00170455	0.0212766
+1,1,20,20	0.00284091	0.0212766
+1,2,2,3,4,7,20,20,20,20	0.00014336	0.0212766
+1,2,2,3,20,20	0.000486929	0.0425532
+1,2,2,4,4,4	5.47795e-05	0.0212766
+1,2,3,4,4,5,6	3.5657e-05	0.0212766
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	0.000144324	0.0212766
+1,2,4,5,6,19,19,20,20,20,20,20	5.23278e-05	0.0212766
+1,2,5,5,20	0.00028125	0.0212766
+1,2,15,19	0.000360963	0.0212766
+1,2,20	0.0032	0.0212766
+1,2,20,20	0.00300802	0.0212766
+1,3	0.01	0.0212766
+1,3,3,3,3,5,20,20	4.89214e-05	0.0212766
+1,3,20,20	0.000668449	0.0212766
+2,2,2,2,2,3,4,20,20	3.02664e-05	0.0212766
+2,2,2,3	0.000573293	0.0212766
+2,2,4,4,20,20,20	8.28977e-05	0.0212766
+3,3,3,4,16,16,20	1.27739e-05	0.0212766
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_7.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_7.txt
new file mode 100644
index 0000000..3b57efe
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_7.txt
@@ -0,0 +1,34 @@
+1	0.027027	0.0294118
+1,1,1	0.0312813	0.0294118
+1,1,1,1,1,3,3,4,20,20,20	0.000852995	0.0294118
+1,1,1,1,1,20,20,20	0.00695925	0.0294118
+1,1,1,1,2,2	0.00351255	0.0294118
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000461202	0.0294118
+1,1,1,1,2,3,20	0.000753788	0.0294118
+1,1,1,1,20,20,20	0.000251263	0.0294118
+1,1,1,2,20,20	0.00355646	0.0294118
+1,1,1,4,20	0.00117021	0.0294118
+1,1,1,19,20,20	0.00133367	0.0294118
+1,1,1,20	0.0103912	0.0294118
+1,1,2	0.0187688	0.0294118
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000737724	0.0294118
+1,1,2,3,20	0.00100304	0.0294118
+1,1,2,19	0.00685135	0.0294118
+1,1,2,19,19	0.00167173	0.0294118
+1,1,2,19,19,20	0.00111139	0.0294118
+1,1,2,20	0.0119899	0.0294118
+1,1,4,4,20,20	0.00104193	0.0294118
+1,1,4,5	0.000685135	0.0294118
+1,1,4,20,20,20,20	0.000130866	0.0294118
+1,1,20,20	0.00279764	0.0294118
+1,2,2,3,20,20	0.000333418	0.0294118
+1,2,2,4,4,4	0.000428778	0.0294118
+1,2,2,4,6,6,20	9.42235e-05	0.0294118
+1,2,3,4,4,5,6	5.49637e-05	0.0294118
+1,2,4,5,6,19,19,20,20,20,20,20	7.07133e-05	0.0294118
+1,2,7,20	0.00184459	0.0294118
+1,3	0.0135135	0.0294118
+1,3,20,20	0.000860811	0.0294118
+2,2,2,2,2,3,4,20,20	0.0012714	0.0294118
+2,2,3,19	0.000405405	0.0294118
+3,3,3,4,16,16,20	9.08792e-06	0.0294118
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_8.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_8.txt
new file mode 100644
index 0000000..d925a93
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_8.txt
@@ -0,0 +1,37 @@
+1	0.0238095	0.025641
+1,1,1,1,1,20	0.00219387	0.025641
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000406297	0.025641
+1,1,1,1,2,2,2,3	0.000480603	0.025641
+1,1,1,2,20	0.00557511	0.025641
+1,1,1,2,20,20	0.0046277	0.0512821
+1,1,1,4,20	0.00139378	0.025641
+1,1,1,20,20	0.00174222	0.025641
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.0006499	0.025641
+1,1,2,2,3,19,19,19,19	0.000115253	0.025641
+1,1,2,3	0.00867769	0.025641
+1,1,2,3,5	0.00119467	0.025641
+1,1,2,5,5,20,20,20,20,20,20,20	0.000108991	0.025641
+1,1,2,19,19	0.000796444	0.025641
+1,1,2,19,19,20	0.000578463	0.025641
+1,1,2,20	0.010124	0.025641
+1,1,4,5	0.000321396	0.025641
+1,1,4,20,20,20,20	0.000430305	0.025641
+1,1,5,20,20,20,20	0.000107576	0.025641
+1,1,6,20	0.00112489	0.025641
+1,1,9,20	0.00112489	0.025641
+1,1,20,20	0.00131237	0.025641
+1,2,2,2,2,19,19,19	8.41055e-05	0.025641
+1,2,2,3,20,20	0.000976156	0.0512821
+1,2,2,4,4,4	0.000109818	0.025641
+1,2,4,5,6,19,19,20,20,20,20,20	5.93397e-05	0.025641
+1,2,5,5,20	0.000768	0.025641
+1,2,15,19	0.000826446	0.025641
+1,2,20	0.00396825	0.025641
+1,2,20,20	0.00168733	0.025641
+1,3	0.0119048	0.025641
+1,3,3,3,3,5,20,20	5.2127e-06	0.025641
+2,2,2,2,2,3,4,20,20	3.60315e-05	0.025641
+2,2,2,3	0.0011954	0.025641
+2,2,3,19	0.00079693	0.025641
+2,2,4,4,20,20,20	0.000143435	0.025641
+3,3,3,4,16,16,20	3.36176e-05	0.025641
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_9.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_9.txt
new file mode 100644
index 0000000..32de77f
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_25_9.txt
@@ -0,0 +1,44 @@
+1	0.0192308	0.0204082
+1,1	0.0216346	0.0204082
+1,1,1	0.0405192	0.0408163
+1,1,1,1,1,20,20,20	0.000209066	0.0204082
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000328163	0.0204082
+1,1,1,1,2,2,2,3	0.000316108	0.0204082
+1,1,1,1,2,3,20	0.000310714	0.0204082
+1,1,1,1,5,10	0.000106088	0.0204082
+1,1,1,2,4,20,20	0.00124286	0.0204082
+1,1,1,2,20,20	0.00302038	0.0408163
+1,1,1,3,20	0.00653446	0.0204082
+1,1,1,19,19	0.000453782	0.0204082
+1,1,1,20,20	0.00490085	0.0612245
+1,1,2	0.0151947	0.0204082
+1,1,2,2	0.0118884	0.0204082
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000524919	0.0204082
+1,1,2,2,3,19,19,19,19	9.30887e-05	0.0204082
+1,1,2,2,20	0.00278457	0.0204082
+1,1,2,3,20	0.00445532	0.0204082
+1,1,2,5,20,20	0.00106602	0.0204082
+1,1,2,6,7	0.000154698	0.0204082
+1,1,2,19,19,20	0.000323035	0.0204082
+1,1,2,20	0.0133745	0.0204082
+1,1,5,20,20,20,20	4.88265e-05	0.0204082
+1,1,6,20	0.00167181	0.0204082
+1,1,9,20	0.00167181	0.0204082
+1,1,20,20	0.00250772	0.0204082
+1,2,2,3,4,7,20,20,20,20	0.000137846	0.0204082
+1,2,2,3,20,20	0.000627069	0.0408163
+1,2,2,4,4,4	5.83018e-05	0.0204082
+1,2,2,4,6,6,20	0.000264726	0.0204082
+1,2,3,4,4,5,6	7.70111e-05	0.0204082
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	0.000138774	0.0204082
+1,2,4,5,6,19,19,20,20,20,20,20	5.03152e-05	0.0204082
+1,2,5,5,20	0.000202514	0.0204082
+1,2,15,19	0.000457247	0.0204082
+1,2,20,20	0.00308642	0.0204082
+1,3	0.0144231	0.0204082
+1,3,3,3,3,5,20,20	5.87998e-05	0.0204082
+1,3,20,20	0.000771605	0.0204082
+2,2,2,2,2,3,4,20,20	2.91023e-05	0.0204082
+2,2,2,3	0.000750355	0.0204082
+2,2,4,4,20,20,20	0.000129421	0.0204082
+3,3,4,20,20	2.20925e-05	0.0204082
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_1.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_1.txt
new file mode 100644
index 0000000..f21e0b7
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_1.txt
@@ -0,0 +1,78 @@
+1	0.0107527	0.0111111
+1,1	0.0168011	0.0111111
+1,1,1	0.0183513	0.0222222
+1,1,1,1	0.0170616	0.0222222
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.00311241	0.0111111
+1,1,1,1,1,3,3,4,20,20,20	0.000113015	0.0111111
+1,1,1,1,1,20	0.00451108	0.0111111
+1,1,1,1,2,2	0.00211457	0.0111111
+1,1,1,1,2,2,2,3	8.05114e-05	0.0111111
+1,1,1,1,2,3,20	0.000152327	0.0111111
+1,1,1,2	0.0276236	0.0111111
+1,1,1,2,2,2,3,20,20,20,20	0.000139061	0.0111111
+1,1,1,2,2,3,4,4,6,7,9,20	2.55553e-07	0.0111111
+1,1,1,2,2,20,20,20,20,20,20,20	5.25055e-05	0.0111111
+1,1,1,2,3	0.00507551	0.0111111
+1,1,1,2,20	0.0116737	0.0222222
+1,1,1,2,20,20	0.00660802	0.0111111
+1,1,1,3,20	0.00437763	0.0111111
+1,1,1,4,20	0.00291842	0.0111111
+1,1,1,4,20,20	0.00264321	0.0111111
+1,1,1,19,19	0.000660873	0.0111111
+1,1,1,19,20,20	0.00198241	0.0111111
+1,1,1,20	0.0154367	0.0111111
+1,1,1,20,20	0.00419522	0.0444444
+1,1,1,20,20,20	0.00275334	0.0111111
+1,1,2,2,2,3,4,20,20,20	0.000150503	0.0111111
+1,1,2,2,2,20,20,20	6.27361e-05	0.0111111
+1,1,2,2,3,4,4	0.000268705	0.0111111
+1,1,2,2,20	0.00622596	0.0111111
+1,1,2,3,4,5,6,19,20	7.43566e-06	0.0111111
+1,1,2,3,5	0.0010151	0.0111111
+1,1,2,3,20	0.00466947	0.0111111
+1,1,2,5,5,20,20,20,20,20,20,20	1.57516e-05	0.0111111
+1,1,2,5,20,20	0.000619502	0.0111111
+1,1,2,6,7	5.63945e-05	0.0111111
+1,1,2,19	0.00394623	0.0111111
+1,1,2,19,19	0.000704932	0.0111111
+1,1,2,19,19,20	0.000371701	0.0111111
+1,1,2,20	0.0187446	0.0333333
+1,1,2,20,20	0.00447491	0.0111111
+1,1,2,20,20,20	0.00258126	0.0111111
+1,1,3,3	0.000522295	0.0111111
+1,1,3,20,20,20,20,20	8.94366e-06	0.0111111
+1,1,4,4,20,20	0.000495602	0.0111111
+1,1,4,5	0.000232131	0.0111111
+1,1,4,5,19,19,19,19	1.46445e-06	0.0111111
+1,1,4,20,20,20,20	1.01594e-05	0.0111111
+1,1,6,20	0.00110262	0.0111111
+1,1,9,20	0.00110262	0.0111111
+1,1,20	0.00458781	0.0111111
+1,1,20,20	0.00349164	0.0222222
+1,2	0.0134409	0.0222222
+1,2,2,2	0.00452564	0.0111111
+1,2,2,2,2,19,19,19	1.45283e-05	0.0111111
+1,2,2,2,20	0.00147578	0.0111111
+1,2,2,2,20,20,20,20,20	3.05924e-05	0.0111111
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.60663e-05	0.0111111
+1,2,2,3,20,20	0.000580783	0.0111111
+1,2,2,4,6,6,20	5.75797e-05	0.0111111
+1,2,2,4,20,20	0.000774377	0.0111111
+1,2,2,20	0.00758709	0.0111111
+1,2,3,4,4,5,6	5.3741e-05	0.0111111
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	7.75938e-05	0.0111111
+1,2,4,20	0.0017852	0.0111111
+1,2,5,5,20	0.000155649	0.0111111
+1,2,7,20	0.0035704	0.0111111
+1,2,20,20	0.00282656	0.0333333
+1,3	0.00672043	0.0111111
+1,3,3,3,3,5,20,20	2.87037e-05	0.0111111
+1,3,3,20,20,20	7.25979e-05	0.0111111
+1,4,4,13,19	6.26606e-06	0.0111111
+1,7,7,7	5.89539e-05	0.0111111
+2,2,3,19	0.000114092	0.0111111
+2,2,20,20,20	9.03575e-05	0.0111111
+3,3,3,3,3,4,20,20	5.26235e-06	0.0111111
+3,3,3,4,16,16,20	5.1182e-06	0.0111111
+3,3,4,20,20	1.98885e-05	0.0111111
+5,6,20	0.000143369	0.0111111
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_10.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_10.txt
new file mode 100644
index 0000000..9baa7d1
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_10.txt
@@ -0,0 +1,74 @@
+1	0.0106383	0.010989
+1,1	0.0119681	0.010989
+1,1,1	0.0333645	0.0549451
+1,1,1,1	0.0133987	0.010989
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.000160148	0.010989
+1,1,1,1,1,3,3,4,20,20,20	0.000156119	0.010989
+1,1,1,1,1,20,20,20	6.25222e-05	0.010989
+1,1,1,1,2,2	0.00261478	0.010989
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000181537	0.010989
+1,1,1,1,2,2,2,3	0.000184045	0.010989
+1,1,1,1,2,3,20	0.000876003	0.010989
+1,1,1,1,20,20,20	0.000415291	0.010989
+1,1,1,2,2,2,2,3,3,4,20	7.84077e-05	0.010989
+1,1,1,2,2,2,3,20,20,20,20	0.000341509	0.010989
+1,1,1,2,2,3,4,4,6,7,9,20	2.21946e-07	0.010989
+1,1,1,2,4,20,20	0.000865189	0.010989
+1,1,1,2,6,20,20,20	4.75948e-05	0.010989
+1,1,1,2,20	0.0076533	0.010989
+1,1,1,2,20,20	0.00911107	0.021978
+1,1,1,3,3,20,20,20,20,20,20	6.50494e-05	0.010989
+1,1,1,3,20	0.00318887	0.010989
+1,1,1,4,20	0.00127555	0.010989
+1,1,1,4,20,20	0.00303702	0.010989
+1,1,1,19,20,20	0.000759256	0.010989
+1,1,1,20	0.0156318	0.021978
+1,1,1,20,20	0.00207277	0.021978
+1,1,1,20,20,20	0.00354319	0.010989
+1,1,2	0.0210723	0.010989
+1,1,2,2,2,5,20,20,20,20,20,20,20	8.66784e-06	0.010989
+1,1,2,2,2,20,20,20	0.000169381	0.010989
+1,1,2,2,3,4,4	0.000106459	0.010989
+1,1,2,2,3,19,19,19,19	5.14959e-05	0.010989
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000289485	0.010989
+1,1,2,2,20	0.00491998	0.021978
+1,1,2,3	0.00595497	0.010989
+1,1,2,3,5	0.000525639	0.010989
+1,1,2,3,20	0.00409998	0.010989
+1,1,2,5,5,20,20,20,20,20,20,20	4.83085e-06	0.010989
+1,1,2,6,7	0.000105128	0.010989
+1,1,2,19	0.00396998	0.010989
+1,1,2,19,19	0.000210255	0.010989
+1,1,2,20	0.0208424	0.032967
+1,1,2,20,20,20	0.00425183	0.021978
+1,1,3,20,20,20,20	0.000184574	0.010989
+1,1,4,4,20,20	0.000607405	0.010989
+1,1,4,5	0.000372185	0.010989
+1,1,4,5,19,19,19,19	1.33622e-07	0.010989
+1,1,5,20,20,20,20	3.07623e-05	0.010989
+1,1,6,20	0.00130265	0.010989
+1,1,6,20,20,20	0.000354319	0.010989
+1,1,20,20	0.00455927	0.021978
+1,2	0.00797872	0.010989
+1,2,2,2	0.00470516	0.010989
+1,2,2,2,20	0.00140571	0.010989
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.53635e-05	0.010989
+1,2,2,3,20,20	0.000728886	0.021978
+1,2,2,4,6,6,20	1.80248e-05	0.010989
+1,2,2,4,20,20	0.00145777	0.010989
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	7.67684e-05	0.010989
+1,2,4,5,6,19,19,20,20,20,20,20	6.72317e-06	0.010989
+1,2,4,20	0.00347373	0.021978
+1,2,7,20	0.00115791	0.010989
+1,2,20	0.00221814	0.010989
+1,2,20,20	0.00405269	0.032967
+1,3,3,3,3,5,20,20	3.08249e-05	0.010989
+1,3,20,20	0.000759878	0.010989
+1,4,16	0.000554534	0.010989
+2,2,2,2,2,3,4,20,20	1.60992e-05	0.010989
+2,2,2,2,3,20,20,20	3.54587e-05	0.010989
+2,2,3,19	0.000147036	0.010989
+2,6,20	0.000233488	0.021978
+3,3,3,3,3,4,20,20	3.98911e-06	0.010989
+3,3,3,4,16,16,20	2.00275e-06	0.010989
+3,3,4,20,20	1.41634e-05	0.010989
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_2.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_2.txt
new file mode 100644
index 0000000..e407171
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_2.txt
@@ -0,0 +1,77 @@
+1,1	0.0175562	0.0116279
+1,1,1	0.0445992	0.0581395
+1,1,1,1	0.0149771	0.0232558
+1,1,1,1,1,20,20,20	0.000127989	0.0116279
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000191736	0.0116279
+1,1,1,1,2,2,2,3	0.000162648	0.0116279
+1,1,1,1,5,10	5.13338e-05	0.0116279
+1,1,1,1,20	0.00389625	0.0116279
+1,1,1,2	0.0211442	0.0116279
+1,1,1,2,2,2,3,20,20,20,20	0.000398943	0.0116279
+1,1,1,2,2,3,4,4,6,7,9,20	2.34415e-07	0.0116279
+1,1,1,2,4,20,20	0.00048114	0.0116279
+1,1,1,2,6,20,20,20	7.79989e-05	0.0116279
+1,1,1,2,20	0.00752379	0.0116279
+1,1,1,2,20,20	0.00494173	0.0232558
+1,1,1,3,3,20,20,20,20,20,20	0.000211081	0.0116279
+1,1,1,3,20	0.00268707	0.0116279
+1,1,1,4,20	0.00214965	0.0116279
+1,1,1,19,20,20	0.00185315	0.0116279
+1,1,1,20	0.0114531	0.0116279
+1,1,1,20,20,20	0.0019561	0.0116279
+1,1,2	0.014084	0.0116279
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000306694	0.0116279
+1,1,2,2,2,20,20,20	0.000248365	0.0116279
+1,1,2,2,3,4,4	0.000250536	0.0116279
+1,1,2,2,3,19,19,19,19	3.10735e-05	0.0116279
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000305748	0.0116279
+1,1,2,2,20	0.00544826	0.0116279
+1,1,2,3	0.011194	0.0116279
+1,1,2,3,4,5,6,19,20	9.28063e-06	0.0116279
+1,1,2,3,5	0.00121613	0.0116279
+1,1,2,3,20	0.00389162	0.0116279
+1,1,2,5,5,20,20,20,20,20,20,20	5.10225e-06	0.0116279
+1,1,2,19	0.00373133	0.0116279
+1,1,2,19,19	0.000364839	0.0116279
+1,1,2,19,19,20	0.000487671	0.0116279
+1,1,2,20	0.0121268	0.0116279
+1,1,2,20,20	0.00311329	0.0232558
+1,1,2,20,20,20	0.0019561	0.0116279
+1,1,3,3	0.0027985	0.0116279
+1,1,3,20,20,20,20	7.85862e-05	0.0116279
+1,1,3,20,20,20,20,20	8.8874e-05	0.0116279
+1,1,4,4,20,20	0.000347466	0.0116279
+1,1,4,5	0.000466416	0.0116279
+1,1,4,5,19,19,19,19	8.6657e-08	0.0116279
+1,1,4,20,20,20,20	0.000117879	0.0116279
+1,1,9,20	0.00101057	0.0116279
+1,1,20	0.00704198	0.0116279
+1,1,20,20	0.00218957	0.0232558
+1,2	0.00702247	0.0116279
+1,2,2,2,20	0.00175346	0.0116279
+1,2,2,2,20,20,20,20,20	5.15473e-06	0.0116279
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.90356e-05	0.0116279
+1,2,2,3,4,7,20,20,20,20	8.05393e-05	0.0116279
+1,2,2,3,20,20	0.000205906	0.0116279
+1,2,2,4,20,20	0.000617717	0.0116279
+1,2,2,20,20	0.00150297	0.0116279
+1,2,3,4,4,5,6	1.67024e-05	0.0116279
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	8.10812e-05	0.0116279
+1,2,4,5,6,19,19,20,20,20,20,20	7.10088e-06	0.0116279
+1,2,4,20	0.00214003	0.0232558
+1,2,5,5,20	0.000241549	0.0116279
+1,2,20,20	0.00154558	0.0116279
+1,3	0.00702247	0.0116279
+1,3,3,3,3,5,20,20	4.36392e-05	0.0116279
+1,3,20,20	0.000772788	0.0116279
+1,4,4,13,19	9.58526e-06	0.0116279
+1,6	0.00702247	0.0116279
+2,2,2,2,3,20,20,20	4.54074e-05	0.0116279
+2,2,2,3	0.000464803	0.0116279
+2,2,3,19	0.000232401	0.0116279
+2,2,4,4,20,20,20	0.000109123	0.0116279
+2,6,20	0.000156055	0.0116279
+3,3,3,3,3,4,20,20	5.51232e-06	0.0116279
+3,3,3,4,16,16,20	7.4233e-06	0.0116279
+3,3,4,20,20	2.64421e-05	0.0116279
+5,6,20	7.80275e-05	0.0116279
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_3.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_3.txt
new file mode 100644
index 0000000..20198af
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_3.txt
@@ -0,0 +1,78 @@
+1	0.0113636	0.0117647
+1,1	0.0151515	0.0117647
+1,1,1	0.0421992	0.0470588
+1,1,1,1	0.00947956	0.0117647
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.000171067	0.0117647
+1,1,1,1,1,3,3,4,20,20,20	0.000166763	0.0117647
+1,1,1,1,1,20,20,20	4.93213e-05	0.0117647
+1,1,1,1,2,2	0.00114749	0.0117647
+1,1,1,1,2,2,2,3	0.00023129	0.0117647
+1,1,1,1,2,3,20	0.000620405	0.0117647
+1,1,1,1,20	0.00913677	0.0117647
+1,1,1,1,20,20,20	0.000352942	0.0117647
+1,1,1,2	0.0159012	0.0117647
+1,1,1,2,2,2,2,3,3,4,20	8.37537e-05	0.0117647
+1,1,1,2,2,2,3,20,20,20,20	0.000364794	0.0117647
+1,1,1,2,3	0.00489788	0.0117647
+1,1,1,2,4,20,20	0.000778548	0.0117647
+1,1,1,2,20	0.0111672	0.0117647
+1,1,1,2,20,20	0.00674467	0.0117647
+1,1,1,3,3,20,20,20,20,20,20	6.94846e-05	0.0117647
+1,1,1,4,20	0.00406079	0.0117647
+1,1,1,19,20,20	0.00112411	0.0117647
+1,1,1,20	0.00611585	0.0117647
+1,1,1,20,20	0.00482218	0.0352941
+1,1,1,20,20,20	0.0043091	0.0117647
+1,1,2	0.0148938	0.0117647
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.25883e-06	0.0117647
+1,1,2,2,2,20,20,20	0.000330414	0.0117647
+1,1,2,2,3,19,19,19,19	3.14266e-05	0.0117647
+1,1,2,2,20	0.00511828	0.0117647
+1,1,2,3	0.00769413	0.0117647
+1,1,2,3,4,5,6,19,20	9.38609e-06	0.0117647
+1,1,2,3,5	0.000408156	0.0117647
+1,1,2,3,20	0.00465298	0.0117647
+1,1,2,5,5,20,20,20,20,20,20,20	0.000348236	0.0117647
+1,1,2,5,20,20	0.000843084	0.0117647
+1,1,2,19	0.00461648	0.0117647
+1,1,2,19,19	0.000367341	0.0117647
+1,1,2,20	0.00769413	0.0117647
+1,1,2,20,20	0.00442033	0.0235294
+1,1,2,20,20,20	0.00323182	0.0235294
+1,1,3,3	0.00147964	0.0117647
+1,1,3,20,20,20,20	0.00017586	0.0117647
+1,1,3,20,20,20,20,20	2.21946e-05	0.0117647
+1,1,4,4,20,20	0.000281028	0.0117647
+1,1,4,5	0.000236742	0.0117647
+1,1,4,5,19,19,19,19	5.92907e-07	0.0117647
+1,1,4,20,20,20,20	0.00017586	0.0117647
+1,1,6,20	0.000591856	0.0117647
+1,1,6,20,20,20	0.000538637	0.0117647
+1,1,9,20	0.000591856	0.0117647
+1,1,20	0.00744692	0.0117647
+1,2	0.00757576	0.0117647
+1,2,2,2	0.00279636	0.0117647
+1,2,2,2,2,19,19,19	3.38945e-05	0.0117647
+1,2,2,2,20,20,20,20,20	5.2133e-06	0.0117647
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.98201e-05	0.0117647
+1,2,2,3,4,7,20,20,20,20	8.14545e-05	0.0117647
+1,2,2,4,6,6,20	3.40951e-05	0.0117647
+1,2,2,20,20	0.00135066	0.0117647
+1,2,3,4,4,5,6	1.432e-05	0.0117647
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	8.20026e-05	0.0117647
+1,2,4,20	0.000992791	0.0117647
+1,2,7,20	0.00198558	0.0117647
+1,2,15,19	0.000297837	0.0117647
+1,2,20	0.00175222	0.0117647
+1,2,20,20	0.000827326	0.0117647
+1,3,3,20,20,20	8.97728e-05	0.0117647
+1,3,20,20	0.000318202	0.0117647
+1,4,4,13,19	9.8947e-06	0.0117647
+1,6	0.00757576	0.0117647
+1,7,7,7	8.14598e-05	0.0117647
+2,2,2,2,3,20,20,20	7.22782e-05	0.0117647
+2,2,3,19	0.000312249	0.0117647
+3,3,3,3,3,4,20,20	8.66977e-07	0.0117647
+3,3,3,4,16,16,20	2.56716e-06	0.0117647
+3,3,4,20,20	3.10068e-05	0.0117647
+5,6,20	5.15358e-05	0.0117647
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_4.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_4.txt
new file mode 100644
index 0000000..ef0ec5f
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_4.txt
@@ -0,0 +1,78 @@
+1,1	0.0173611	0.0114943
+1,1,1	0.0286774	0.045977
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.00321616	0.0114943
+1,1,1,1,1,20	0.00683473	0.0114943
+1,1,1,1,1,20,20,20	7.21691e-05	0.0114943
+1,1,1,1,2,2	0.00225941	0.0114943
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000189605	0.0114943
+1,1,1,1,2,2,2,3	0.000220926	0.0114943
+1,1,1,1,2,3,20	0.000347613	0.0114943
+1,1,1,1,5,10	7.06067e-05	0.0114943
+1,1,1,1,20	0.00623053	0.0114943
+1,1,1,2	0.0174322	0.0114943
+1,1,1,2,2,2,2,3,3,4,20	8.09978e-05	0.0114943
+1,1,1,2,2,2,3,20,20,20,20	0.000479147	0.0114943
+1,1,1,2,3	0.00285845	0.0114943
+1,1,1,2,4,20,20	0.000823971	0.0114943
+1,1,1,2,6,20,20,20	5.41268e-05	0.0114943
+1,1,1,2,20	0.012863	0.0114943
+1,1,1,2,20,20	0.00662761	0.0229885
+1,1,1,3,3,20,20,20,20,20,20	4.02449e-05	0.0114943
+1,1,1,4,20,20	0.000828452	0.0114943
+1,1,1,19,19	0.000714613	0.0114943
+1,1,1,19,20,20	0.000828452	0.0114943
+1,1,1,20	0.00944244	0.0114943
+1,1,1,20,20	0.00301477	0.0114943
+1,1,1,20,20,20	0.00303766	0.0114943
+1,1,2	0.0161311	0.0114943
+1,1,2,2	0.00980561	0.0114943
+1,1,2,2,2,20,20,20	0.000304463	0.0114943
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000302351	0.0114943
+1,1,2,2,20	0.00995848	0.0229885
+1,1,2,3	0.00653707	0.0114943
+1,1,2,3,4,5,6,19,20	7.68351e-06	0.0114943
+1,1,2,3,20	0.00248962	0.0114943
+1,1,2,5,5,20,20,20,20,20,20,20	5.08626e-05	0.0114943
+1,1,2,19	0.00326854	0.0114943
+1,1,2,19,19	0.0011065	0.0114943
+1,1,2,20	0.0106227	0.0114943
+1,1,2,20,20	0.00466804	0.0229885
+1,1,3,3	0.00108951	0.0114943
+1,1,3,20,20,20,20	0.000176565	0.0114943
+1,1,3,20,20,20,20,20	4.29659e-05	0.0114943
+1,1,4,5	0.000272378	0.0114943
+1,1,4,5,19,19,19,19	3.92921e-07	0.0114943
+1,1,4,20,20,20,20	0.00023542	0.0114943
+1,1,5,20,20,20,20	5.88551e-05	0.0114943
+1,1,6,20	0.000885229	0.0114943
+1,1,6,20,20,20	0.000276151	0.0114943
+1,1,9,20	0.000885229	0.0114943
+1,1,20	0.00716936	0.0114943
+1,1,20,20	0.001918	0.0229885
+1,2	0.00694444	0.0114943
+1,2,2,2	0.0024514	0.0114943
+1,2,2,2,2,19,19,19	1.18402e-05	0.0114943
+1,2,2,2,20	0.00342657	0.0114943
+1,2,2,2,20,20,20,20,20	3.16122e-05	0.0114943
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.82685e-05	0.0114943
+1,2,2,3,20,20	0.000584252	0.0229885
+1,2,2,4,6,6,20	5.19102e-05	0.0114943
+1,2,2,20,20	0.00240931	0.0114943
+1,2,3,4,4,5,6	3.32225e-05	0.0114943
+1,2,4,5,6,19,19,20,20,20,20,20	2.76919e-05	0.0114943
+1,2,4,20	0.00132784	0.0114943
+1,2,5,5,20	0.000160621	0.0114943
+1,2,15,19	0.000204284	0.0114943
+1,2,20,20	0.0014385	0.0114943
+1,3	0.00694444	0.0114943
+1,3,3,3,3,5,20,20	2.00424e-05	0.0114943
+1,3,3,20,20,20	0.000133891	0.0114943
+1,3,20,20	0.000479499	0.0114943
+1,6	0.00694444	0.0114943
+1,7,7,7	3.83032e-05	0.0114943
+2,2,2,2,3,20,20,20	6.85043e-05	0.0114943
+2,2,4,4,20,20,20	8.20309e-05	0.0114943
+2,6,20	0.000504096	0.0229885
+3,3,3,3,3,4,20,20	2.40509e-06	0.0114943
+3,3,3,4,16,16,20	2.26004e-06	0.0114943
+5,6,20	0.000168032	0.0114943
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_5.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_5.txt
new file mode 100644
index 0000000..52f08a0
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_5.txt
@@ -0,0 +1,75 @@
+1,1	0.0179598	0.0119048
+1,1,1	0.0170285	0.0238095
+1,1,1,1,1,3,3,4,20,20,20	6.91653e-05	0.0119048
+1,1,1,1,1,20	0.00433573	0.0119048
+1,1,1,1,1,20,20,20	8.08711e-05	0.0119048
+1,1,1,1,2,2,2,3	1.38997e-05	0.0119048
+1,1,1,1,5,10	0.000116136	0.0119048
+1,1,1,1,20,20,20	0.000207186	0.0119048
+1,1,1,2	0.0163092	0.0119048
+1,1,1,2,2,2,2,3,3,4,20	0.000172322	0.0119048
+1,1,1,2,2,2,3,20,20,20,20	0.000196064	0.0119048
+1,1,1,2,2,3,4,4,6,7,9,20	8.48019e-07	0.0119048
+1,1,1,2,3	0.00486304	0.0119048
+1,1,1,2,4,20,20	0.000940172	0.0119048
+1,1,1,2,20	0.0110877	0.0238095
+1,1,1,2,20,20	0.00398179	0.0238095
+1,1,1,3,20	0.00346492	0.0119048
+1,1,1,4,20	0.00277193	0.0119048
+1,1,1,19,19	0.00075985	0.0119048
+1,1,1,19,20,20	0.0019909	0.0119048
+1,1,1,20	0.00883416	0.0238095
+1,1,1,20,20	0.00329167	0.0357143
+1,1,2	0.0153257	0.0119048
+1,1,2,2	0.0108728	0.0119048
+1,1,2,2,2,3,4,20,20,20	0.000192898	0.0119048
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000313745	0.0119048
+1,1,2,2,3,4,4	0.000237157	0.0119048
+1,1,2,2,3,19,19,19,19	4.15361e-05	0.0119048
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000312777	0.0119048
+1,1,2,2,20	0.00649038	0.0238095
+1,1,2,3,4,5,6,19,20	9.3041e-06	0.0119048
+1,1,2,3,20	0.00405649	0.0119048
+1,1,2,5,5,20,20,20,20,20,20,20	3.20784e-06	0.0119048
+1,1,2,5,20,20	0.000853241	0.0119048
+1,1,2,6,7	7.11664e-05	0.0119048
+1,1,2,19	0.00362427	0.0119048
+1,1,2,19,19	0.000889581	0.0119048
+1,1,2,19,19,20	0.000319965	0.0119048
+1,1,2,20	0.0117789	0.0119048
+1,1,3,20,20,20,20	0.000161732	0.0119048
+1,1,3,20,20,20,20,20	4.20153e-05	0.0119048
+1,1,4,4,20,20	0.000142207	0.0119048
+1,1,4,5	0.000302022	0.0119048
+1,1,4,5,19,19,19,19	7.33525e-07	0.0119048
+1,1,4,20,20,20,20	0.000242598	0.0119048
+1,1,6,20,20,20	0.000237011	0.0119048
+1,1,9,20	0.000981573	0.0119048
+1,1,20	0.00510856	0.0119048
+1,1,20,20	0.00212674	0.0119048
+1,2	0.00718391	0.0119048
+1,2,2,2,20	0.00168855	0.0119048
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	7.06226e-05	0.0119048
+1,2,2,3,4,7,20,20,20,20	9.64491e-05	0.0119048
+1,2,2,3,20,20	0.000274256	0.0119048
+1,2,2,20,20	0.00150387	0.0119048
+1,2,3,4,4,5,6	1.12932e-05	0.0119048
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	8.29451e-05	0.0119048
+1,2,4,20	0.00174502	0.0119048
+1,2,5,5,20	7.9151e-05	0.0119048
+1,2,15,19	0.000268464	0.0119048
+1,2,20,20	0.00189044	0.0238095
+1,3	0.00718391	0.0119048
+1,3,3,3,3,5,20,20	0.00011558	0.0119048
+1,3,3,20,20,20	7.61823e-05	0.0119048
+1,3,20,20	0.000315073	0.0119048
+1,4,4,13,19	8.67884e-06	0.0119048
+1,6	0.00718391	0.0119048
+1,7,7,7	5.03371e-05	0.0119048
+2,2,2,2,2,3,4,20,20	8.93193e-06	0.0119048
+2,2,2,3	0.000238635	0.0119048
+2,2,4,4,20,20,20	9.43598e-05	0.0119048
+2,6,20	0.000613027	0.0238095
+3,3,3,3,3,4,20,20	1.81626e-05	0.0119048
+3,3,3,4,16,16,20	4.35339e-06	0.0119048
+3,3,4,20,20	1.4328e-05	0.0119048
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_6.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_6.txt
new file mode 100644
index 0000000..bf13d27
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_6.txt
@@ -0,0 +1,75 @@
+1,1	0.0186012	0.0123457
+1,1,1,1	0.00785707	0.0123457
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.00344588	0.0123457
+1,1,1,1,1,3,3,4,20,20,20	0.000629428	0.0123457
+1,1,1,1,1,20	0.00491495	0.0123457
+1,1,1,1,2,2	0.00283119	0.0123457
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000203148	0.0123457
+1,1,1,1,2,2,2,3	0.000138794	0.0123457
+1,1,1,1,5,10	0.000113248	0.0123457
+1,1,1,1,20	0.00938839	0.0123457
+1,1,1,1,20,20,20	0.000268308	0.0123457
+1,1,1,2	0.0205909	0.0123457
+1,1,1,2,2,3,4,4,6,7,9,20	2.48368e-07	0.0123457
+1,1,1,2,3	0.00572463	0.0123457
+1,1,1,2,4,20,20	0.00119248	0.0123457
+1,1,1,2,20	0.00915941	0.0246914
+1,1,1,3,3,20,20,20,20,20,20	0.00042676	0.0123457
+1,1,1,3,20	0.00549565	0.0123457
+1,1,1,4,20,20	0.00128883	0.0123457
+1,1,1,19,19	0.00119263	0.0123457
+1,1,1,19,20,20	0.00193325	0.0123457
+1,1,1,20,20	0.00366376	0.037037
+1,1,2	0.00396825	0.0123457
+1,1,2,2	0.0202359	0.0123457
+1,1,2,2,2,3,4,20,20,20	0.000199787	0.0123457
+1,1,2,2,2,20,20,20	0.000155738	0.0123457
+1,1,2,2,3,4,4	0.000185497	0.0123457
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000323947	0.0123457
+1,1,2,2,20	0.003351	0.0123457
+1,1,2,3	0.00639029	0.0123457
+1,1,2,3,5	0.000418875	0.0123457
+1,1,2,3,20	0.0040212	0.0123457
+1,1,2,5,5,20,20,20,20,20,20,20	5.40595e-06	0.0123457
+1,1,2,5,20,20	0.00124726	0.0123457
+1,1,2,6,7	6.98126e-05	0.0123457
+1,1,2,19	0.00426019	0.0123457
+1,1,2,19,19	0.000872657	0.0123457
+1,1,2,19,19,20	0.000445449	0.0123457
+1,1,2,20	0.0117155	0.0246914
+1,1,2,20,20	0.0026808	0.0123457
+1,1,2,20,20,20	0.0021827	0.0246914
+1,1,3,20,20,20,20,20	2.22019e-05	0.0123457
+1,1,4,20,20,20,20	0.000295686	0.0123457
+1,1,5,20,20,20,20	3.69607e-05	0.0123457
+1,1,6,20	0.000616607	0.0123457
+1,1,6,20,20,20	0.00021827	0.0123457
+1,1,9,20	0.000616607	0.0123457
+1,1,20,20	0.00113045	0.0123457
+1,2	0.00744048	0.0123457
+1,2,2,2	0.00883868	0.0123457
+1,2,2,2,2,19,19,19	3.40676e-06	0.0123457
+1,2,2,2,20,20,20,20,20	0.00110254	0.0123457
+1,2,2,3,4,7,20,20,20,20	9.98937e-05	0.0123457
+1,2,2,3,20,20	0.000201171	0.0123457
+1,2,2,4,6,6,20	4.25885e-05	0.0123457
+1,2,2,4,20,20	0.000402341	0.0123457
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	8.59074e-05	0.0123457
+1,2,4,5,6,19,19,20,20,20,20,20	7.52355e-06	0.0123457
+1,2,4,20	0.00161594	0.0246914
+1,2,7,20	0.00323187	0.0123457
+1,2,20	0.0026455	0.0123457
+1,2,20,20	0.00148127	0.0123457
+1,3	0.00744048	0.0123457
+1,3,3,3,3,5,20,20	4.27529e-05	0.0123457
+1,4,4,13,19	7.66236e-06	0.0123457
+1,6	0.00744048	0.0123457
+1,7,7,7	8.2472e-05	0.0123457
+2,2,2,3	0.000914346	0.0123457
+2,2,3,19	0.000288741	0.0123457
+2,2,4,4,20,20,20	0.000131416	0.0123457
+2,6,20	0.00176367	0.0123457
+3,3,3,3,3,4,20,20	9.40563e-06	0.0123457
+3,3,3,4,16,16,20	1.32442e-06	0.0123457
+3,3,4,20,20	1.72235e-05	0.0123457
+5,6,20	0.000587889	0.0123457
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_7.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_7.txt
new file mode 100644
index 0000000..618ccde
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_7.txt
@@ -0,0 +1,72 @@
+1	0.0113636	0.0117647
+1,1,1	0.0114757	0.0235294
+1,1,1,1	0.0143501	0.0235294
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.000171067	0.0117647
+1,1,1,1,1,3,3,4,20,20,20	0.000229232	0.0117647
+1,1,1,1,1,20,20,20	5.28061e-05	0.0117647
+1,1,1,1,2,2	0.00271297	0.0117647
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000193914	0.0117647
+1,1,1,1,2,2,2,3	6.6294e-05	0.0117647
+1,1,1,1,2,3,20	0.000598442	0.0117647
+1,1,1,1,5,10	4.48425e-05	0.0117647
+1,1,1,1,20	0.011746	0.0117647
+1,1,1,1,20,20,20	0.000664935	0.0117647
+1,1,1,2,2,2,3,20,20,20,20	0.000166241	0.0117647
+1,1,1,2,2,3,4,4,6,7,9,20	5.88237e-07	0.0117647
+1,1,1,2,2,20,20,20,20,20,20,20	1.13809e-05	0.0117647
+1,1,1,2,3	0.00764858	0.0117647
+1,1,1,2,4,20,20	0.000854917	0.0117647
+1,1,1,2,6,20,20,20	2.55808e-05	0.0117647
+1,1,1,2,20	0.0152972	0.0235294
+1,1,1,2,20,20	0.0071983	0.0235294
+1,1,1,3,3,20,20,20,20,20,20	0.000247748	0.0117647
+1,1,1,3,20	0.00655593	0.0117647
+1,1,1,4,20	0.00218531	0.0117647
+1,1,1,4,20,20	0.00130878	0.0117647
+1,1,1,19,20,20	0.000654391	0.0117647
+1,1,1,20	0.0143501	0.0117647
+1,1,1,20,20	0.00546327	0.0352941
+1,1,1,20,20,20	0.0025085	0.0117647
+1,1,2	0.00860678	0.0117647
+1,1,2,2,2,3,4,20,20,20	0.000159055	0.0117647
+1,1,2,2,2,5,20,20,20,20,20,20,20	9.25883e-06	0.0117647
+1,1,2,2,2,20,20,20	3.68664e-05	0.0117647
+1,1,2,2,3,19,19,19,19	1.41918e-05	0.0117647
+1,1,2,2,20	0.00747071	0.0117647
+1,1,2,3,5	0.000533622	0.0117647
+1,1,2,3,20	0.00640346	0.0117647
+1,1,2,6,7	8.8937e-05	0.0117647
+1,1,2,19	0.00625645	0.0117647
+1,1,2,19,19	0.000177874	0.0117647
+1,1,2,20	0.0177266	0.0352941
+1,1,2,20,20	0.00533622	0.0235294
+1,1,2,20,20,20	0.0028545	0.0117647
+1,1,3,3	0.00119171	0.0117647
+1,1,4,5,19,19,19,19	2.05449e-07	0.0117647
+1,1,5,20,20,20,20	0.000101776	0.0117647
+1,1,9,20	0.00126619	0.0117647
+1,1,20,20	0.00358753	0.0235294
+1,2	0.00568182	0.0117647
+1,2,2,2	0.0040074	0.0117647
+1,2,2,2,20	0.00162155	0.0117647
+1,2,2,2,20,20,20,20,20	3.45083e-05	0.0117647
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.98201e-05	0.0117647
+1,2,2,3,20,20	0.00112982	0.0235294
+1,2,2,4,20,20	0.000564908	0.0117647
+1,2,3,4,4,5,6	6.59507e-06	0.0117647
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	8.20026e-05	0.0117647
+1,2,4,5,6,19,19,20,20,20,20,20	3.49104e-06	0.0117647
+1,2,4,20	0.00104274	0.0117647
+1,2,7,20	0.00104274	0.0117647
+1,2,15,19	0.000368027	0.0117647
+1,2,20,20	0.00295444	0.0235294
+1,3	0.00568182	0.0117647
+1,3,3,3,3,5,20,20	9.60228e-05	0.0117647
+1,3,3,20,20,20	0.000143172	0.0117647
+1,3,20,20	0.000844124	0.0117647
+2,2,2,2,2,3,4,20,20	7.0425e-05	0.0117647
+2,2,3,19	0.000303081	0.0117647
+2,6,20	0.000358616	0.0117647
+3,3,3,3,3,4,20,20	2.54178e-05	0.0235294
+3,3,4,20,20	1.48423e-05	0.0117647
+5,6,20	0.000179308	0.0117647
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_8.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_8.txt
new file mode 100644
index 0000000..207314c
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_8.txt
@@ -0,0 +1,80 @@
+1	0.01	0.0103093
+1,1	0.018	0.0103093
+1,1,1	0.0282094	0.0412371
+1,1,1,1	0.0107104	0.0103093
+1,1,1,1,1,20,20,20	9.76563e-05	0.0103093
+1,1,1,1,2,2	0.00202312	0.0103093
+1,1,1,1,2,2,2,2,3,3,20,20,20,20,20	0.000170645	0.0103093
+1,1,1,1,5,10	3.344e-05	0.0103093
+1,1,1,1,20	0.00670722	0.0103093
+1,1,1,1,20,20	0.00524339	0.0103093
+1,1,1,1,20,20,20	6.52382e-05	0.0103093
+1,1,1,2	0.0230685	0.0103093
+1,1,1,2,2,2,2,3,3,4,20	7.2898e-05	0.0103093
+1,1,1,2,2,2,3,20,20,20,20	0.000431232	0.0103093
+1,1,1,2,2,3,4,4,6,7,9,20	1.23483e-07	0.0103093
+1,1,1,2,2,20,20,20,20,20,20,20	3.16776e-05	0.0103093
+1,1,1,2,4,20,20	0.000383217	0.0103093
+1,1,1,2,6,20,20,20	6.78168e-05	0.0103093
+1,1,1,2,20	0.0113819	0.0103093
+1,1,1,2,20,20	0.00623538	0.0206186
+1,1,1,3,3,20,20,20,20,20,20	3.62204e-05	0.0103093
+1,1,1,4,20	0.00243899	0.0103093
+1,1,1,4,20,20	0.00396797	0.0103093
+1,1,1,20	0.0115343	0.0206186
+1,1,1,20,20	0.00426823	0.0309278
+1,1,1,20,20,20	0.00264531	0.0103093
+1,1,2	0.0158678	0.0103093
+1,1,2,2	0.0186322	0.0103093
+1,1,2,2,2,5,20,20,20,20,20,20,20	0.000272958	0.0103093
+1,1,2,2,3,4,4	0.000161156	0.0103093
+1,1,2,2,3,20,20,20,20,20,20,20,20,20,20,20,20	0.000272116	0.0103093
+1,1,2,2,20	0.00724305	0.0206186
+1,1,2,3	0.0088725	0.0103093
+1,1,2,3,4,5,6,19,20	5.90094e-06	0.0103093
+1,1,2,3,20	0.00103472	0.0103093
+1,1,2,5,5,20,20,20,20,20,20,20	1.58388e-05	0.0103093
+1,1,2,19,19	0.000369544	0.0103093
+1,1,2,19,19,20	0.000120374	0.0103093
+1,1,2,20	0.0186322	0.0309278
+1,1,2,20,20	0.00543229	0.0103093
+1,1,2,20,20,20	0.00235933	0.0206186
+1,1,3,20,20,20,20,20	9.11458e-05	0.0103093
+1,1,4,4,20,20	0.00112605	0.0103093
+1,1,4,5	0.000169	0.0103093
+1,1,4,5,19,19,19,19	2.96699e-07	0.0103093
+1,1,5,20,20,20,20	1.27388e-05	0.0103093
+1,1,6,20	0.00088725	0.0103093
+1,1,6,20,20,20	0.000214485	0.0103093
+1,1,19	0.00528926	0.0103093
+1,1,20,20	0.00310537	0.0206186
+1,2	0.018	0.0309278
+1,2,2,2,20	0.00204854	0.0103093
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.14417e-05	0.0103093
+1,2,2,3,4,7,20,20,20,20	7.168e-05	0.0103093
+1,2,2,4,4,4	5.47987e-05	0.0103093
+1,2,2,4,6,6,20	5.00924e-05	0.0103093
+1,2,2,4,20,20	0.00105214	0.0103093
+1,2,2,20	0.0100327	0.0103093
+1,2,3,4,4,5,6	4.95864e-05	0.0103093
+1,2,3,7,8,20,20,20,20,20,20,20,20,20	7.21622e-05	0.0103093
+1,2,4,5,6,19,19,20,20,20,20,20	6.20882e-06	0.0103093
+1,2,4,20	0.001911	0.0103093
+1,2,5,5,20	0.000125421	0.0103093
+1,2,7,20	0.0009555	0.0103093
+1,2,15,19	0.000364	0.0103093
+1,2,20,20	0.00334425	0.0309278
+1,3	0.006	0.0103093
+1,3,3,20,20,20	2.31876e-05	0.0103093
+1,3,20,20	0.00079625	0.0103093
+1,4,4,13,19	4.79927e-06	0.0103093
+1,6,11,20,20	2.35164e-05	0.0103093
+2,2,2,2,2,3,4,20,20	3.58482e-05	0.0103093
+2,2,2,2,3,20,20,20	8.58503e-06	0.0103093
+2,2,2,3	0.0008575	0.0103093
+2,2,3,19	0.00049	0.0103093
+2,2,20,20,20	0.000162952	0.0103093
+2,3,19,19	9.33333e-05	0.0103093
+2,6,20	0.000165289	0.0206186
+3,3,3,3,3,4,20,20	3.71028e-06	0.0103093
+3,3,3,4,16,16,20	1.98213e-06	0.0103093
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_9.txt b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_9.txt
new file mode 100644
index 0000000..1f2db1f
--- /dev/null
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/input/structure_empiric_frequency_sample_50_9.txt
@@ -0,0 +1,77 @@
+1,1	0.0143369	0.0111111
+1,1,1	0.0337232	0.0555556
+1,1,1,1	0.0106979	0.0111111
+1,1,1,1,1,1,1,1,1,1,1,20,20	0.00016187	0.0111111
+1,1,1,1,1,20	0.0033725	0.0111111
+1,1,1,1,1,20,20,20	5.34616e-05	0.0111111
+1,1,1,1,5,10	5.85503e-05	0.0111111
+1,1,1,2	0.0207846	0.0111111
+1,1,1,2,2,3,4,4,6,7,9,20	2.55553e-07	0.0111111
+1,1,1,2,2,20,20,20,20,20,20,20	5.25055e-05	0.0111111
+1,1,1,2,4,20,20	0.00152134	0.0111111
+1,1,1,2,6,20,20,20	3.80172e-05	0.0111111
+1,1,1,2,20	0.0118115	0.0111111
+1,1,1,2,20,20	0.00640248	0.0222222
+1,1,1,3,3,20,20,20,20,20,20	0.000772064	0.0111111
+1,1,1,3,20	0.00492144	0.0111111
+1,1,1,4,20,20	0.0026677	0.0111111
+1,1,1,20	0.0103923	0.0111111
+1,1,1,20,20	0.00516752	0.0444444
+1,1,1,20,20,20	0.00240093	0.0111111
+1,1,2	0.0159742	0.0111111
+1,1,2,2	0.015143	0.0111111
+1,1,2,2,2,3,4,20,20,20	0.000150503	0.0111111
+1,1,2,2,2,5,20,20,20,20,20,20,20	8.76104e-06	0.0111111
+1,1,2,2,2,20,20,20	8.11033e-05	0.0111111
+1,1,2,2,3,4,4	0.000120792	0.0111111
+1,1,2,3,4,5,6,19,20	3.1247e-06	0.0111111
+1,1,2,3,5	0.00136077	0.0111111
+1,1,2,3,20	0.00571523	0.0111111
+1,1,2,5,5,20,20,20,20,20,20,20	1.57516e-05	0.0111111
+1,1,2,5,20,20	0.00120046	0.0111111
+1,1,2,6,7	9.07179e-05	0.0111111
+1,1,2,19	0.00534461	0.0111111
+1,1,2,20	0.015143	0.0111111
+1,1,2,20,20	0.00600099	0.0222222
+1,1,2,20,20,20	0.00270105	0.0111111
+1,1,3,3	0.00130995	0.0111111
+1,1,3,20,20,20,20	0.000125743	0.0111111
+1,1,3,20,20,20,20,20	0.000120666	0.0111111
+1,1,4,5	0.000209592	0.0111111
+1,1,4,5,19,19,19,19	8.39896e-08	0.0111111
+1,1,4,20,20,20,20	0.000440102	0.0111111
+1,1,5,20,20,20,20	6.28717e-05	0.0111111
+1,1,6,20	0.000890768	0.0111111
+1,1,6,20,20,20	0.000225087	0.0111111
+1,1,9,20	0.000890768	0.0111111
+1,1,20,20	0.00252384	0.0222222
+1,2	0.00716846	0.0111111
+1,2,2,2,20	0.00176988	0.0111111
+1,2,2,2,20,20,20,20,20	5.14236e-05	0.0111111
+1,2,2,3,3,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20	6.60663e-05	0.0111111
+1,2,2,3,20,20	0.000900349	0.0222222
+1,2,2,4,4,4	3.21627e-05	0.0111111
+1,2,2,4,6,6,20	7.3954e-05	0.0111111
+1,2,2,4,20,20	0.00112544	0.0111111
+1,2,2,20	0.0073552	0.0111111
+1,2,2,20,20	0.00232296	0.0111111
+1,2,4,20	0.00173063	0.0111111
+1,2,5,5,20	0.000331852	0.0111111
+1,2,7,20	0.000865317	0.0111111
+1,2,15,19	0.000305406	0.0111111
+1,2,20	0.00168149	0.0111111
+1,2,20,20	0.00245173	0.0222222
+1,3,3,3,3,5,20,20	0.000135407	0.0111111
+1,3,3,20,20,20	0.000112544	0.0111111
+1,3,20,20	0.000721098	0.0111111
+1,4,16	0.000560497	0.0111111
+1,6	0.00716846	0.0111111
+2,2,2,2,2,3,4,20,20	0.000113895	0.0111111
+2,2,2,2,3,20,20,20	2.30694e-05	0.0111111
+2,2,2,3	0.000700495	0.0111111
+2,2,3,19	0.00037085	0.0111111
+2,2,4,4,20,20,20	0.000232955	0.0111111
+2,6,20	0.000176999	0.0111111
+3,3,3,3,3,4,20,20	4.33303e-05	0.0222222
+3,3,4,20,20	1.30094e-05	0.0111111
+5,6,20	5.89997e-05	0.0111111
diff --git a/python_scripts/accumulated_probability_according_to_empiric_mdp/main.py b/python_scripts/accumulated_probability_according_to_empiric_mdp/main.py
index c873537..aee5e41 100644
--- a/python_scripts/accumulated_probability_according_to_empiric_mdp/main.py
+++ b/python_scripts/accumulated_probability_according_to_empiric_mdp/main.py
@@ -1,6 +1,8 @@
 import sys
 import getopt
 from math import factorial, ceil
+import argparse
+import os
 
 class Motivo:
 	 def __init__(self,e,proba,frecuencia,cota):
@@ -31,61 +33,69 @@ def kDisjuntez(e,k):
 		cota = cota*20.0/e[i]
 	return ceil(cota)
 
-def main():
-	print "Disjuntez\t Probabilidad 0.5\t Probabilidad 0.9\n"
-	for k in xrange(-1,21):
-		inputFilePath = "input/structure_empiric_frequency.txt"
-		inputFile = open(inputFilePath, "r")
-		outputFilePath = "output/accumulated_probability_according_to_mdp"+str(k)+".txt"
-		outputFile = open(outputFilePath,"w")
-		
-		motivos = []
-		
-		frecuenciaTotal = 0
-		
-		for line in inputFile:
-			collumns = line.split("\t")
-			e = []
-			for ei in collumns[0].split(","):
-				e.append(int(ei))
-			proba = float(collumns[1].replace(",","."))
-			frecuencia = float(collumns[2])
-			cota = 0
-			if len(e)>= k and e[0]<=10:
-				if k==-1:
-					cota = fuertementeDisj(e)
-				elif k==0:
-					cota = ceroDisj(e)
-				elif k>0:
-					cota = kDisjuntez(e,k)
+def main(inputFilePath, output_file_prefix):
+    print "Disjuntez\t Probabilidad 0.5\t Probabilidad 0.9\n"
+    for k in xrange(-1,21):
+        #inputFilePath = "input/structure_empiric_frequency.txt"
+	inputFile = open(inputFilePath, "r")
+
+        directory = output_file_prefix.split("/")[1]
+
+        if not os.path.exists("output/"+directory):
+            os.makedirs("output/"+directory)
+
+
+        outputFilePath = output_file_prefix+str(k)+".txt"
+        outputFile = open(outputFilePath,"w")
+        motivos = []
+        frecuenciaTotal = 0
+        for line in inputFile:
+            collumns = line.split("\t")
+            e = []
+            for ei in collumns[0].split(","):
+                e.append(int(ei))
+            proba = float(collumns[1].replace(",","."))
+            frecuencia = float(collumns[2])
+            cota = 0
+            if len(e)>= k and e[0]<=10:
+                if k==-1:
+		    cota = fuertementeDisj(e)
+		elif k==0:
+                    cota = ceroDisj(e)
+		elif k>0:
+                    cota = kDisjuntez(e,k)
 				
-				frecuenciaTotal = frecuenciaTotal + frecuencia
-				m = Motivo(e,proba,frecuencia,cota)
-				motivos.append(m)
+                frecuenciaTotal = frecuenciaTotal + frecuencia
+                m= Motivo(e,proba,frecuencia,cota)
+                motivos.append(m)
 		
-		#ordenamos de mayor a menor
-		motivos.sort(key=lambda x: x.cota, reverse=True)
-		outputFile.write("Motivo lineal\t Cota\t Probabilidad\t Frecuencia\t Frecuencia Acumulada\n");
-		frecuenciaAcumulada = 0;
+        #ordenamos de mayor a menor
+        motivos.sort(key=lambda x: x.cota, reverse=True)
+	outputFile.write("Motivo lineal\t Cota\t Probabilidad\t Frecuencia\t Frecuencia Acumulada\n");
+	frecuenciaAcumulada = 0;
 		
-		s= str(k)+"\t"
-		flag1=True
-		flag2=True
+	s= str(k)+"\t"
+	flag1=True
+	flag2=True
 		
-		for motivo in motivos:
-			frecuenciaAcumulada=frecuenciaAcumulada+motivo.frecuencia*1.0/frecuenciaTotal
-			outputFile.write(str(motivo.e)+"\t"+str(motivo.cota)+"\t"+str(motivo.proba)+"\t"+str(motivo.frecuencia*1.0/frecuenciaTotal)+"\t"+str(frecuenciaAcumulada)+"\n");
+	for motivo in motivos:
+            frecuenciaAcumulada=frecuenciaAcumulada+motivo.frecuencia*1.0/frecuenciaTotal
+	    outputFile.write(str(motivo.e)+"\t"+str(motivo.cota)+"\t"+str(motivo.proba)+"\t"+str(motivo.frecuencia*1.0/frecuenciaTotal)+"\t"+str(frecuenciaAcumulada)+"\n");
 		
-			if frecuenciaAcumulada >=0.5 and flag1:
-				flag1=False
-				s=s+ str(motivo.cota)+"\t"
+	    if frecuenciaAcumulada >=0.5 and flag1:
+	        flag1=False
+		s=s+ str(motivo.cota)+"\t"
 				
-			if frecuenciaAcumulada >=0.9 and flag2:
-				flag2=False
-				s=s+ str(motivo.cota)+"\n"
-		print s;
-		outputFile.close()
-		inputFile.close()
+	    if frecuenciaAcumulada >=0.9 and flag2:
+	        flag2=False
+		s=s+ str(motivo.cota)+"\n"
+	print s;
+	outputFile.close()
+	inputFile.close()
 		
 if __name__ == "__main__":
-    sys.exit(main())
+     parser = argparse.ArgumentParser()
+     parser.add_argument('-i', '--input')
+     parser.add_argument('-o', '--output')
+     args = parser.parse_args()
+     sys.exit(main(args.input, args.output))
-- 
GitLab