-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
Using rank upper bound:
public static double getRSE(final int k, final double rank, final boolean hra, final long totalN) {
return getRankUB(k, 2, rank, 1, hra, totalN); //more conservative to assume > 1 level
}
Using rank lower bound:
template<typename T, typename C, typename A>
double req_sketch<T, C, A>::get_RSE(uint16_t k, double rank, bool hra, uint64_t n) {
return get_rank_lb(k, 2, rank, 1, n, hra);
}
which one is correct?
Further question:
According the paper and comments above on the method, I think it should return getRankUB(k, 2, rank, 1, hra, totalN) - rank, not the upper bound rank. Did i missread? or historically miss named function?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels