code: public List equivalenceClasses() {
          List result = new ArrayList();
          //minimize();
  
          for (SimpleCycleBasis subgraphBase : subgraphBases) {
              SimpleCycleBasis cycleBasis = subgraphBase;
              result.addAll(cycleBasis.equivalenceClasses());
          }
  
          return result;
      }
docs: Returns the connected components of this cycle basis, in regard to matroid theory.
  Two cycles belong to the same commected component if there is a circuit (a minimal
  dependent set) containing both cycles.
  
  @return a <Code>List</code> of <Code>Set</code>s consisting of the cycles in a
  equivalence class.