/** * Reallocates bins from one treatment to another * @param sourceTreatmentName The source treatment * @param destinationTreatmentName The destination treatment * @param size The number of bins */ public Experiment reallocate(String sourceTreatmentName, String destinationTreatmentName, int size) { allocations.reallocate( treatment(sourceTreatmentName), treatment(destinationTreatmentName), size ); return this; }