public static DBIDVar randomSample(DBIDs ids,RandomFactory random){
  return randomSample(ids,random.getSingleThreadedRandom());
}

public static DBIDVar randomSample ( DBIDs ids , RandomFactory random ) { return randomSample ( ids , random . getSingleThreadedRandom ( ) ) ; }
draw a single random sample .
