Contents

resolve(count:)

Resolves this split strategy for a specific element count.

Declaration

func resolve(count: Int) -> (ratio: Double, seed: Int)

Parameters

  • count:

    The number of elements in the collection being split.

Return Value

The split fraction and the random seed to use.

See Also

Partitioning data