|
@@ -299,7 +299,7 @@ Element function match(host_model : Element, schedule_model : Element, LHS : Str
|
|
|
set_add_node(mappings, initial_mapping)
|
|
|
while (list_len(schedule) > 0):
|
|
|
current_element = list_pop(schedule, list_len(schedule) - 1)
|
|
|
- log("Binding element with label " + cast_value(read_attribute(schedule_model, current_element, "label")))
|
|
|
+ //log("Binding element with label " + cast_value(read_attribute(schedule_model, current_element, "label")))
|
|
|
new_mappings = dict_create()
|
|
|
|
|
|
while (set_len(mappings) > 0):
|
|
@@ -313,7 +313,7 @@ Element function match(host_model : Element, schedule_model : Element, LHS : Str
|
|
|
set_add_node(new_mappings, new_map)
|
|
|
|
|
|
mappings = new_mappings
|
|
|
- log("Remaining options: " + cast_value(set_len(mappings)))
|
|
|
+ //log("Remaining options: " + cast_value(set_len(mappings)))
|
|
|
|
|
|
if (set_len(mappings) == 0):
|
|
|
// Stop because we have no more options remaining!
|
|
@@ -565,12 +565,12 @@ Boolean function transform_forall(host_model : Element, schedule_model : Element
|
|
|
else:
|
|
|
result = False
|
|
|
|
|
|
- log("Matches in forall: " + cast_string(set_len(mappings)))
|
|
|
+ //log("Matches in forall: " + cast_string(set_len(mappings)))
|
|
|
while (set_len(mappings) > 0):
|
|
|
mapping = set_pop(mappings)
|
|
|
RHS = set_pop(allAssociationDestinations(schedule_model, current, "RHSLink"))
|
|
|
rewrite(host_model, schedule_model, RHS, mapping)
|
|
|
- log("Rewrite OK")
|
|
|
+ //log("Rewrite OK")
|
|
|
|
|
|
return result!
|
|
|
|