SCIPrandomGetSubset

Function SCIPrandomGetSubset 

Source
pub unsafe extern "C" fn SCIPrandomGetSubset(
    randnumgen: *mut SCIP_RANDNUMGEN,
    set: *mut *mut c_void,
    nelems: c_int,
    subset: *mut *mut c_void,
    nsubelems: c_int,
) -> SCIP_RETCODE
Expand description

draws a random subset of disjoint elements from a given set of disjoint elements; this implementation is suited for the case that nsubelems is considerably smaller then nelems