- For each pair of sets Si, Sj
- Determine if the intersection is empty.
- EndFor
- For every element in Si
- Check to see if it is an element in set Sj
- EndFor
... but they are quite complicated. Furthermore, it is not clear whether the improved algorithms for this problem are practical on inputs of reasonable size.
- For each subset of size k
- Check to see if S is an independent set
- EndFor
- largest = {}
- For each subset S of nodes
- If S is independent and |S| > |largest|
- largest = S
- EndIf
- EndFor