class Array
Public Instance Methods
bk()
click to toggle source
static VALUE bk(VALUE arr) { int i, n; VALUE all, cliques, potential_clique; n = RARRAY_LEN(arr); all = rb_ary_new2(n); potential_clique = rb_ary_new(); cliques = rb_ary_new(); for (i = 0; i < n; i++) { rb_ary_push(all, INT2NUM(i)); } bkv2(arr, all, 0, n, cliques, potential_clique); return cliques; }