home *** CD-ROM | disk | FTP | other *** search
- .mt2
- .mb2
- Thi≤ prograφ generate≤ benchmarδ tes⌠ case≤ fo≥ M1« Thσ tes⌠ ì
- case≤ arσ knowledgσ base≤ whicΦ M▒ caε loaΣ anΣ execute« Thσ ì
- tes⌠ case≤ havσ fou≥ parts║ thσ goal¼ rule≤ t∩ se⌠ thσ fina∞ ì
- variable≤ TRUE¼ ß rulσ whicΦ wil∞ satisf∙ thσ goal¼ anΣ thσ bod∙ ì
- oµ thσ tes⌠ case« Herσ wσ seσ threσ examples:
-
- A simple test case with four body rules:
-
- goa∞ ╜ v0« (thσ goal)
- áááááv5« (v╡ i≤ TRUE)
- áááááiµ v▒ theε v0« (thσ rulσ whicΦ satisfie≤ thσ goal)
- áááááiµ v▓ theε v1« (thσ bod∙ oµ thσ knowledgσ base)
- áááááiµ v│ theε v2.
- áááááiµ v┤ theε v3.
- áááááiµ v╡ theε v4.
-
- A disjunctive test case with four two-variable body rules:
-
- ááááágoa∞ ╜ v0« (thσ goal)
- áááááv5« (v╡ anΣ v╢ arσ TRUE)
- áááááv6.
- áááááiµ v▒ o≥ v▓ theε v0« (thσ rulσ whicΦ satisfie≤ thσ goal)
- áááááiµ v│ o≥ v┤ theε v1« (thσ bod∙ oµ thσ knowledgσ base)
- áááááiµ v│ o≥ v┤ theε v2.
- áááááiµ v╡ o≥ v╢ theε v3.
- áááááiµ v╡ o≥ v╢ theε v4.
-
- A conjunctive test case with four two-variable body rules:
-
- ááááágoa∞ ╜ v0« (thσ goal)
- áááááv5« (v╡ anΣ v╢ arσ TRUE)
- áááááv6.
- áááááiµ v▒ anΣ v▓ theε v0« (thσ rulσ whicΦ satisfie≤ thσ goal)
- áááááiµ v│ anΣ v┤ theε v1« (thσ bod∙ oµ thσ knowledgσ base)
- áááááiµ v│ anΣ v┤ theε v2.
- áááááiµ v╡ anΣ v╢ theε v3.
- áááááiµ v╡ anΣ v╢ theε v4.
-
- Usinτ thσ program¼ yo⌡ caε quickl∙ generatσ benchmarδ knowledgσ ì
- base≤ anΣ timσ thei≥ loadinτ anΣ execution« Thσ prograφ wil∞ ì
- promp⌠ thσ use≥ for:
-
- 1.áThe test case type (simple, disjunctive or conjunctive).
-
- áUpper or lower case inputs are allowed.
-
- 2. The name of the file to write the knowledge base to.
-
- áááááA hand∙ file-naminτ conventioε i≤:
- ááááá
- ááááá <S/D/C><# oµ variables>-<# of body rules>
-
- 3. The number of variables in the "if" portion of each rule.
- ááááá
- áááááFor a simple test case, this is automatically set to 1.
-
- 4. The number of rules in the body of the test knowledge base.
-
- Thσ numbe≥ oµ rule≤ mus⌠ bσ aε eveε multiplσ oµ thσ numbe≥ ì
- áááááoµ variables.