MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::ordering::detail::nd_graph Struct Reference

A weighted undirected graph in CSR form, without self-loops; each edge is stored in both directions. More...

#include <multilevel_separator.hpp>

Public Member Functions

idx size () const

Public Attributes

std::vector< idx > xadj {0}
std::vector< idx > adj
std::vector< idx > ewgt
std::vector< idx > vwgt

Detailed Description

A weighted undirected graph in CSR form, without self-loops; each edge is stored in both directions.

Member Function Documentation

◆ size()

idx mtl::sparse::ordering::detail::nd_graph::size ( ) const
inline

Member Data Documentation

◆ adj

std::vector<idx> mtl::sparse::ordering::detail::nd_graph::adj

◆ ewgt

std::vector<idx> mtl::sparse::ordering::detail::nd_graph::ewgt

◆ vwgt

std::vector<idx> mtl::sparse::ordering::detail::nd_graph::vwgt

◆ xadj

std::vector<idx> mtl::sparse::ordering::detail::nd_graph::xadj {0}

The documentation for this struct was generated from the following file: