code: def generate_stripe_groups(num_stripes, window_size):
      stripe_array = [[c] for c in range(num_stripes)]
  
      next_stripe_array = []
      for w in range(1, window_size):
          for g in range(len(stripe_array)):
              start_c = stripe_array[g][w - 1] + 1
              group = stripe_array[g]
              for c in range(start_c, num_stripes):
                  new_group = group.copy()
                  new_group.append(c)
                  next_stripe_array.append(new_group)
          stripe_array = next_stripe_array
          next_stripe_array = []
  
      return set(
          tuple(stripe_array[g]) for g in range(len(stripe_array))
      )
  
file_path: apex/apex/contrib/sparsity/permutation_search_kernels/exhaustive_search.py
imports: from .permutation_utilities import *
  import pickle
  import os.path
  from os import path
  import math
label_desc: Use image node_id 8 for calling a global function with example usage: generate_stripe_groups(num_stripes, window_size) and returns: set