X-Git-Url: https://git.siccegge.de//index.cgi?p=master%2Fcool-versuchung.git;a=blobdiff_plain;f=cool.py;h=8b5568f02752996f6a73dc349e2d281f2b641391;hp=0bfdc15b8beb3e8f7ecc92bab77ce409d7acf4ae;hb=e215daa9c8ace50faf2df49a1e8a861f7ea1d51d;hpb=7e366195bd15c04e9051659582222dd2c21c50c3 diff --git a/cool.py b/cool.py index 0bfdc15..8b5568f 100755 --- a/cool.py +++ b/cool.py @@ -82,6 +82,27 @@ class TreeTabExperiment(SolverExperiment): shell("timeout 1001 ./ctl tree --verbose < %s" % formula) +class GMULExperiment(SolverExperiment): + inputs = { 'gmul' : TarArchive('ctlgraph.tar') } + outputs = {} + + + def __init__(self): + GMULExperiment.inputs.update(SolverExperiment.inputs) + GMULExperiment.outputs.update(SolverExperiment.outputs) + super(GMULExperiment, self).__init__() + + + def build_solver(self): + with self.inputs.gmul as path: + shell("make") + + + def run_solver(self, formula): + with self.inputs.gmul as path: + shell("timeout 1001 ./ctl tr --verbose < %s" % formula) + + if __name__ == "__main__": import sys experiment = CoolExperiment()