type Sel

cswap-bend-cli@0.1.0.0 · policy/rank.bend:14

import cswap-bend-cli@0.1.0.0/policy/rank.bend as Rank
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

14# What a tick selects with: the live slot, the bar, the least headroom a
15# target needs, the usage rows, the clock and the wanted models.
16type Sel is Data:
17  Sel{active: Nat, bar: Maybe<&2, Nat>, need: Nat, us: List<&2, T.Usage>, now: Nat, ms: List<&2, String>}

Uses (5)

Used by (20)