{'fraction_non_alphanumeric': 0.016975308641975308, 'fraction_numerical': 0.0, 'mean_word_length': 5.49, '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}}
The improved genetic algorithm for solving knapsack problem based on Handel-C

Knapsack problem is applied broadly to practice in resource allocation, investment decision-making, storage allocation, loading problem and so on. The paper adopts Handel-C language to program for the simple and improved genetic algorithm that solve knapsack problem. The procedures of the two algorithms are provided in detail in the paper. The improved genetic algorithm enhances obviously global search ability and converging velocity through contrasting the experiment results of the two algorithms. Thus the effectiveness of the improved algorithm is demonstrated.