{'fraction_non_alphanumeric': 0.03028118240807498, 'fraction_numerical': 0.0, 'mean_word_length': 5.673076923076923, '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}}
Constraint Satisfaction in Distributed Concurrent Logic Programming

Abstract In constraint logic programming, unification is replaced by more general constraint satisfaction. To support constraint solving in a committed-choice concurrent logic programming language, the constraint solver also needs to determine the status of the ‘ask’-constraints with respect to the current constraint store. In a distributed system, in which ‘ask’- and ‘tell’-constraints are generated incrementally and concurrently on different nodes,the constraint solver needs to face a distributed constraint store. When some constraints are ‘local’ to a node, it is most desirable that they are solved ‘locally’ In this paper we first describe a prototype distributed concurrent constraint logic programming languageD/C-Parlogwhich allows incremental and concurrent generation of constraints on different nodes in a distributed system. Then we describe, in the framework ofD/C-Parlog, algorithms for distributed constraint satisfaction problems in the domains of Real numbers and Boolean rings. When the number of nodes reduces to one, these algorithms degenerate to existing centralised constraint satisfaction algorithms such as those used in CLP (R) and CHIP. The algorithm supports both ‘ask’-constraints that appear in the guard and ‘tell’-constraints in the body. Some implementation issues are discussed.