A -labeling of graph is distinguishing if, for every non-trivial automorphism of , there is some vertex so that . The distinguishing number of , , is the smallest such that has a distinguishing -labeling. We consider a compact version of Tyshkevich’s graph decomposition theorem where trivial components are maximally combined to form a complete graph or a graph of isolated vertices. Suppose the compact canonical decomposition of is . We prove that is a distinguishing labeling of if and only if is a distinguishing labeling of when restricted to for . Thus, . We then present an algorithm that computes the distinguishing number of a unigraph in linear time.

生成讲解博客的中文版本

生成AI智能校验的中文版本