~ruther/ctu-fee-eoa

e1a3f14e499cc695fa85a0345df4113a27406ecb — Rutherther a month ago 57b8308
chore: add jsons with plot definitions
A codes/tsp_hw01/.gitignore => codes/tsp_hw01/.gitignore +1 -0
@@ 0,0 1,1 @@
solutions
\ No newline at end of file

A codes/tsp_plotter/algorithms_fitness_eil76.json => codes/tsp_plotter/algorithms_fitness_eil76.json +26 -0
@@ 0,0 1,26 @@
{
  "instances": [
    "eil76"
  ],
  "algorithms": [
    "ea",
    "ls_reverse",
    "rs"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "algorithms_fitness_eil76.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "algorithm_labels": {
    "ea": "EA",
    "ls_reverse": "LS", 
    "rs": "RS"
  }
}
\ No newline at end of file

A codes/tsp_plotter/algorithms_probability_all.json => codes/tsp_plotter/algorithms_probability_all.json +35 -0
@@ 0,0 1,35 @@
{
  "instances": [
    "eil51",
    "eil76", 
    "eil101",
    "kroA100",
    "ch150",
    "kroA150",
    "kroA200",
    "a280",
    "u574",
    "u724"
  ],
  "algorithms": [
    "ea",
    "ls_reverse",
    "rs"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "algorithms_probability_all.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "algorithm_labels": {
    "ea": "EA",
    "ls_reverse": "LS",
    "rs": "RS"
  }
}
\ No newline at end of file

A codes/tsp_plotter/crossovers_probability_all.json => codes/tsp_plotter/crossovers_probability_all.json +35 -0
@@ 0,0 1,35 @@
{
  "instances": [
    "eil51",
    "eil76", 
    "eil101",
    "kroA100",
    "ch150",
    "kroA150",
    "kroA200",
    "a280",
    "u574",
    "u724"
  ],
  "algorithms": [
    "ea_pmx",
    "ea_erx",
    "ea_cx"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "crossovers_probability_all.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "algorithm_labels": {
    "ea_pmx": "EA (pmx)",
    "ea_erx": "EA (erx)",
    "ea_cx": "EA (cx)"
  }
}
\ No newline at end of file

A codes/tsp_plotter/heuristics_probability_all.json => codes/tsp_plotter/heuristics_probability_all.json +41 -0
@@ 0,0 1,41 @@
{
  "instances": [
    "eil51",
    "eil76", 
    "eil101",
    "kroA100",
    "ch150",
    "kroA150",
    "kroA200",
    "a280",
    "u574",
    "u724"
  ],
  "algorithms": [
    "ea",
    "ea_nn",
    "ea_mst",
    "ls_reverse",
    "ls_nn",
    "ls_mst"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "heuristics_probability_all.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "algorithm_labels": {
    "ea": "EA (normal)",
    "ea_nn": "EA (nn)",
    "ea_mst": "EA (mst)",
    "ls_reverse": "LS (normal)",
    "ls_nn": "LS (nn)",
    "ls_mst": "LS (mst)"
  }
}
\ No newline at end of file

A codes/tsp_plotter/perturbations_fitness_eil76.json => codes/tsp_plotter/perturbations_fitness_eil76.json +28 -0
@@ 0,0 1,28 @@
{
  "instances": [
    "eil76"
  ],
  "algorithms": [
    "ls_move",
    "ls_swap", 
    "ls_reverse",
    "ls_mix"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "perturbations_fitness_eil76.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "algorithm_labels": {
    "ls_move": "LS (move)",
    "ls_swap": "LS (swap)",
    "ls_reverse": "LS (reverse)",
    "ls_mix": "LS (mix)"
  }
}
\ No newline at end of file

A codes/tsp_plotter/perturbations_probability_all.json => codes/tsp_plotter/perturbations_probability_all.json +37 -0
@@ 0,0 1,37 @@
{
  "instances": [
    "eil51",
    "eil76", 
    "eil101",
    "kroA100",
    "ch150",
    "kroA150",
    "kroA200",
    "a280",
    "u574",
    "u724"
  ],
  "algorithms": [
    "ls_move",
    "ls_swap",
    "ls_reverse", 
    "ls_mix"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "perturbations_probability_all.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "algorithm_labels": {
    "ls_move": "LS (move)",
    "ls_swap": "LS (swap)",
    "ls_reverse": "LS (reverse)",
    "ls_mix": "LS (mix)"
  }
}
\ No newline at end of file

A codes/tsp_plotter/representations_probability_all.json => codes/tsp_plotter/representations_probability_all.json +37 -0
@@ 0,0 1,37 @@
{
  "instances": [
    "eil51",
    "eil76", 
    "eil101",
    "kroA100",
    "ch150",
    "kroA150",
    "kroA200",
    "a280",
    "u574",
    "u724"
  ],
  "algorithms": [
    "ea_binary",
    "ea",
    "ls_binary",
    "ls_reverse"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "representations_probability_all.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "algorithm_labels": {
    "ea_binary": "EA (binary)",
    "ea": "EA (normal)",
    "ls_binary": "LS (binary)",
    "ls_reverse": "LS (normal)"
  }
}
\ No newline at end of file