{'fraction_non_alphanumeric': 0.015482695810564663, 'fraction_numerical': 0.0, 'mean_word_length': 5.316091954022989, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Rule accumulation method with modified fitness function based on Genetic Network Programming

Genetic Network Programming (GNP) extended from GA and GP is competent for the complex problems in dynamic environments because of its directed graph structure, reusability of nodes and implicit memory function. In this paper, a new method to extract and accumulate rules from GNP is proposed. The general idea is to update the fitness values of the rules accumulatively, rather than just replacing them in the former research. That is, the rules which appear frequently in different generations are given higher fitness values because they represent good universal experiences from the past behaviors. By extracting the rules during the evolutionary period and then matching them with agents' environments, we could guide the agents properly and get better rewards. In order to test the efficiency and effectiveness of the proposed method, we applied the proposed method to the problem of Tile-world as the simulation environment. Simulation results demonstrate the effectiveness of the proposed method.