{'fraction_non_alphanumeric': 0.0163098878695209, 'fraction_numerical': 0.0, 'mean_word_length': 5.546666666666667, '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}}
HLA Design Patterns for Agent Based Federates

In order for any federate to successfully play in a federation, it must follow the general design principles and agreements of that federation. Since federations can have very different ways of handling e.g. federation management, scenario management and synchronization, building an agile federate is a difficult task. It becomes even more difficult when considering federates being automatically generated. This paper will discuss approaches for handling scenario initialization and execution synchronization for federates generated by Agent Factory. Agent Factory is an R&D effort, conducted on behalf of the Swedish Defence Materiel Administration, aiming at developing a software factory for behavior modeling and automatic generation of agent-based federates. The design patterns described in this paper are not only applicable to agent-based federates but are intended to suggest solutions to problems common to most federates.