/// <summary> /// Return the number of distinct values of one numerical feature that are considered from the design using a specific seed. /// </summary> /// <param name="seed">A seed for the Plackett Burman Design.</param> /// <returns>Number of distinct values of one numerical feature for the specific seed. Or zero if the seed is not defined.</returns> public int getLevel(PlackettBurmanDesign.Seed seed) { switch (seed) { case Seed.seed9_3: case Seed.seed81_3: case Seed.seed27_3: return(3); case Seed.seed25_5: case Seed.seed125_5: return(5); case Seed.seed49_7: return(7); } return(0); }
/// <summary> /// Return the number of measurements for one seed. /// </summary> /// <param name="seed">A seed for the Plackett Burman Design.</param> /// <returns>Number of measurements for the specific seed. Or zero if the seed is not defined.</returns> public int getMeasurements(PlackettBurmanDesign.Seed seed) { switch (seed) { case Seed.seed9_3: return(9); case Seed.seed81_3: return(81); case Seed.seed27_3: return(27); case Seed.seed25_5: return(25); case Seed.seed125_5: return(125); case Seed.seed49_7: return(49); } return(0); }