7. Conclusion and future work
In a real-life environment, a database is usually found in a dynamic environment as the transactions in the database are frequently inserted, deleted or modified. Transaction modification is also commonly seen in real-world applications, especially as errors or typos may frequently occur when information is inputted into a computer using a keyboard. Although transaction insertion is followed by transaction deletion, or deletion followed by insertion, can be concerned as a batch process for transaction modification, it takes twice operations and time-consuming processes to maintain and update the discovered HUIs. Thus, it is an important task to design a maintenance algorithm for transaction modification, and thus efficiently update the discovered HUIs in dynamic databases. In this paper, based on a new developed pre-large strategy, an efficient algorithm called PRE-HUI-MOD algorithm is proposed to maintain and update the discovered HUIs of HUIM for handling transaction modification. When transactions are modified, the proposed PRE-HUI-MOD algorithm partitions the discovered HTWUIs into three parts, creating nine cases according to whether they are HTWUIs or small transaction-weighted utilization itemsets in the original database and in the modified transactions. Each part is then executed by the designed procedure to respectively maintain and update the discovered HTWUIs. A safety bound is also designed to reduce database rescan computations when transactions are modified. From the experimental results, it can be observed that the proposed PRE-HUI-MOD algorithm outperforms existing batch-mode algorithms in several databases in terms of execution time and scalability