Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 00d19d38 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix typos; debug

parent b8550cfb
No related branches found
No related tags found
No related merge requests found
...@@ -154,13 +154,15 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil ...@@ -154,13 +154,15 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil
# Frontier places asked # Frontier places asked
previous_frontier_places = set() previous_frontier_places = set()
current_start_prop = start_prop
# i = 0 # i = 0
# with PyCallGraph(output=GraphvizOutput()): # with PyCallGraph(output=GraphvizOutput()):
while True: while True:
print("START PROP:", current_start_prop)
ret = \ ret = \
find_mac(mcla, find_mac(mcla,
cam_file, cam_step_file, cam_complete_file, cam_file, cam_step_file, cam_complete_file,
steps, final_prop, start_prop, inv_prop) steps, final_prop, current_start_prop, inv_prop)
# EXIT # EXIT
# i += 1 # i += 1
# if i == 3: # if i == 3:
...@@ -178,8 +180,8 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil ...@@ -178,8 +180,8 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil
str(previous_frontier_places)) str(previous_frontier_places))
# Compute the formula of the next start_property # Compute the formula of the next start_property
start_prop = make_logical_formula(previous_frontier_places, current_start_prop = make_logical_formula(previous_frontier_places,
start_prop) start_prop)
# If all_macs flag is not set (to True), # If all_macs flag is not set (to True),
# search allways macs with less or equal steps than previous, # search allways macs with less or equal steps than previous,
...@@ -191,7 +193,10 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil ...@@ -191,7 +193,10 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil
LOGGER.debug( LOGGER.debug(
final_prop + final_prop +
":: Next start_prop formula: {} in {} steps".format(start_prop, steps) ":: Next start_prop formula: {} in {} steps".format(
current_start_prop,
steps
)
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment