class CycleBasis {

    public List equivalenceClasses() {
        List result = new ArrayList();
        //minimize();

        for (SimpleCycleBasis subgraphBase : subgraphBases) {
            SimpleCycleBasis cycleBasis = subgraphBase;
            result.addAll(cycleBasis.equivalenceClasses());
        }

        return result;
    }

    public  CycleBasis(UndirectedGraph g);

}