Subset Sum Demonstration

Subset sum is a classic NP-complete computation. This demonstration compares a classical brute force tightly coded Java algorithm with a spacial recursive Resource Oriented Computing algorithm. Progress of the algorithms is shown on the console's stdout.

Run demo - target=600, maxn=25 set=2,4,6,.... target discovered at n=24

Run demo - target=601, maxn=25 set=2,4,6,.... target never discovered (set is even target is odd)

URL Parameters

Force system cache clear