Here you can find the source of printEdgeCycleMembership(final int[][] cyclesData, final ArrayList
Parameter | Description |
---|---|
cyclesData | a parameter |
nodeCycleMembership | a parameter |
public static void printEdgeCycleMembership(final int[][] cyclesData, final ArrayList<Integer>[] nodeCycleMembership)
//package com.java2s; /**//w ww. ja va 2s . c o m * Created on Jun 3, 2005 * * @by Olga Urzova (siolurzo@stud.informatik.uni-erlangen.de) * <p> * Copyright 2005 Olga Urzova * <p> * This file is part of de.parsemis. * <p> * Licence: * LGPL: http://www.gnu.org/licenses/lgpl.html * EPL: http://www.eclipse.org/org/documents/epl-v10.php * See the LICENSE file in the project's top-level directory for details. */ import java.util.ArrayList; public class Main { /** * prints edge cycle membership to System.out * * @param cyclesData * @param nodeCycleMembership */ public static void printEdgeCycleMembership(final int[][] cyclesData, final ArrayList<Integer>[] nodeCycleMembership) { for (int i = 0; i < cyclesData[1].length; i++) { System.out.print("Kante " + i + ":"); for (int j = 0; j < nodeCycleMembership[i].size(); j++) { System.out.print(nodeCycleMembership[i].get(j).intValue() + " "); } System.out.println(); } System.out.println(); } }