Skip to content

Commit 5ca72f9

Browse files
committed
fixed text
1 parent 412e124 commit 5ca72f9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

grape/pruning/obs_equiv_pruner.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ def estimate_total(size: int) -> tuple[int, float]:
170170
reduced_grammar, t = grammar_from_memory(
171171
enumerator.memory, type_req, grammar.finals
172172
)
173-
print("at size:", max_size)
173+
print(f"at size {max_size} programs (after graping): {t:.2e}")
174174
print(
175-
"\tmethod: ratio no pruning | ratio enum. | ratio pruned",
175+
"\tmethod: ratio no graping | ratio base | ratio graped",
176176
)
177177
for s, v in [
178-
("no pruning", base_ntrees),
179-
("commutativity pruned", enum_ntrees),
180-
("pruned", t),
178+
("no graping", base_ntrees),
179+
("base ", enum_ntrees),
180+
("graped ", t),
181181
]:
182182
print(
183183
f"\t{s}: {v / base_ntrees:.2%} | {v / enum_ntrees:.2%} | {v / t:.2%}",

0 commit comments

Comments
 (0)