FactorGradient

Class used to store factor gradient

Hierarchy

  • FactorGradient

Implements

Index

Properties

Methods

Properties

factor1

factor1: number

Gets or sets first associated factor

Optional factor2

factor2: number

Gets or sets second associated factor

gradient

gradient: number

Gets or sets the gradient value (between 0 and 1)

Methods

getFactor

  • getFactor(): number
  • Will get a number picked randomly between factor1 and factor2. If factor2 is undefined then factor1 will be used

    Returns number

    the picked number

Generated using TypeDoc