@Test public void testToBitsOutputStreamUGraphOfL() throws IOException { UGraph<String> graph = RandomGraphs.random(25, 50); BitString string = Functions.toBits(graph); ByteArrayOutputStream os = new ByteArrayOutputStream(); GZIPOutputStream out = new GZIPOutputStream(os); out.write(string.byteArray()); out.finish(); }
public static <L> BitString toBits(UGraph<L> graph) { return toBits(graph, Series.series(graph.size())); }
Functions { public static <L> BitString toBits(UGraph<L> graph) { return toBits(graph, Series.series(graph.size())); } }
Functions { public static <L> BitString toBits(UGraph<L> graph) { return toBits(graph, Series.series(graph.size())); }  }
Functions { public static <L> BitString toBits(UGraph<L> graph) { return toBits(graph, Series.series(graph.size())); }  static double log2(double x); static double prefixVit(int value); static int prefixVit(int value, int d); static int length(int in); static BitString toBits(UGraph<L> graph); static BitString toBits(UGraph<L> graph, List<Integer> order); static BitString toBits(DGraph<L> graph); static BitString toBits(DGraph<L> graph, List<Integer> order); static void toBits(OutputStream stream, UGraph<L> graph); static void toBits(OutputStream stream, UGraph<L> graph,
			List<Integer> order); static void toBits(OutputStream stream, DGraph<L> graph); static void toBits(OutputStream stream, DGraph<L> graph,
			List<Integer> order); static int toIndexUndirected(int i, int j, boolean self); static Pair<Integer, Integer> toPairUndirected(int index,
			boolean self); static int overlap(Collection<?> a, Collection<?> b); static void tic(); static double toc(); }
Functions { public static <L> BitString toBits(UGraph<L> graph) { return toBits(graph, Series.series(graph.size())); }  static double log2(double x); static double prefixVit(int value); static int prefixVit(int value, int d); static int length(int in); static BitString toBits(UGraph<L> graph); static BitString toBits(UGraph<L> graph, List<Integer> order); static BitString toBits(DGraph<L> graph); static BitString toBits(DGraph<L> graph, List<Integer> order); static void toBits(OutputStream stream, UGraph<L> graph); static void toBits(OutputStream stream, UGraph<L> graph,
			List<Integer> order); static void toBits(OutputStream stream, DGraph<L> graph); static void toBits(OutputStream stream, DGraph<L> graph,
			List<Integer> order); static int toIndexUndirected(int i, int j, boolean self); static Pair<Integer, Integer> toPairUndirected(int index,
			boolean self); static int overlap(Collection<?> a, Collection<?> b); static void tic(); static double toc();  }