Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 4249

A clique is a subset of the vertices of a graph such that every pair of vertices in the subset is connected by an edge.

2 votes
Accepted

Finding vertices of a maximum clique in polynomial time

If it says no, then $v$ is in every clique of size at least $k$. Output $v$ and decrease $k$ by one and lather, rinse, repeat. …
John Kemeny's user avatar
  • 17.1k
3 votes

Does the intersection of VC and CLIQUE belong to NPC?

The graphs with clique size at least $k$ and VC at most $k$ have a particular structure: They can be partitioned into three sets, $C$, $I$ and a singleton $\{s\}$; $G[C]$ is a clique, $G[I]$ is an independent … Proof: If a graph $G$ contains a clique of size $k$, then that clique uses up (at least) $k-1$ of your vertex cover budget. Let $G,k$ be a yes instance and $C$ any $k$-clique. …
John Kemeny's user avatar
  • 17.1k
5 votes
Accepted

Number of cliques in a graph

I am assuming you mean the number of maximal cliques, as the number of cliques of a complete graph is trivially $2^n$ (any subset of the vertices forms a clique). …
John Kemeny's user avatar
  • 17.1k
6 votes

Covering a graph with non-overlapping cliques

Thus I'm still curious if there are other more efficient approaches to solving the problem. If you take the complement graph $\overline{G}$, then your problem corresponds to a coloring problem. …
John Kemeny's user avatar
  • 17.1k
2 votes

Minimum number of vertices whose removal makes the graph an independent set

Yes, and the algorithm is straight forward branching. Suppose that you are given a graph $G$ and an integer $k$. If $k = 0$, we simply return whether $G$ is an independent set. If $G$ is an indepen …
John Kemeny's user avatar
  • 17.1k
4 votes
Accepted

Determining the minimum number of edges to add to a graph to obtain a clique of size $k$

The problem is called Defective $k$-Clique [Yu et al., Bioinformatics (2006)]. The optimization problem is: Problem: Defective $k$-Clique Input: A graph $G$ and $k \in \mathbb{N}$. … Output: The minimum number, $\ell$, of edges to add to $G$ such that $G$ has a $k$-clique. Clearly, $G$ has a $k$-clique if and only if $\ell = 0$, hence the problem is NP-complete. …
John Kemeny's user avatar
  • 17.1k
1 vote

Is there a polynomial algorithm which for each graph G and each value k determines whether a...

Is it correct to say that it doesn't exist because clique is NP-Complete? No, that would not be correct. … Since we currently do not know whether P=NP, it could be that Clique is polynomial time solvable. However, if we assume that P != NP, there is no polynomial time algorithm for Clique. …
John Kemeny's user avatar
  • 17.1k
2 votes

Hueristic Algorithm to find the maximum clique

Consider a graph which is the disjoint union of $K_i$ and $K_1$, the isolated vertex. Let the order of selection of vertices be such that the isolated vertex is last. Then your heuristic outputs sol …
John Kemeny's user avatar
  • 17.1k