1#ifndef TEUCHOS_GRAPH_HPP
2#define TEUCHOS_GRAPH_HPP
9typedef std::vector<int> NodeEdges;
10typedef std::vector<NodeEdges> Graph;
12Graph make_graph_with_nnodes(
int nnodes);
13int get_nnodes(Graph
const& g);
14void add_edge(Graph& g,
int i,
int j);
15NodeEdges
const& get_edges(Graph
const& g,
int i);
16NodeEdges& get_edges(Graph& g,
int i);
17int count_edges(
const Graph& g,
int i);
18Graph make_transpose(Graph
const& g);
19int at(Graph
const& g,
int i,
int j);
21std::ostream& operator<<(std::ostream& os, Graph
const& g);
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...