Research Article
Mining Experiential Patterns from Game-Logs of Board Game
Procedure ReliabilitySelection | Input: | minSupport, the minimum support threshold. | total: the total number of sequences. | sequencesD, the data table of PiecesStateSequence in database. | Output: | sps, the set of reliable Experience Rules. | Method: | (01) root = CreatSequenceTree(sequencesD); | (02) CBSSFinding(minSupport, root, total, sps); | (03) for to sps.length – 2 do | (04) for to sps.length − 1 do | (05) if sps[].premise == sps[].premisethen | (06) if sps[].support < sps[].supportthen | (07) sps.delete(); | (08) −−; | (09) break; | (10) else | (11) sps.delete(); | (12) −−; | (13) endif | (14) endif | (15) endfor | (16) endfor |
|