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()