Teuchos - Trilinos Tools Package
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
parser
src
Teuchos_Graph.hpp
1
#ifndef TEUCHOS_GRAPH_HPP
2
#define TEUCHOS_GRAPH_HPP
3
4
#include <vector>
5
#include <iosfwd>
6
7
namespace
Teuchos
{
8
9
typedef
std::vector<int> NodeEdges;
10
typedef
std::vector<NodeEdges> Graph;
11
12
Graph make_graph_with_nnodes(
int
nnodes);
13
int
get_nnodes(Graph
const
& g);
14
void
add_edge(Graph& g,
int
i,
int
j);
15
NodeEdges
const
& get_edges(Graph
const
& g,
int
i);
16
NodeEdges& get_edges(Graph& g,
int
i);
17
int
count_edges(
const
Graph& g,
int
i);
18
Graph make_transpose(Graph
const
& g);
19
int
at(Graph
const
& g,
int
i,
int
j);
20
21
std::ostream& operator<<(std::ostream& os, Graph
const
& g);
22
23
}
24
25
#endif
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated by
1.17.0