Java Language And Integrated Using The Netbeans Ide 8.0 Essay

1357 Words Jan 13th, 2016 6 Pages
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 3.1 show the parameter and parameter value seen by CBPTT.

Table 3.1Information for user input
Parameter 0 1 2
Parameter Value 2 3 3

After that, pairwise parameter was generated where first parameter was looped with increment of 1 until second parameter limit was reached. For instance,
First combination: [0,1] where 0 was index value of first parameter, then was added by 1.
Second combination: [0,2] where previous value of 1 for second parameter was added by 1. Since, the index of second parameter was reached, first parameter index was incremented.
Third combination: [1,2] where the index 1 was added by 1. But, the second parameter index was reached with this combination, no further combination was looped.

Table 3.2 Parameter…

Related Documents