Browse code

Added extra print line to combinations.py to find combinations with no patterns. Polished analysis.

Puskás Zoltán authored on 08/06/2012 07:22:51
Showing 2 changed files

1 1
Binary files a/doc/analysis.ods and b/doc/analysis.ods differ
... ...
@@ -36,6 +36,7 @@ for num in range(4, 10):
36 36
 	valid_pat = re.compile(r'Number of patterns for length ([0-9]+): ([0-9]+).*')
37 37
 	for combo in combination(range(1,10), num):
38 38
 		dotlist = ''.join(map(str, combo))
39
+		print ' '.join(['Running', dotlist])
39 40
 		p = Popen(' '.join(["../bin/aupatterns -g", dotlist]), stdout=PIPE, shell=True)
40 41
 		for line in p.stdout.readlines():
41 42
 			m = valid_pat.match(line)