Class NWayByChanceStationSender

    • Constructor Detail

      • NWayByChanceStationSender

        public NWayByChanceStationSender​(ModelElement parent,
                                         java.util.List<ReceiveQObjectIfc> elements,
                                         double[] cdf)
      • NWayByChanceStationSender

        public NWayByChanceStationSender​(ModelElement parent,
                                         java.util.List<ReceiveQObjectIfc> elements,
                                         double[] cdf,
                                         java.lang.String name)
    • Method Detail

      • size

        public final int size()
      • isEmpty

        public final boolean isEmpty()
      • indexOf

        public final int indexOf​(java.lang.Object arg0)
      • contains

        public final boolean contains​(java.lang.Object arg0)
      • resetStartStream

        public void resetStartStream()
        Description copied from interface: RNStreamControlIfc
        The resetStartStream method will position the RNG at the beginning of its stream. This is the same location in the stream as assigned when the RNG was created and initialized.
        Specified by:
        resetStartStream in interface RNStreamControlIfc
      • setAntitheticOption

        public void setAntitheticOption​(boolean flag)
        Description copied from interface: RNStreamControlIfc
        Tells the stream to start producing antithetic variates
        Specified by:
        setAntitheticOption in interface RNStreamControlIfc
        Parameters:
        flag - true means that it produces antithetic variates.
      • getResetNextSubStreamOption

        public boolean getResetNextSubStreamOption()
        Description copied from interface: StreamOptionIfc
        Gets the current reset next sub-stream option true means, that it is set to jump to the next sub-stream after each replication
        Specified by:
        getResetNextSubStreamOption in interface StreamOptionIfc
        Returns:
        the option
      • setResetNextSubStreamOption

        public void setResetNextSubStreamOption​(boolean b)
        Description copied from interface: StreamOptionIfc
        Sets the current reset next sub-stream option true means, that it is set to jump to the next sub-stream after each replication
        Specified by:
        setResetNextSubStreamOption in interface StreamOptionIfc
        Parameters:
        b - true means reset
      • setResetStartStreamOption

        public void setResetStartStreamOption​(boolean b)
        Description copied from interface: StreamOptionIfc
        Sets the reset start stream option, true means that it will be reset to the starting stream
        Specified by:
        setResetStartStreamOption in interface StreamOptionIfc
        Parameters:
        b - true means reset
      • setRandomNumberStream

        public void setRandomNumberStream​(int streamNumber)
        Description copied from interface: SetRandomNumberStreamIfc
        Assigns the stream associated with the supplied number from the default RNStreamProvider
        Specified by:
        setRandomNumberStream in interface SetRandomNumberStreamIfc
        Parameters:
        streamNumber - a stream number, 1, 2, etc.
      • getStreamNumber

        public int getStreamNumber()
        Specified by:
        getStreamNumber in interface GetRandomNumberStreamIfc
        Returns:
        the stream number allocated to the random variable by the default stream provider. This will return -1 if the random variable's underlying stream was not provided by the default stream provider