+class TreeTabExperiment(SolverExperiment):
+ inputs = { 'treetab' : TarArchive('ctlProver_r1368.tar') }
+ outputs = {}
+
+
+ def __init__(self):
+ TreeTabExperiment.inputs.update(SolverExperiment.inputs)
+ TreeTabExperiment.outputs.update(SolverExperiment.outputs)
+ super(TreeTabExperiment, self).__init__()
+
+
+ def build_solver(self):
+ with self.inputs.treetab as path:
+ shell("make")
+
+
+ def run_solver(self, formula):
+ with self.inputs.treetab as path:
+ shell("timeout 1001 ./ctl tree --verbose < %s" % formula)
+
+
if __name__ == "__main__":
import sys
experiment = CoolExperiment()