Sampler using Time based sampler. This does not require user login. Random seed will generated based on execution timestamp.
See Also: Inherited members from object.
|
Initializes a new instance of the KiiCorp.Cloud.ABTesting.RandomVariationSampler class. |
|
ChooseVariation
(KiiExperiment, Variation)Do sampling. Returns random variation based on the percentage configured in developer portal. If sampling is failed, returns the fallback. If the experiment has terminated and fixed variation has chosen, returns chosen variation. Returned variation is same as KiiExperiment.ChosenVariation |
Initializes a new instance of the KiiCorp.Cloud.ABTesting.RandomVariationSampler class.Syntax
public RandomVariationSampler ()Remarks
Requirements
Namespace: KiiCorp.Cloud.ABTesting
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Do sampling. Returns random variation based on the percentage configured in developer portal. If sampling is failed, returns the fallback. If the experiment has terminated and fixed variation has chosen, returns chosen variation. Returned variation is same as KiiExperiment.ChosenVariationSyntax
Parameters
- experiment
- that requires sampling.
- fallback
- The variation to return when failed to get the applied variation.
Returns
Applied variation for this time.Remarks
Requirements
Namespace: KiiCorp.Cloud.ABTesting
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0