Package edu.uci.ics.jung.io
Interface GraphFile<V,E>
public interface GraphFile<V,E>
General interface for loading and saving a graph from/to disk.
-
Method Summary
-
Method Details
-
load
Loads a graph from a file per the appropriate format- Parameters:
filename
- the location and name of the file- Returns:
- the graph
-
save
Save a graph to disk per the appropriate format- Parameters:
graph
- the location and name of the filefilename
- the graph
-