Исправлено построение распределений для пятимерных функций

This commit is contained in:
2021-05-09 13:58:07 +03:00
parent d29132b6a0
commit 57d5f1eafc

View File

@@ -70,7 +70,10 @@ def get_function_len(args_count, function_number):
def count_symmetricals(args_count):
func_strings = list(open(f"./build/functions_strings_{args_count}.txt").read().split("\n")[:-1])
if args_count <= 4:
func_strings = list(open(f"./build/functions_strings_{args_count}.txt").read().split("\n")[:-1])
else:
func_strings = []
print(f"Total {len(func_strings)} representations")
functions_to_check = set()
for layer_values in itertools.product([0, 1], repeat=args_count + 1):