sample method

List<List<num>> sample({
  1. int sampleSize = 2000,
})

Returns a list containing sampleSize points randomly sampled from the entire search space.

Implementation

List<List<num>> sample({
  int sampleSize = 2000,
}) =>
    List<List<num>>.generate(sampleSize, (_) => next());