{'fraction_non_alphanumeric': 0.030464584920030464, 'fraction_numerical': 0.0, 'mean_word_length': 5.169014084507042, '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}}
Efficient Message Passing and Propagation of Simple Temporal Constraints

The Simple Temporal Network (STN) is a widely used framework for reasoning about quantitative temporal constraints over variables with continuous or discrete domains. Determining consistency and deriving the minimal network are traditionally achieved by graph algorithms (e.g., FloydWarshall, Johnson) or by iteration of narrowing operators (e.g., STP). However, none of these existing methods exploit effectively the tree-decomposition structure of the constraint graph of an STN. Methods based on variable elimination (e.g., adaptive consistency) can exploit this structure, but have not been applied to STNs, in part because it is unclear how to efficiently pass the ‘messages’ over a set of continuous domains. We first show that for an STN, these messages can be represented compactly as sub-STNs. We then present an efficient message passing scheme for computing the minimal constraints of an STN. Analysis of the new algorithm, PropSTP, brings formal explanation of the performance of the existing STN solvers STP and SR-PC. Preliminary empirical results validate the efficiency of Prop-STP in cases where the constraint network is known to have small tree-width, such as those that arise in Hierarchical Task Network planning prob-