コード例 #1
0
ファイル: run.py プロジェクト: darius/icfp09
def run(scenario):
    p = scenarios.make_problem(scenario) #, watching=True)
    p.make_osf()
    print 'Scenario %d score: %6.2f' % (scenario, p.get_score())
コード例 #2
0
ファイル: review.py プロジェクト: darius/icfp09
def review(osf_filename):
    team_id, scenario, frames = osf.load(open(osf_filename, 'rb'))
    p = scenarios.make_problem(scenario, watching=True)
    p.review(frames)