{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T14:47:10Z","timestamp":1787323630497,"version":"build-2736575974"},"reference-count":33,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","funder":[{"name":"Royal Society University Research Fellowship"},{"DOI":"10.13039\/100010663","name":"H2020 European Research Council","doi-asserted-by":"publisher","award":["334828"],"award-info":[{"award-number":["334828"]}],"id":[{"id":"10.13039\/100010663","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100010663","name":"H2020 European Research Council","doi-asserted-by":"publisher","award":["714532"],"award-info":[{"award-number":["714532"]}],"id":[{"id":"10.13039\/100010663","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/M508111\/1"],"award-info":[{"award-number":["EP\/M508111\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Discrete Math."],"published-print":{"date-parts":[[2019,1]]},"abstract":"<jats:p>A homomorphism from a graph $G$ to a graph $H$ is a function from the vertices of $G$ to the vertices of $H$ that preserves edges. A homomorphism is surjective if it uses all of the vertices of $H$, and it is a compaction if it uses all of the vertices of $H$ and all of the nonloop edges of $H$. Hell and Ne\u0161et\u0159il gave a complete characterization of the complexity of deciding whether there is a homomorphism from an input graph $G$ to a fixed graph $H$. A complete characterization is not known for surjective homomorphisms or for compactions, though there are many interesting results. Dyer and Greenhill gave a complete characterization of the complexity of counting homomorphisms from an input graph $G$ to a fixed graph $H$. In this paper, we give a complete characterization of the complexity of counting surjective homomorphisms from an input graph $G$ to a fixed graph $H$, and we also give a complete characterization of the complexity of counting compactions from an input graph $G$ to a fixed graph $H$. In an addendum we use our characterizations to point out a dichotomy for the complexity of the respective approximate counting problems (in the connected case).<\/jats:p>","DOI":"10.1137\/17m1153182","type":"journal-article","created":{"date-parts":[[2019,6,25]],"date-time":"2019-06-25T12:24:44Z","timestamp":1561465484000},"page":"1006-1043","source":"Crossref","is-referenced-by-count":3,"title":["The Complexity of Counting Surjective Homomorphisms and Compactions"],"prefix":"10.1137","volume":"33","author":[{"given":"Jacob","family":"Focke","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Leslie Ann","family":"Goldberg","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Stanislav","family":"\u017divn\u00fd","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2019,6,25]]},"reference":[{"key":"atypb1","doi-asserted-by":"publisher","DOI":"10.1016\/j.dam.2012.03.029"},{"key":"atypb2","doi-asserted-by":"publisher","DOI":"10.1002\/rsa.20414"},{"key":"atypb3","first-page":"315","author":"Borgs C.","year":"2006","journal-title":"Berlin"},{"key":"atypb4","doi-asserted-by":"publisher","DOI":"10.1006\/jctb.1999.1899"},{"key":"atypb5","unstructured":"H. Chen,\n                      Homomorphisms Are Indeed a Good Basis for Counting: Three Fixed-Template Dichotomy Theorems, for the Price of One\n                      , August 2017,https:\/\/arxiv.org\/abs\/1710.00234."},{"key":"atypb6","first-page":"210","author":"Curticapean R.","year":"2017","journal-title":"New York"},{"key":"atypb7","unstructured":"H. Dell,\n                      Note on \u201cThe Complexity of Counting Surjective Homomorphisms and Compactions,\u201d\n                      August 2017,https:\/\/arxiv.org\/abs\/1710.01712."},{"key":"atypb8","first-page":"65","author":"D\u00edaz J.","year":"2004","journal-title":"RI"},{"key":"atypb9","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-003-1073-y"},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1002\/1098-2418(200010\/12)17:3\/4<260::AID-RSA5>3.0.CO;2-W"},{"key":"atypb11","doi-asserted-by":"publisher","DOI":"10.1006\/jctb.1997.1812"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1007\/s004939970003"},{"key":"atypb13","doi-asserted-by":"publisher","DOI":"10.1137\/080738866"},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1137\/15M1020551"},{"key":"atypb15","doi-asserted-by":"publisher","DOI":"10.1145\/2898441"},{"key":"atypb16","doi-asserted-by":"publisher","DOI":"10.3233\/COM-180084"},{"key":"atypb17","doi-asserted-by":"publisher","DOI":"10.1007\/s00236-012-0164-0"},{"key":"atypb18","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2012.06.039"},{"key":"atypb19","doi-asserted-by":"publisher","DOI":"10.1111\/j.1749-6632.1979.tb32801.x"},{"key":"atypb20","doi-asserted-by":"publisher","DOI":"10.1007\/BF01300959"},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(90)90132-J"},{"key":"atypb22","first-page":"105","author":"Hell P.","year":"2004","journal-title":"RI"},{"key":"atypb23","doi-asserted-by":"crossref","unstructured":"P. Hell and J. Ne\u0161et\u0159il,\n                      Graphs and Homomorphisms\n                      , Oxford Lecture Ser. Math. Appl. 28, Oxford University Press, Oxford, UK, 2004,https:\/\/doi.org\/10.1093\/acprof:oso\/9780198528173.001.0001.","DOI":"10.1093\/acprof:oso\/9780198528173.001.0001"},{"key":"atypb24","doi-asserted-by":"publisher","DOI":"10.1007\/BF02280291"},{"key":"atypb25","doi-asserted-by":"crossref","unstructured":"L. Lov\u00e1sz,\n                      Large Networks and Graph Limits\n                      , Amer. Math. Soc. Colloq. Pub. 60, American Mathematical Society, Providence, RI, 2012,https:\/\/doi.org\/10.1090\/coll\/060.","DOI":"10.1090\/coll\/060"},{"key":"atypb26","doi-asserted-by":"publisher","DOI":"10.1016\/j.jctb.2014.09.002"},{"key":"atypb27","unstructured":"M. Mitzenmacher and E. Upfal,\n                      Probability and Computing\n                      , Cambridge University Press, Cambridge, second ed., 2017. Randomization and Probabilistic Techniques in Algorithms and Data Analysis."},{"key":"atypb28","unstructured":"C. H. Papadimitriou,\n                      Computational Complexity\n                      , Addison-Wesley Publishing Company, Reading, MA, 1994."},{"key":"atypb29","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539701383522"},{"key":"atypb30","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539701397801"},{"key":"atypb31","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(03)00034-5"},{"key":"atypb32","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.07.003"},{"key":"atypb33","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-012-9720-9"}],"container-title":["SIAM Journal on Discrete Mathematics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/17M1153182","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T14:11:12Z","timestamp":1787321472000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/17M1153182"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,1]]},"references-count":33,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2019,1]]}},"alternative-id":["10.1137\/17M1153182"],"URL":"https:\/\/doi.org\/10.1137\/17m1153182","relation":{},"ISSN":["0895-4801","1095-7146"],"issn-type":[{"value":"0895-4801","type":"print"},{"value":"1095-7146","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,1]]}}}