Bitbybit Docs
    Preparing search index...

    Class TwoThresholdRandomGradientDto (Inputs.Logic)

    用于 logic.twoThresholdRandomGradient 的数值、两个阈值和步数。

    Index

    Constructors

    Properties

    numbers: number[]

    要转成布尔值的数值,每个一个。

    undefined
    
    thresholdTotalTrue: number

    低于此值的数值总是 true。

    1
    

    0

    Infinity

    0.1

    thresholdTotalFalse: number

    高于此值的数值总是 false;在两个阈值之间,为 true 的几率从必然逐渐降到零。

    2
    

    0

    Infinity

    0.1

    nrLevels: number

    两个阈值之间的渐变有多少级;级数越多越平滑。

    10
    

    0

    Infinity

    1