{'fraction_non_alphanumeric': 0.01921598770176787, 'fraction_numerical': 0.007686395080707148, 'mean_word_length': 4.786666666666667, '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}}
Approximation algorithms for the vertex feedback set problem with applications to constraint satisfaction and Bayesian inference

A vertex feedback set of an undirected graph is a subset of vertices that intersects with the vertex set of each cycle in the graph. Given an undirected graph G with n vertices and weights on its vertices, polynomial-time algorithms are provided for approximating the problem of finding a vertex feedback set of G with a smallest weight. When the weights of all vertices in G are equal, the performance ratio attained by these algorithms is 4 (2/n). This improves a previous algorithm which achieved an approximation factor of G for this case. For general vertex weights, the performance ratio becomes min{2A2, 41og, n} where A denotes the maximum degree in G. For the special case of planar graphs this ratio is reduced to 10. An interesting special case of weighted graphs where a performance ratio of 4 (2/n) is achieved is the one where a prescribed subset of the vertices, so called blackout vertices, is not allowed to participate in any vertex feedback set. It is shown how these algorithms can improve the search performance for constraint satisfaction problems. An application in the area of Bayesian inference of graphs with blackout vertices is also presented.