Class BAGT<T>

  • Type Parameters:
    T - The type of the variables of the BDD of the system
    All Implemented Interfaces:
    ImportanceMeasure

    public class BAGT<T>
    extends java.lang.Object
    implements ImportanceMeasure
    The BAGT class calculates the time-independent importance of components proposed by [BAGT16]. [BAGT16] ( https://doi.org/10.1016/j.ejor.2016.03.054 )
    • Field Detail

      • bdd

        protected final BDD<T> bdd
      • transformer

        protected final org.apache.commons.collections15.Transformer<T,​ReliabilityFunction> transformer
      • bddTTRF

        protected final BDDTTRF<T> bddTTRF
      • mttf

        protected final double mttf
    • Constructor Detail

      • BAGT

        public BAGT​(BDD<T> bdd,
                    org.apache.commons.collections15.Transformer<T,​ReliabilityFunction> transformer)
        Returns a BAGT calculator for a specific system with its BDD and ReliabilityFunction Transformer.
        Parameters:
        bdd - The BDD representing the system structure function
        transformer - The Transformer used to get the ReliabilityFunction of variables present in the BDD
    • Method Detail

      • calculate

        public java.util.Map<T,​java.lang.Double> calculate​(BAGT.Variant variant)
        Calculates one of the BAGT importance measure variants. Note: This function might have infinite run times for some variants using non coherent systems. This is due to the MomentEvaluator having an infinite run time for the restricted reliability functions in those cases.
        Parameters:
        variant - The variant of BAGT to be calculated.
        Returns:
        results Map of components and their respective BAGT importance.