Adds problems and result saving

This commit is contained in:
LSaldyt
2017-10-04 15:20:48 -06:00
parent 430e2b3750
commit 7abb40f849
6 changed files with 26 additions and 2 deletions

View File

@ -35,8 +35,7 @@ final temperature of the workspace; lower means "more elegant".
import argparse
import logging
from copycat import Copycat, Reporter, plot_answers
from copycat import Copycat, Reporter, plot_answers, save_answers
class SimpleReporter(Reporter):
"""Reports results from a single run."""
@ -70,6 +69,8 @@ def main():
if options.plot:
plot_answers(answers, show=not options.noshow)
save_answers(answers, 'output/answers.csv')
if __name__ == '__main__':
main()