{'fraction_non_alphanumeric': 0.022894521668029435, 'fraction_numerical': 0.001635322976287817, 'mean_word_length': 5.08955223880597, '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}}
ComplexSim: An SMP-Aware Complex Network Simulation Framework

This paper describes Complex Sim, a C-based simulation framework aiming at providing a simple and powerful support to the study of complex networks and P2P protocols evolution by means of simulations on symmetric multiprocessing (SMP) systems. The lower architectural layer of complex Sim, the Parallel Simulation Kernel, includes a complete support for multi-threading which allows to gain a speedup when running simulations on SMP systems. The Parallel Simulation Kernel allows to define and schedule (parallel) tasks and events with a simple API, without dealing with the management of threads, which are hidden by the simulation kernel itself. The Complex Network Data & Runtime is the architectural upper layer. It allows to define a complex network or P2P system model as a graph of entities with user-defined attributes and runtime behavior. By means of the API of Complex Sim, the user code is able to simulate the evolution of its own model by focusing only on the run-time behavior of the network and the nodes, without necessary dealing with aspects such as graph management, message exchange between nodes, event management, task/thread scheduling.