Recognizing Global Occurrence of Local Properties

Let P be a graph property. Fork? 1, a graphGhas propertyPkiff every inducedk-vertex subgraph ofGhas P. For a graphGwe denote byNPk(G) the number of inducedk-vertex subgraphs ofGhaving P. A property is calledspanningif it does not hold for graphs that contain isolated vertices. A property is calledconnectedif it does not hold for graphs with more than one connected component. Many familiar graph properties are spanning or connected. We also define the notion ofsimpleproperties which also applies to many well-known monotone graph properties. A property P is recursive if one can determine if a graphGonnvertices has P in timeO(fP(n)) wherefP(n) is some recursive function ofn. We consider only recursive properties. Our main results are the following.?If P is spanning andk? 1 is fixed, deciding whether a graphG= (V,E) hasPkcan be done inO(V+E) time.?If P is spanning,fP(n) = O(2n3), andk=O((logn/log logn)1/3), deciding whetherGhasPkcan be done in polynomial time. Furthermore, if P is a monotone-increasing simple property withfP(n) =O(2n2) (Hamiltonicity, perfect-matching, ands-connectivity are just a few examples of such properties) andk=O(logn/log logn), deciding whetherGhasPkcan be done in polynomial time.?Ifk? 1 andd? 1 are fixed, and P is either a connected property (Hamiltonicity is an example of such a property) or a monotone-decreasing infinitely-simple property (perfect-matching of independent vertices and the Hamiltonian hole are examples of such properties) computingNPk(G) for graphsGwith ?(G) ?dcan be done in linear time.?If P is an NP-Hard monotone property and ? > 0 is fixed, thenP?n??is also NP-Hard. The monotonicity is required as there are NP-Hard properties wherePkis easy whenk

[1]  J. Spencer Ramsey Theory , 1990 .

[2]  Noga Alon,et al.  Color-coding: a new method for finding simple paths, cycles and other small subgraphs within large graphs , 1994, STOC '94.

[3]  Yair Caro On graphs determined by their k-subgraphs , 1998, Ars Comb..

[4]  Steven Skiena,et al.  Recognizing small subgraphs , 1995, Networks.

[5]  Michael Tarsi,et al.  Graph Decomposition is NP-Complete: A Complete Proof of Holyer's Conjecture , 1997, SIAM J. Comput..

[6]  Noga Alon,et al.  Finding and Counting Given Length Cycles (Extended Abstract) , 1994, ESA.

[7]  Elwood S. Buffa,et al.  Graph Theory with Applications , 1977 .

[8]  Michael Tarsi,et al.  Graph decomposition is NPC - a complete proof of Holyer's conjecture , 1992, STOC '92.

[9]  Yair Caro On graphs with prescribed subgraphs of order $k$, and a theorem of Kelly and Merriell , 1994 .

[10]  Vojtech Rödl,et al.  A Fast Approximation Algorithm for Computing the Frequencies of Subgraphs in a Given Graph , 1995, SIAM J. Comput..

[11]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[12]  David P. Sumner,et al.  Graphs with 1-factors , 1974 .

[13]  Noga Alon,et al.  Independence numbers of locally sparse graphs and a Ramsey type problem , 1996 .

[14]  Eberhard Triesch,et al.  Realizability and uniqueness in graphs , 1994, Discret. Math..

[15]  J. A. Bondy,et al.  Graph Theory with Applications , 1978 .

[16]  Ladislav Nebeský Some sufficient conditions for the existence of a 1-factor , 1978, J. Graph Theory.