| Package | Description |
|---|---|
| io.rtr.alchemy.models |
| Modifier and Type | Method and Description |
|---|---|
Treatment |
Experiments.getActiveTreatment(String experimentName,
Identity identity)
Returns the current active treatment for an experiment name and identity, taking overrides into account
|
Treatment |
Allocation.getTreatment() |
Treatment |
TreatmentOverride.getTreatment() |
Treatment |
Experiment.getTreatment(Identity identity,
AttributesMap attributes)
Returns treatment for an identity
|
Treatment |
Allocations.getTreatment(int bin)
Get treatment assigned to a specific bin
|
Treatment |
Experiment.getTreatment(String treatmentName)
Get a treatment with the given name
|
| Modifier and Type | Method and Description |
|---|---|
Map<Experiment,Treatment> |
Experiments.getActiveTreatments(Identity identity)
Returns all active treatments for all active experiments for an identity, taking overrides into account
|
List<Treatment> |
Experiment.getTreatments()
Gets all treatments defined on this experiment
|
| Modifier and Type | Method and Description |
|---|---|
void |
Allocations.allocate(Treatment treatment,
int size)
Allocates bins to a treatment
|
void |
Allocations.deallocate(Treatment treatment,
int size)
De-allocates bins from a treatment
|
void |
Allocations.reallocate(Treatment source,
Treatment destination,
int size)
Reallocates bins from one treatment to another
|
| Constructor and Description |
|---|
Allocation(Treatment treatment,
int offset,
int size) |
TreatmentOverride(String name,
FilterExpression filter,
Treatment treatment) |
Copyright © 2020. All rights reserved.