aboutsummaryrefslogtreecommitdiff
path: root/libarcfire.py
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2016-10-23 19:21:29 +0200
committerVincenzo Maffione <v.maffione@gmail.com>2016-10-23 19:21:29 +0200
commitc67e0fff3369c798e54e5241e89a2abdee5fb832 (patch)
treefaba83d3c6d361d51d6924e100a1bf9a959ad398 /libarcfire.py
parentb4a1c65e541f0815436941aeccac4397ac5eeb26 (diff)
downloadrumba-c67e0fff3369c798e54e5241e89a2abdee5fb832.tar.gz
rumba-c67e0fff3369c798e54e5241e89a2abdee5fb832.zip
libarcfire: add Experiment subclasses
Diffstat (limited to 'libarcfire.py')
-rwxr-xr-xlibarcfire.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/libarcfire.py b/libarcfire.py
index 60bce47..0993d66 100755
--- a/libarcfire.py
+++ b/libarcfire.py
@@ -105,3 +105,33 @@ class Experiment:
print("[experiment %s] start" % self.name)
print("[experiment %s] end" % self.name)
+
+# An experiment over the IRATI implementation
+class IRATIExperiment(Experiment):
+ def __init__(self, name):
+ Experiment.__init__(self, name)
+
+ def run(self):
+ print("[IRATI experiment %s] start" % self.name)
+ print("[IRATI experiment %s] end" % self.name)
+
+
+# An experiment over the RLITE implementation
+class RLITEExperiment(Experiment):
+ def __init__(self, name):
+ Experiment.__init__(self, name)
+
+ def run(self):
+ print("[RLITE experiment %s] start" % self.name)
+ print("[RLITE experiment %s] end" % self.name)
+
+
+# An experiment over the OUROBOROS implementation
+class OUROBOROSExperiment(Experiment):
+ def __init__(self, name):
+ Experiment.__init__(self, name)
+
+ def run(self):
+ print("[OUROBOROS experiment %s] start" % self.name)
+ print("[OUROBOROS experiment %s] end" % self.name)
+