question: public static DBIDs randomSample ( DBIDs ids , double rate , RandomFactory random ) { return randomSample ( ids , rate , random . getSingleThreadedRandom ( ) ) ; }
target:  Produce a random sample of the given DBIDs.