def setup_randgen_nonbin(self, length, symbol_dict, \ num_tests, default_score): self.randgen = GENT.random_test(); self.randgen.set_symbols(symbol_dict, 0); self.randgen.set_parameters(length, 0); self.randgen_cnt = num_tests; self.randgen_score = default_score;
def setup_randgen_bin(self, length, bias, num_tests, default_score): self.randgen = GENT.random_test(); self.randgen.set_symbols({}, 1); self.randgen.set_parameters(length, bias); self.randgen_cnt = num_tests; self.randgen_score = default_score;