{'fraction_non_alphanumeric': 0.029411764705882353, 'fraction_numerical': 0.0035650623885918, 'mean_word_length': 4.587064676616915, '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}}
A three-stage greedy and neural-network approach for the subgraph isomorphism problem

This paper presents a three-stage greedy and neural-network algorithm for the subgraph isomorphism problem. Given two graphs of G=(V/sub 1/,E/sub 1/) and H=(V/sub 2/,E/sub 2/), the goal of this NP-complete problem is to find a subgraph of H isomorphic to G. The proposed algorithm consists of three stages. The first stage extracts a set of vertices in H which may be assigned to each vertex in G, based on the newly defined necessary condition. The second stage sequentially seeks a solution based on a greedy method by assigning each vertex in G to a vertex in H satisfying the constraints in descending order of degrees. After the second stage fails at all, the third stage resolves the constraints in parallel based on a digital neural network, where the best result in the second stage is partially adopted to reduce the search space. The performance is evaluated by solving randomly generated graph instances, where the simulation results show that our algorithm achieves the high solution quality in reasonable computation time.