class SimpleCycleBasis {

    public int[] weightVector() {

        int[] result = new int[cycles.size()];
        for (int i = 0; i < cycles.size(); i++) {
            SimpleCycle cycle = (SimpleCycle) cycles.get(i);
            result[i] = (int) cycle.weight();
        }
        Arrays.sort(result);

        return result;
    }

    public  SimpleCycleBasis(List<SimpleCycle> cycles, List edgeList, UndirectedGraph graph);
    public  SimpleCycleBasis(UndirectedGraph graph);

}