~ruther/ctu-fee-eoa

663bea976ace114affe01183575babb3e495d5a3 — Rutherther a month ago 8315b8f
chore: update the json specifications for plots
M codes/tsp_plotter/algorithms_fitness_eil76.json => codes/tsp_plotter/algorithms_fitness_eil76.json +4 -2
@@ 18,9 18,11 @@
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "average_runs": true,
  "show_std_dev": true,
  "algorithm_labels": {
    "ea": "EA",
    "ls_reverse": "LS", 
    "ls_reverse": "LS",
    "rs": "RS"
  }
}
\ No newline at end of file
}

M codes/tsp_plotter/algorithms_probability_all.json => codes/tsp_plotter/algorithms_probability_all.json +3 -3
@@ 13,7 13,7 @@
  ],
  "algorithms": [
    "ea",
    "ls_reverse",
    "ls_mix",
    "rs"
  ],
  "group_by_algorithm": true,


@@ 29,7 29,7 @@
  "average_targets": true,
  "algorithm_labels": {
    "ea": "EA",
    "ls_reverse": "LS",
    "ls_mix": "LS",
    "rs": "RS"
  }
}
\ No newline at end of file
}

A codes/tsp_plotter/crossovers_fitness_eil76.json => codes/tsp_plotter/crossovers_fitness_eil76.json +28 -0
@@ 0,0 1,28 @@
{
  "instances": [
    "eil76"
  ],
  "algorithms": [
    "ea_pmx",
    "ea_erx",
    "ea_cx"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "crossovers_fitness_eil76.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "average_runs": true,
  "show_std_dev": true,
  "algorithm_labels": {
    "ea_pmx": "EA (pmx)",
    "ea_erx": "EA (erx)",
    "ea_cx": "EA (cx)"
  }
}

M codes/tsp_plotter/heuristics_probability_all.json => codes/tsp_plotter/heuristics_probability_all.json +4 -3
@@ 15,7 15,7 @@
    "ea",
    "ea_nn",
    "ea_mst",
    "ls_reverse",
    "ls_mix",
    "ls_nn",
    "ls_mst"
  ],


@@ 30,12 30,13 @@
  ],
  "plot_type": "success_probability",
  "average_targets": true,
  "show_std_dev": false,
  "algorithm_labels": {
    "ea": "EA (normal)",
    "ea_nn": "EA (nn)",
    "ea_mst": "EA (mst)",
    "ls_reverse": "LS (normal)",
    "ls_mix": "LS (normal)",
    "ls_nn": "LS (nn)",
    "ls_mst": "LS (mst)"
  }
}
\ No newline at end of file
}

M codes/tsp_plotter/perturbations_fitness_eil76.json => codes/tsp_plotter/perturbations_fitness_eil76.json +4 -2
@@ 4,7 4,7 @@
  ],
  "algorithms": [
    "ls_move",
    "ls_swap", 
    "ls_swap",
    "ls_reverse",
    "ls_mix"
  ],


@@ 19,10 19,12 @@
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "average_runs": true,
  "show_std_dev": 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
}

M codes/tsp_plotter/perturbations_probability_all.json => codes/tsp_plotter/perturbations_probability_all.json +3 -2
@@ 14,12 14,13 @@
  "algorithms": [
    "ls_move",
    "ls_swap",
    "ls_reverse", 
    "ls_reverse",
    "ls_mix"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "perturbations_probability_all.svg",
  "show_std_dev": false,
  "targets": [
    1.0,
    5.0,


@@ 34,4 35,4 @@
    "ls_reverse": "LS (reverse)",
    "ls_mix": "LS (mix)"
  }
}
\ No newline at end of file
}

A codes/tsp_plotter/representations_fitness_eil76.json => codes/tsp_plotter/representations_fitness_eil76.json +30 -0
@@ 0,0 1,30 @@
{
  "instances": [
    "eil76"
  ],
  "algorithms": [
    "ea_binary",
    "ea",
    "ls_binary",
    "ls_mix"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",
  "output_path": "representations_fitness_eil76.svg",
  "targets": [
    1.0,
    5.0,
    10.0,
    20.0
  ],
  "plot_type": "fitness_evolution",
  "average_targets": false,
  "average_runs": true,
  "show_std_dev": true,
  "algorithm_labels": {
    "ea_binary": "EA (binary)",
    "ea": "EA (normal)",
    "ls_binary": "LS (binary)",
    "ls_mix": "LS (normal)"
  }
}

M codes/tsp_plotter/representations_probability_all.json => codes/tsp_plotter/representations_probability_all.json +3 -3
@@ 15,7 15,7 @@
    "ea_binary",
    "ea",
    "ls_binary",
    "ls_reverse"
    "ls_mix"
  ],
  "group_by_algorithm": true,
  "base_path": "../tsp_hw01/solutions",


@@ 32,6 32,6 @@
    "ea_binary": "EA (binary)",
    "ea": "EA (normal)",
    "ls_binary": "LS (binary)",
    "ls_reverse": "LS (normal)"
    "ls_mix": "LS (normal)"
  }
}
\ No newline at end of file
}