Packages

case class Map[X, Y](f: (X) => Y, input: RandomVar[X], output: RandomVar[Y]) extends GeneratorNode[Y] with Product with Serializable

generator node for mapping

X

scala type of the input random variable

Y

scala type of the output random variable

f

the function

input

the input random variable

output

the output random variable

Linear Supertypes
Serializable, Product, Equals, GeneratorNode[Y], GeneratorNodeFamily[HNil, Y], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. Serializable
  3. Product
  4. Equals
  5. GeneratorNode
  6. GeneratorNodeFamily
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Map(f: (X) => Y, input: RandomVar[X], output: RandomVar[Y])

    f

    the function

    input

    the input random variable

    output

    the output random variable

Value Members

  1. val f: (X) => Y
  2. val input: RandomVar[X]
  3. val inputList: Cons[X, HNil]
  4. val output: RandomVar[Y]
    Definition Classes
    MapGeneratorNode
  5. val outputFamily: RandomVar[Y]

    the family of random variables for which this is a generation.

    the family of random variables for which this is a generation.

    Definition Classes
    GeneratorNodeGeneratorNodeFamily
  6. def pi[D, S >: Y, T](conditionFamily: (D) => Sort[S, T], outputFamily: RandomVarFamily[::[D, HNil], T]): GeneratorNodeFamily[::[D, HNil], T]
    Definition Classes
    GeneratorNode
  7. def piFmly[Dom <: HList, S >: Y, T](conditionFamily: (Dom) => Sort[S, T], outputFamily: RandomVarFamily[Dom, T]): GeneratorNodeFamily[Dom, T]
    Definition Classes
    GeneratorNode
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def |[S >: Y, T](condition: Sort[S, T], output: RandomVar[T]): GeneratorNode[T]
    Definition Classes
    GeneratorNode