Исправлено построение распределений для пятимерных функций
This commit is contained in:
@@ -70,7 +70,10 @@ def get_function_len(args_count, function_number):
|
|||||||
|
|
||||||
|
|
||||||
def count_symmetricals(args_count):
|
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")
|
print(f"Total {len(func_strings)} representations")
|
||||||
functions_to_check = set()
|
functions_to_check = set()
|
||||||
for layer_values in itertools.product([0, 1], repeat=args_count + 1):
|
for layer_values in itertools.product([0, 1], repeat=args_count + 1):
|
||||||
|
|||||||
Reference in New Issue
Block a user