Pred

class Pred(val o: Observed, val ranked: List<Entry>, val random: Boolean = false)(source)

Pred.random says the order is only a placeholder: hit values are the expectation over orders.

Constructors

Link copied to clipboard
constructor(o: Observed, ranked: List<Entry>, random: Boolean = false)

Properties

Link copied to clipboard
val n: Int
Link copied to clipboard
val o: Observed
Link copied to clipboard
Link copied to clipboard
val rank: Int?
Link copied to clipboard

Functions

Link copied to clipboard
fun hit(k: Int): Long

Micro-units: 1_000_000 when the cause is within the first k, the expectation if random.

Link copied to clipboard