All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.virtdata.stathelpers.aliasmethod.AliasSampler Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
package io.virtdata.stathelpers.aliasmethod;

import io.virtdata.stathelpers.ElemProbD;

import java.util.Collection;
import java.util.function.LongFunction;

public class AliasSampler implements LongFunction {
    AliasSamplerDoubleInt coreSampler;
    T[] elements;

    public AliasSampler(Collection> elementProbabilities) {
        elementProbabilities.forEach(ep -> {

        });

    }


    @Override
    public T apply(long value) {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy