org.grinvin.io
Class Graph6Loader
java.lang.Object
org.grinvin.io.Graph6Loader
public class Graph6Loader
extends java.lang.Object
Several static methods to load graph6 (.g6) files in GrInvIn
readFile
public static void readFile(GraphInvariantListModel list,
File file)
throws FileNotFoundException,
IOException
Reads the entire file and stores all the graphs in a GraphInvariantListModel
readSingleGraph
public static void readSingleGraph(GraphBundle bundle,
File file)
throws FileNotFoundException,
IOException
Only reads the first graph in the file and stores it in a GraphBundle.