Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias NetInput

    joules: avoided is what a hit keeps off the wire, the rest is what it costs

    type NetInput = {
        avoided: number;
        maintain?: number;
        model?: number;
        p: number;
        provision: number;
        render?: number;
        weight: number;
    }
    Index
    avoided: number

    joules a hit keeps off the wire

    maintain?: number

    joules to keep the candidate current, paid whether or not it is used; default 0

    model?: number

    joules of model work the decision costs, paid whether or not it is used; default 0

    p: number

    probability the candidate is used, from 0 to 1

    provision: number

    joules to provision the candidate, paid whether or not it is used

    render?: number

    joules to render the candidate, paid whether or not it is used; default 0

    weight: number

    effective observations behind p