{'fraction_non_alphanumeric': 0.017412935323383085, 'fraction_numerical': 0.0, 'mean_word_length': 4.551724137931035, '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 Novel Learning-based Search Algorithm for Unstructured Peer to Peer Networks

In order to file sharing as a popular application of unstructured peer to peer networks, finding a certain amount of data in each node, needs performing an appropriate search method. In this paper, we propose a new version of k-random walk algorithm using learning automata. In the proposed method, the value of k for k-random walk is not selected randomly but it is selected in an adaptive manner. It is decided which k walkers are more useful to be selected in order to keep on the search according to past experience of each node. Simulation results show that the novel search algorithm improves the number of hits per query, success rate and the delay of objects discovery in comparison with the k-random walk algorithm.