Fix max-path to represent total chord count instead of edge count

This commit is contained in:
Michael Winter 2026-03-24 11:57:04 +01:00
parent 6245ce5e27
commit c1ff66265d

View file

@ -604,7 +604,7 @@ def main():
weights_config["max_path"] = args.max_path weights_config["max_path"] = args.max_path
path_obj = path_finder.find_stochastic_path( path_obj = path_finder.find_stochastic_path(
max_length=args.max_path, weights_config=weights_config max_length=args.max_path - 1, weights_config=weights_config
) )
print(f"Path length: {len(path_obj)}") print(f"Path length: {len(path_obj)}")