Packages

case class FlatMap[X, Y](baseInput: RandomVar[X], fiberNode: (X) => GeneratorNode[Y], output: RandomVar[Y]) extends GeneratorNode[Y] with Product with Serializable

flat-maps a family of generator nodes, such as lambda islands corresponding to different types.

X

scala type of the parametrizing random variable

Y

scala type of the output random variable

baseInput

the random variable for the parameter of the family

fiberNode

the node for each parameter

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. FlatMap
  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 FlatMap(baseInput: RandomVar[X], fiberNode: (X) => GeneratorNode[Y], output: RandomVar[Y])

    baseInput

    the random variable for the parameter of the family

    fiberNode

    the node for each parameter

    output

    the output random variable

Value Members

  1. val baseInput: RandomVar[X]
  2. val fiberNode: (X) => GeneratorNode[Y]
  3. val inputList: Cons[X, HNil]
  4. val output: RandomVar[Y]
    Definition Classes
    FlatMapGeneratorNode
  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