10#ifndef TEUCHOS_GRAPH_HPP
11#define TEUCHOS_GRAPH_HPP
18typedef std::vector<int> NodeEdges;
19typedef std::vector<NodeEdges> Graph;
21Graph make_graph_with_nnodes(
int nnodes);
22int get_nnodes(Graph
const& g);
23void add_edge(Graph& g,
int i,
int j);
24NodeEdges
const& get_edges(Graph
const& g,
int i);
25NodeEdges& get_edges(Graph& g,
int i);
26int count_edges(
const Graph& g,
int i);
27Graph make_transpose(Graph
const& g);
28int at(Graph
const& g,
int i,
int j);
30std::ostream& operator<<(std::ostream& os, Graph
const& g);
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...