Loading parse/RDP.py +17 −17 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class RDP(): if self.args.process_all and self.args.add_all_horizontally: nrp = NonRedundancyPatterns(self.patternsPRA) nrp.store_all() #nrp.plot_all() nrp.plot_all() rp = RedundancyPatterns(self.patternsPRA) rp.store_all() rp.plot_all() Loading Loading @@ -88,7 +88,7 @@ class RDP(): m = Monitoring(extract.parameters) self.patternsPRA["monitoring"] = m m.store_all() #m.plot_all() m.plot_all() # Initialize prediction class object, calculate and plot performance, reliability, and availability if pattern.lower() == "prediction": Loading @@ -97,7 +97,7 @@ class RDP(): p = Prediction(extract.parameters) self.patternsPRA["prediction"] = p p.store_all() #p.plot_all() p.plot_all() # Initialize restructure class object, calculate and plot performance, reliability, and availability if pattern.lower() == "restructure": Loading @@ -106,7 +106,7 @@ class RDP(): restruct = Restructure(extract.parameters) self.patternsPRA["restructure"] = restruct restruct.store_all() #restruct.plot_all() restruct.plot_all() # Initialize rejuvenation class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rejuvenation": Loading @@ -115,7 +115,7 @@ class RDP(): rejuv = Rejuvenation(extract.parameters) self.patternsPRA["rejuvenation"] = rejuv rejuv.store_all() #rejuv.plot_all() rejuv.plot_all() # Initialize reinitialization class object, calculate and plot performance, reliability, and availability if pattern.lower() == "reinitialization": Loading @@ -124,7 +124,7 @@ class RDP(): reinit = Reinitialization(extract.parameters) self.patternsPRA["reinitialization"] = reinit reinit.store_all() #reinit.plot_all() reinit.plot_all() # Initialize rollback class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollback": Loading @@ -133,7 +133,7 @@ class RDP(): rb = Rollback(extract.parameters) self.patternsPRA["rollback"] = rb rb.store_all() #rb.plot_all() rb.plot_all() # Initialize rollforward class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollforward": Loading @@ -142,7 +142,7 @@ class RDP(): rf = Rollforward(extract.parameters) self.patternsPRA["rollforward"] = rf rf.store_all() #rf.plot_all() rf.plot_all() # Initialize forward error correction code class object, calculate and plot performance, reliability, and availability if pattern.lower() == "fecc": Loading @@ -151,7 +151,7 @@ class RDP(): fecc = FECC(extract.parameters) self.patternsPRA["fecc"] = fecc fecc.store_all() #fecc.plot_all() fecc.plot_all() # Initialize active/standby class object, calculate and plot performance, reliability, and availability if pattern.lower() == "active/standby": Loading @@ -160,7 +160,7 @@ class RDP(): asb = ActiveStandby(extract.parameters) self.patternsPRA["active/standby"] = asb asb.store_all() #asb.plot_all() asb.plot_all() # Initialize n modular redundancy class object, calculate and plot performance, reliability, and availability if pattern.lower() == "n_modular_redundancy": Loading @@ -169,7 +169,7 @@ class RDP(): nmr = NModularRedundancy(extract.parameters) self.patternsPRA["n_modular_redundancy"] = nmr nmr.store_all() #nmr.plot_all() nmr.plot_all() # Initialize n version design class object, calculate and plot performance, reliability, and availability if pattern.lower() == "n_version_design": Loading @@ -178,7 +178,7 @@ class RDP(): nvd = NVersionDesign(extract.parameters) self.patternsPRA["n_version_design"] = nvd nvd.store_all() #nvd.plot_all() nvd.plot_all() # Initialize recovery block class object, calculate and plot performance, reliability, and availability if pattern.lower() == "recovery_block": Loading @@ -187,7 +187,7 @@ class RDP(): rb = RecoveryBlock(extract.parameters) self.patternsPRA["recovery_block"] = rb rb.store_all() #rb.plot_all() rb.plot_all() # Initialize natural tolerance class object, calculate and plot performance, reliability, and availability if pattern.lower() == "natural_tolerance": Loading @@ -196,7 +196,7 @@ class RDP(): nt = NaturalTolerance(extract.parameters) self.patternsPRA["natural_tolerance"] = nt nt.store_all() #nt.plot_all() nt.plot_all() # Initialize self healing class object, calculate and plot performance, reliability, and availability if pattern.lower() == "self_healing": Loading @@ -205,7 +205,7 @@ class RDP(): sh = SelfHealing(extract.parameters) self.patternsPRA["self_healing"] = sh sh.store_all() #sh.plot_all() sh.plot_all() # Initialize self aware class object, calculate and plot performance, reliability, and availability if pattern.lower() == "self_aware": Loading @@ -214,7 +214,7 @@ class RDP(): sa = SelfAware(extract.parameters) self.patternsPRA["self_aware"] = sa sa.store_all() #sa.plot_all() sa.plot_all() # Initialize multilevel rollback class object, calculate and plot performance, reliability, and availability if pattern.lower() == "multilevel_rollback": Loading @@ -225,7 +225,7 @@ class RDP(): sub_pattern1 = Rollback(extract1.parameters) mr = MultilevelRollback(sub_pattern0, sub_pattern1) mr.store_all(sub_pattern0) #mr.plot_all(sub_pattern0) mr.plot_all(sub_pattern0) # Initialize rollback N-modular redundancy class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollback_n_modular": Loading Loading
parse/RDP.py +17 −17 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class RDP(): if self.args.process_all and self.args.add_all_horizontally: nrp = NonRedundancyPatterns(self.patternsPRA) nrp.store_all() #nrp.plot_all() nrp.plot_all() rp = RedundancyPatterns(self.patternsPRA) rp.store_all() rp.plot_all() Loading Loading @@ -88,7 +88,7 @@ class RDP(): m = Monitoring(extract.parameters) self.patternsPRA["monitoring"] = m m.store_all() #m.plot_all() m.plot_all() # Initialize prediction class object, calculate and plot performance, reliability, and availability if pattern.lower() == "prediction": Loading @@ -97,7 +97,7 @@ class RDP(): p = Prediction(extract.parameters) self.patternsPRA["prediction"] = p p.store_all() #p.plot_all() p.plot_all() # Initialize restructure class object, calculate and plot performance, reliability, and availability if pattern.lower() == "restructure": Loading @@ -106,7 +106,7 @@ class RDP(): restruct = Restructure(extract.parameters) self.patternsPRA["restructure"] = restruct restruct.store_all() #restruct.plot_all() restruct.plot_all() # Initialize rejuvenation class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rejuvenation": Loading @@ -115,7 +115,7 @@ class RDP(): rejuv = Rejuvenation(extract.parameters) self.patternsPRA["rejuvenation"] = rejuv rejuv.store_all() #rejuv.plot_all() rejuv.plot_all() # Initialize reinitialization class object, calculate and plot performance, reliability, and availability if pattern.lower() == "reinitialization": Loading @@ -124,7 +124,7 @@ class RDP(): reinit = Reinitialization(extract.parameters) self.patternsPRA["reinitialization"] = reinit reinit.store_all() #reinit.plot_all() reinit.plot_all() # Initialize rollback class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollback": Loading @@ -133,7 +133,7 @@ class RDP(): rb = Rollback(extract.parameters) self.patternsPRA["rollback"] = rb rb.store_all() #rb.plot_all() rb.plot_all() # Initialize rollforward class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollforward": Loading @@ -142,7 +142,7 @@ class RDP(): rf = Rollforward(extract.parameters) self.patternsPRA["rollforward"] = rf rf.store_all() #rf.plot_all() rf.plot_all() # Initialize forward error correction code class object, calculate and plot performance, reliability, and availability if pattern.lower() == "fecc": Loading @@ -151,7 +151,7 @@ class RDP(): fecc = FECC(extract.parameters) self.patternsPRA["fecc"] = fecc fecc.store_all() #fecc.plot_all() fecc.plot_all() # Initialize active/standby class object, calculate and plot performance, reliability, and availability if pattern.lower() == "active/standby": Loading @@ -160,7 +160,7 @@ class RDP(): asb = ActiveStandby(extract.parameters) self.patternsPRA["active/standby"] = asb asb.store_all() #asb.plot_all() asb.plot_all() # Initialize n modular redundancy class object, calculate and plot performance, reliability, and availability if pattern.lower() == "n_modular_redundancy": Loading @@ -169,7 +169,7 @@ class RDP(): nmr = NModularRedundancy(extract.parameters) self.patternsPRA["n_modular_redundancy"] = nmr nmr.store_all() #nmr.plot_all() nmr.plot_all() # Initialize n version design class object, calculate and plot performance, reliability, and availability if pattern.lower() == "n_version_design": Loading @@ -178,7 +178,7 @@ class RDP(): nvd = NVersionDesign(extract.parameters) self.patternsPRA["n_version_design"] = nvd nvd.store_all() #nvd.plot_all() nvd.plot_all() # Initialize recovery block class object, calculate and plot performance, reliability, and availability if pattern.lower() == "recovery_block": Loading @@ -187,7 +187,7 @@ class RDP(): rb = RecoveryBlock(extract.parameters) self.patternsPRA["recovery_block"] = rb rb.store_all() #rb.plot_all() rb.plot_all() # Initialize natural tolerance class object, calculate and plot performance, reliability, and availability if pattern.lower() == "natural_tolerance": Loading @@ -196,7 +196,7 @@ class RDP(): nt = NaturalTolerance(extract.parameters) self.patternsPRA["natural_tolerance"] = nt nt.store_all() #nt.plot_all() nt.plot_all() # Initialize self healing class object, calculate and plot performance, reliability, and availability if pattern.lower() == "self_healing": Loading @@ -205,7 +205,7 @@ class RDP(): sh = SelfHealing(extract.parameters) self.patternsPRA["self_healing"] = sh sh.store_all() #sh.plot_all() sh.plot_all() # Initialize self aware class object, calculate and plot performance, reliability, and availability if pattern.lower() == "self_aware": Loading @@ -214,7 +214,7 @@ class RDP(): sa = SelfAware(extract.parameters) self.patternsPRA["self_aware"] = sa sa.store_all() #sa.plot_all() sa.plot_all() # Initialize multilevel rollback class object, calculate and plot performance, reliability, and availability if pattern.lower() == "multilevel_rollback": Loading @@ -225,7 +225,7 @@ class RDP(): sub_pattern1 = Rollback(extract1.parameters) mr = MultilevelRollback(sub_pattern0, sub_pattern1) mr.store_all(sub_pattern0) #mr.plot_all(sub_pattern0) mr.plot_all(sub_pattern0) # Initialize rollback N-modular redundancy class object, calculate and plot performance, reliability, and availability if pattern.lower() == "rollback_n_modular": Loading