Class ProbabilityFunctionImpl

    • Constructor Detail

      • ProbabilityFunctionImpl

        public ProbabilityFunctionImpl​(IUnit unit,
                                       boolean hasOrderedDomain,
                                       boolean isInFrequencyDomain)
    • Method Detail

      • hasOrderedDomain

        public boolean hasOrderedDomain()
        Description copied from interface: IProbabilityFunction
        If the domain of the probability functions is ordered, true is returned; false otherwise.
        Specified by:
        hasOrderedDomain in interface IProbabilityFunction
        Returns:
        True, if the domain is ordered.
      • isInFrequencyDomain

        public boolean isInFrequencyDomain()
        Description copied from interface: IProbabilityFunction
        True, if the probability density function is in the frequency domain (frequency domain graph shows how much of the signal lies within each given frequency band over a range of frequencies). This means it is the result of a Fourier transformation.
        Specified by:
        isInFrequencyDomain in interface IProbabilityFunction
        Returns:
        True, if in frequency domain, false otherwise.
      • isInTimeDomain

        public boolean isInTimeDomain()
        Description copied from interface: IProbabilityFunction
        True, if the probability density function is the time domain (a time domain graph shows how a signal changes over time). This means that it is not a result of a Fourier transform.
        Specified by:
        isInTimeDomain in interface IProbabilityFunction
        Returns:
        True, if in time domain; false otherwise.
      • setInFrequencyDomain

        protected void setInFrequencyDomain​(boolean isInFrequencyDomain)
      • setUnit

        protected void setUnit​(IUnit unit)
      • getRandomGenerator

        public IRandomGenerator getRandomGenerator()
        Returns:
        the randomGenerator
      • setRandomGenerator

        public void setRandomGenerator​(IRandomGenerator randomGenerator)
        Parameters:
        randomGenerator - the randomGenerator to set