From ab0024741ecdc0c7d444f73edde9d8bf9a677a3a Mon Sep 17 00:00:00 2001
From: Kia <kia@special-circumstanc.es>
Date: Thu, 6 Aug 2020 19:28:02 -0600
Subject: [PATCH] sorta works; working now on making it properly
 Boltzmann-sampling

---
 cfg_utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cfg_utils.py b/cfg_utils.py
index 49e8093..cd4e161 100644
--- a/cfg_utils.py
+++ b/cfg_utils.py
@@ -102,7 +102,7 @@ def indexes_to_item(tree, location):
 
 def random_leaf_random_rule(tree, leafcache, ruleset):
 
-    for x in range(256):
+    for x in range(16):
         proband_cache_index = random.randrange(len(leafcache))
         location = leafcache[proband_cache_index]
 
@@ -185,7 +185,7 @@ walk_the_tree(test_tree)
 leafcache = [[]]
 
 def the_tree_farm():
-    for x in range(10):
+    for x in range(16):
         selected = random_leaf_random_rule(test_tree, leafcache, rules)
         if (selected == None):
             # we have achieved what we need! all leaves are terminal items
-- 
GitLab