{'fraction_non_alphanumeric': 0.01832460732984293, 'fraction_numerical': 0.002617801047120419, 'mean_word_length': 5.169354838709677, '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}}
Toward Finding an Optimal P2P Network Structure: A Stochastic Facility Location Allocation Approach

A stochastic model based on the Capacitated Facility Location Allocation problem is developed to find the optimal Peer-to-Peer (P2P) network structure. Given the locations of the peers and their demand distributions in a grid space, the model finds the optimal points in the space to place the main servers (brokers) that facilitate the communication between the peers by offering them indexing and searching services for all the files in the space. Although the place of each peer is fixed, they may not be online all the time. Therefore, the demand distribution for each agent is specified probabilistically and the corresponding model is solved stochastically.