RandomSetS

scalation.random.RandomSetS
case class RandomSetS(count: Int, stream: Int) extends VariateSet

The RandomSetS class generates a random set/subset of strings.

Value parameters

count

the size of the set (number of strings)

stream

the random number stream

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class VariateSet
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def gen: Set[Double]

Determine the next random double set for the particular distribution.

Determine the next random double set for the particular distribution.

Attributes

def igen: Set[Int]

Determine the next random integer set for the particular distribution. It is only valid for discrete random variates.

Determine the next random integer set for the particular distribution. It is only valid for discrete random variates.

Attributes

def mean: Double

Compute the mean for the particular distribution.

Compute the mean for the particular distribution.

Attributes

def pf(s: Set[Int]): Double

Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.

Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.

Value parameters

z

the mass point/set whose probability is sought

Attributes

def sgen: Set[String]

Inherited methods

def discrete: Boolean

Determine whether the distribution is discrete or continuous.

Determine whether the distribution is discrete or continuous.

Attributes

Inherited from:
VariateSet
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product