clik-engine API
    Preparing search index...

    Interface Consideration<TContext>

    interface Consideration<TContext> {
        curve?: CurveType;
        inputFn: (ctx: TContext) => number;
        name: string;
        weight?: number;
    }

    Type Parameters

    • TContext
    Index

    Properties

    curve?: CurveType

    Response curve type

    inputFn: (ctx: TContext) => number

    Input function: returns 0-1 value from context

    name: string
    weight?: number

    Weight multiplier for this consideration