Class DevStoneCoupledHO


  • public class DevStoneCoupledHO
    extends DevStone
    Coupled model to study the performance HO DEVStone models
    • Field Detail

      • iInAux

        public Port<Integer> iInAux
        Additional input port
      • oOutAux

        public Port<Integer> oOutAux
        Additional output port
    • Constructor Detail

      • DevStoneCoupledHO

        public DevStoneCoupledHO​(String name)
        Constructor
        Parameters:
        name - name of the model
      • DevStoneCoupledHO

        public DevStoneCoupledHO​(String prefix,
                                 int width,
                                 int depth,
                                 double preparationTime,
                                 double intDelayTime,
                                 double extDelayTime)
        Constructor
        Parameters:
        prefix - prefix of the model name
        width - width of the model
        depth - depth of the model
        preparationTime - preparation time of the atomic models
        intDelayTime - internal delay time of the atomic models
        extDelayTime - external delay time of the atomic models
      • DevStoneCoupledHO

        public DevStoneCoupledHO​(String prefix,
                                 int width,
                                 int depth,
                                 double preparationTime,
                                 org.apache.commons.math3.distribution.RealDistribution distribution)
        Constructor
        Parameters:
        prefix - prefix of the model name
        width - width of the model
        depth - depth of the model
        preparationTime - preparation time of the atomic models
        distribution - distribution of the atomic models, used to compute delay times
    • Method Detail

      • numDeltExtsInTheory

        public long numDeltExtsInTheory​(int maxEvents,
                                        int width,
                                        int depth)
        Description copied from class: DevStone
        Theoretical number of external transitions performed in the simulation of the DEVStone model
        Specified by:
        numDeltExtsInTheory in class DevStone
        Parameters:
        maxEvents - maximum number of input events
        width - width of the DEVStone model
        depth - depth of the DEVStone model
        Returns:
        theoretical number of external transitions performed
      • numDeltIntsInTheory

        public long numDeltIntsInTheory​(int maxEvents,
                                        int width,
                                        int depth)
        Description copied from class: DevStone
        Theoretical number of internal transitions performed in the simulation of the DEVStone model
        Specified by:
        numDeltIntsInTheory in class DevStone
        Parameters:
        maxEvents - maximum number of input events
        width - width of the DEVStone model
        depth - depth of the DEVStone model
        Returns:
        theoretical number of internal transitions performed
      • numEventsInTheory

        public long numEventsInTheory​(int maxEvents,
                                      int width,
                                      int depth)
        Description copied from class: DevStone
        Theoretical number of events internally received in all the external transition functions.
        Specified by:
        numEventsInTheory in class DevStone
        Parameters:
        maxEvents - number of external input events to the DEVStone model
        width - width of the DEVStone model
        depth - depth of the DEVStone model
        Returns:
        theoretical number of events internally received in all the external transition functions
      • main

        public static void main​(String[] args)
      • numAtomicsInTheory

        public int numAtomicsInTheory​(int width,
                                      int depth)
        Description copied from class: DevStone
        Theoretical number of atomic models in the DEVStone model
        Specified by:
        numAtomicsInTheory in class DevStone
        Parameters:
        width - width of the DEVStone model
        depth - depth of the DEVStone model
        Returns:
        theoretical number of atomic models