for a in r.keys():
v[a] = get_lasts_if_exist(r[a], "cost")
- plt.rcParams["font.size"] = 24
fig = plt.figure()
ax = fig.add_subplot(111)
ax.set_title("Path cost histogram")
for a in r.keys():
v[a] = get_lasts_if_exist(r[a], "secs")
- plt.rcParams["font.size"] = 24
fig = plt.figure()
ax = fig.add_subplot(111)
- ax.set_title("Path found time histogram")
+ ax.set_title("Histogram of time to find the path")
ax.set_ylabel("Number of paths found [-]")
- ax.set_xlabel("Algorithm elapsed time [s]")
+ ax.set_xlabel("Algorithm computation time [s]")
ax.set_yscale("log")
for a in LOG:
print("{}: {}".format(a["f"], v[a["f"]]))
if __name__ == "__main__":
+ plt.rcParams["font.size"] = 29
r = {}
for sf in [i["f"] for i in LOG]:
r[sf] = load_trajectories("{}/{}".format(LOGF, sf))
+ print_successrate()
plot_maxtime()
+ plot_costdist()