protected int[] attributeList(BitSet group){
  int count=0;
  for (int i=0; i < m_numAttribs; i++) {
    if (group.get(i)) {
      count++;
    }
  }
  int[] list=new int[count];
  count=0;
  for (int i=0; i < m_numAttribs; i++) {
    if (group.get(i)) {
      list[count++]=i;
    }
  }
  return list;
}

protected int [ ] attributeList ( BitSet group ) { int count = 0 ; for ( int i = 0 ; i < m_numAttribs ; i ++ ) { if ( group . get ( i ) ) { count ++ ; } } int [ ] list = new int [ count ] ; count = 0 ; for ( int i = 0 ; i < m_numAttribs ; i ++ ) { if ( group . get ( i ) ) { list [ count ++ ] = i ; } } return list ; }
converts a bitset into a list of attribute indexes
