Mercurial > repos > icfp2013
diff src/driver.tp @ 56:f864792a1b17
Improve prefiltering in program generator. Make solver use similar logic to driver when run standalone.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 11 Aug 2013 14:11:47 -0700 |
parents | e634e81c4c84 |
children |
line wrap: on
line diff
--- a/src/driver.tp Sun Aug 11 14:08:13 2013 -0700 +++ b/src/driver.tp Sun Aug 11 14:11:47 2013 -0700 @@ -36,7 +36,7 @@ probtrees <- prog allOfSize: numops withOps: (el operators) print: "Generated " . (string: (probtrees length)) . " programs\n" probtrees <- prog filterTrees: probtrees (el operators) - print: "Running classifier " . (string: (probtrees length)) . " programs\n" + print: "Running classifier on " . (string: (probtrees length)) . " programs\n" info <- solver classify: prog probtrees nt solver solve: (el id) withAuth: authKey andInfo: info andProg: prog }