Public Member Functions | |
| __init__ (self, file_path) | |
| constructor for GraphDataset object | |
| load_graphs (self) | |
| Load all graphs from the data file into an adjacency list representation. | |
Public Attributes | |
| file_path = file_path | |
| list | graphs = [] |
Definition at line 31 of file Graph_Dataset.py.
| Graph_Dataset.GraphDataset.__init__ | ( | self, | |
| file_path ) |
constructor for GraphDataset object
| file_path | (string): file path where graph data is stored |
| ParseError | If filepath is not valid or format is invalid |
Definition at line 32 of file Graph_Dataset.py.
| Graph_Dataset.GraphDataset.load_graphs | ( | self | ) |
Load all graphs from the data file into an adjacency list representation.
Definition at line 43 of file Graph_Dataset.py.
| Graph_Dataset.GraphDataset.file_path = file_path |
Definition at line 39 of file Graph_Dataset.py.
Referenced by load_graphs().
| list Graph_Dataset.GraphDataset.graphs = [] |
Definition at line 40 of file Graph_Dataset.py.
Referenced by load_graphs().