void knapsack_random ( int n, int *s ); void subset_next ( int n, int *s ); void subset_random ( int n, int *s ); int subset_to_rank ( int n, int *s );