A retraction is a homomorphism from a graph $G$ to an induced subgraph $H$ of $G$ that is the identity on $H$. In a long line of research, retractions have been studied under various algorithmic settings. Recently, the problem of approximately counting retractions was considered. We give a complete trichotomy for the complexity of approximately counting retractions to all square-free graphs (graphs that do not contain a cycle of length $4$). It turns out there is a rich and interesting class of graphs for which this problem is complete in the class $\#\mathrm{BIS}$. As retractions generalise homomorphisms, our easiness results extend to the important problem of approximately counting homomorphisms. By giving new $\#\mathrm{BIS}$-easiness results we now settle the complexity of approximately counting homomorphisms for a whole class of non-trivial graphs which were previously unresolved.
翻译:撤回是一个从一个G$G$图到一个以G$为单位的诱导子集$$H$的同质体。 在一长串的研究中,在各种算法设置下,对撤回进行了研究。 最近,对撤回的大致计算问题进行了审议。 我们给出了一个完整的三叶切剖法,从一个图形中将撤回的总数进行大约的计算,到所有无方图(不包含一个长度四美元的周期的图表)的复杂程度。 事实证明,有一个丰富而有趣的图表类别, 这个问题在某类中已经完全解决了。 作为撤回法的概括, 我们的轻度结果延伸到了大致计算同质主义的重要问题。 通过给出新的 $ämathrm{BIS} $- 焦虑的结果,我们现在解决了大约计算整个非三维图的共性图的复杂程度,而这些问题以前还没有解决。