JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Index
Search
Help
edu.uci.ics.jung.io
GraphFile
Contents
Description
Method Summary
Method Details
load(String)
save(Graph, String)
Hide sidebar
Show sidebar
Interface GraphFile<
V
,
E
>
public interface
GraphFile<V,
E>
General interface for loading and saving a graph from/to disk.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
Graph
<
V
,
E
>
load
(
String
filename)
Loads a graph from a file per the appropriate format
void
save
(
Graph
<
V
,
E
> graph,
String
filename)
Save a graph to disk per the appropriate format
Method Details
load
Graph
<
V
,
E
>
load
(
String
filename)
Loads a graph from a file per the appropriate format
Parameters:
filename
- the location and name of the file
Returns:
the graph
save
void
save
(
Graph
<
V
,
E
> graph,
String
filename)
Save a graph to disk per the appropriate format
Parameters:
graph
- the location and name of the file
filename
- the graph