Skip to content

akarshjoice/Dynamic-Programming-Approach-for-Set-Cover-NP-Hard-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Input: A universal set S={e1, e2,…,en } and set C={c1,c2,…,cm} where ci ⊂ S. Output: Number of sets in C’ ⊂ C such that ∪ ci=S where C’ is the minimum cardinality set. ci ∈C’

eg:Input: S = {1,2,3,4,5,6} C = {{1,2},{2,3},{4,5},{1,2,3,,4,5},{1,4,6},{3,4,5,6}} Output: 2

About

Using Dynamic Programming Approach to solve NP-Hard Set Cover problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages