Pairwise Combination Strategy And Constraints Strategy

Decent Essays
One of the objectives of this research is to develop a tool in Java programming language. Following the stated objective, CBPTT was developed in Java language and integrated using the NetBeans IDE 8.0.2 software. In order to show how pairwise combination strategy and constraints strategy was implemented in CBPTT let consider the example illustrated in Table 1.1. There are three parameters with quantity of 2, 3 and 3. These parameters are input as string which is presented as {2,3,3}. From this input, CBPTT split based on commas. This resulted in p which started from 0 to increment based on the split value. Then, p became the quantity of parameter which is 3. Parameter value was retrieved when information was converted in integer. Table …show more content…
Since CBPTT only accept integer, comma and x as constraint input. This input was converted to get the constraints information. Based on pizza ordering system, there were three constraints which is vegetarian cheese with roasted chicken, vegetarian cheese with ground beef and meat lover and mushroom. To convert this input into constraint input format, the index of each value must be known. Table 3.6 shows the index of each parameter value of pizza ordering system.

Table 3.6 System index information
System Configurations Pizza Options (parameters) Pizza Type (0) Index Toppings (1) Index Size (2) Index Vegetarian Cheese 0 Roasted Chicken 0 Large 0 Meat Lover 1 Ground Beef 1 Medium 1 Mushroom (Mu) 2 Small 2

Now, based on parameter value index, these constraints was input as {0:0:x, 0:1:x,1:2:x} where ‘x’ is ‘do not care’ value. That means, ‘x’ represent every possible value for the parameter. CBPTT split this input to achieve result as
First constraint: 0:0:x
Second constraint: 0:1:x
Third constraint: 1:2:x Then, these constraints were divided by colon. After that, each value was combined in pair based on parameter pair to produce result as shown in Table 3.7.

Table 3.7 Combined constraints list
Parameter combination First constraint {0:0:x} Second constraint {0:1:x} Third constraint {1:2:x}
[0:1] 0:0 0:1
…show more content…
Each value of parameter was randomized to be combined as test cases. Since it is randomized, no fixed test cases can be got from this process. For instance, pizza ordering system can produced 11 random test case of {{1:1:2}, {0:1:0}, {1:0:0}, {0:1:2}, {0:2:1}, {1:0:1}, {0:1:1}, {1:0:2}, {1:2:1}, {1:2:0}, {1:2:2}}. From these random test case lists, each test case was divided and paired. Result of all random test case paired was shown in Table 3.9.
Table 3.9 Divided test case
Random test case Divided test case
1:1:2 [1:1]
[1:2]
[1:2]
0:1:0 [0:1]
[0:0]
[1:0]
1:0:0 [1:0]
[1:0]
[0:0]
0:1:2 [0:1]
[0:2]
[1:2]
0:2:1 [0:2]
[0:1]
[2:1]
1:0:1 [1:0]
[1:1]
[0:1]
0:1:1 [0:1]
[0:1]
[1:1]
1:0:2 [1:0]
[1:2]
[0:2]
1:2:1 [1:2]
[1:1]
[2:1]
1:2:0 [1:2]
[1:0]
[2:0]
1:2:2 [1:2]
[1:2]

Related Documents

  • Decent Essays

    End-Of-Chapter Quiz

    • 680 Words
    • 3 Pages

    Correct answer CONCATENATE A function that returns the specified number of characters from the end of a string of characters. Correct answer RIGHT A process of restricting records through the use of criteria conditions that displays records that answer a question about the data. Correct answer Query An organized collection of data related to a particular topic or purpose. Correct answer Database Facts about people, events, things, or ideas. Correct answer Data A predefined formula that performs calculations by using specific values, called arguments.…

    • 680 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    PICT Case Study

    • 1546 Words
    • 7 Pages

    This was done by grouping the parameter together before new parameter strength was executed. For instance, a system having seven parameter, P1, P2, P3, P4, P5, P6 and P7. Parameter P1, P2, P3 and P4 need to be test in strength of 3-way but P2, P3 and P5 need to be tested with interaction strength of two. ACTS produce combination for both strength and eliminate the duplication before display the final test…

    • 1546 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Let ( Xi , Yi ) ; i = 1,2,3,................ n be n-pairs of observations are given and there are representing a linear regression. We know that, coefficient of correlation r = cov ( X , Y ) / (sigmaX sigmaY ) where cov ( X , Y ) = ( 1/n) sum XiYi - barX barY and X2 = (1/n) sum ( Xi - barX…

    • 740 Words
    • 3 Pages
    Improved Essays
  • Great Essays

    List the probability value for each possibility in the binomial experiment that was calculated in MINITAB with the probability of a success being ½. (Complete sentence not necessary) P(x=0) P(x=6) P(x=1) P(x=7) P(x=2) P(x=8) P(x=3) P(x=9) P(x=4) P(x=10) P(x=5) 4. Give the probability for the following based on the MINITAB calculations with the probability of a success being ½. (Complete sentence not necessary) P(x?1) P(x<0) P(x>1) P(x?4) P(4 5. Calculate the mean and standard deviation (by hand) for the MINITAB created binomial distribution with the probability of a success being ½.…

    • 2523 Words
    • 11 Pages
    Great Essays
  • Improved Essays

    There’s a lot to love about pizza!  MUST HAVES FOR HOMEMADE PIZZA I you are planning to make the perfect homemade pizza ever, don’t skip these tools: 1) A stand-up mixer is unavoidable tool for perfect pliable pizza dough; 2) Food processor for faster results; 3) Rimless baking sheet; 4) Pizza peel is great tool to transport a just-topped pizza onto a hot pizza stone; 5) Pizza stone or Pizza steel and 6) Bench scraper to keep work surface clean and divide balls of dough into…

    • 801 Words
    • 4 Pages
    Improved Essays
  • Superior Essays

    Facial Recognition Essay

    • 1426 Words
    • 6 Pages

    P_I= I ̂/I^* where I ̂ equals correctly identified and I* represents the size of the probe set. The final comparisons are made by using all pairs for (PI,PJ) and for all of the ROC values which were measured by letting the ROC = R_k/P. As with the algorithms already discussed, the Linear Discriminant Analysis (LDA) model begins with Gaussian data. LDA makes use of two values, the mean and the variance, which are produced for each class. Classes can be thought of as facial features such as chins, noses, eyes, ears, hair lines, hair styles, etc.…

    • 1426 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    On the first three disks we have the binary information 1010, 1100 and 0011, here representing some data, and now calculate the parity information for the fourth disk. We use XOR operation to calculate the Parity bit: For the first column of the disks, to the left we have 1, 1 and 0: 1XOR 1 XOR 0 = Parity bit Broken down: 1 XOR 1 = 0 and then 0 XOR 0 = The parity bit is 0. This means first 1 XOR 1…

    • 572 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    IV. PROPOSED PSO & PPSO ALGORITHMS The proposed architecture is based on PSO and PPSO algorithms to calculate execution time depicted below in figure 1. Additionally, in order to evaluate the execution time for software module, a proposed PPSO (Parallel PSO) algorithm…

    • 1263 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    Evenly cover the mixture with cheese. 7. Add the dish to a 375 degree pre-heated over and bake for 30 - 40 minutes or until the casserole is hot. Dump and Go Russian Chicken Ingredients: 1 (12 oz.) jar of apricot preserves 1 bottle of Russian salad dressing 1 to 2 lbs.…

    • 769 Words
    • 4 Pages
    Improved Essays
  • Superior Essays

    The meat sauce was a little more difficult to make since I had to make it from scratch. Typically, when I make spaghetti and meat sauce, I purchase Ragu’s Garden Combination sauce. I found a really good recipe for meat sauce from scratch. I purchased all of my ingredients from Kroger as well. The recipe called for ground beef, 1 chopped onion, 4 cloves of garlic, 1 small green bell pepper diced, diced tomatoes (they said to use a can, I used fresh tomatoes and diced them myself), oregano, basil salt and pepper.…

    • 1793 Words
    • 8 Pages
    Superior Essays