Defined in File METISParser.hpp
Public Functions
Constructor for the METIS Parser.
path – [in] file path
Test if graph file has a next line.
Get adjacencies from the next line in the METIS graph file. The node ids are parsed directly into NodeT, and are 1-based as in the file.
ignoreFirst – [in] number of values to ignore [in case the METIS file contains node weightes]
std::runtime_error – if the line is malformed or a node id is not a valid NodeT.
Get adjacencies with edge weights from the next line in the METIS graph file. The node ids are parsed directly into NodeT, and are 1-based as in the file. The weights are parsed directly into EdgeWeightT.
ignoreFirst – [in] number of values to ignore [in case the METIS file contains node weightes]
std::runtime_error – if the line is malformed, a node id is not a valid NodeT, or a weight is not a valid EdgeWeightT.