votca 2024.2-dev
Loading...
Searching...
No Matches
graphdistvisitor.h
Go to the documentation of this file.
1/*
2 * Copyright 2009-2020 The VOTCA Development Team
3 * (http://www.votca.org)
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License")
6 *
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20#ifndef VOTCA_TOOLS_GRAPHDISTVISITOR_H
21#define VOTCA_TOOLS_GRAPHDISTVISITOR_H
22
23// Standard includes
24#include <deque>
25#include <queue>
26
27// Local VOTCA includes
28#include "graph_bf_visitor.h"
29
46namespace votca {
47namespace tools {
48
49class Graph;
50class Edge;
51class GraphNode;
52class Graph_BF_Visitor;
53
55
56 public:
57 GraphDistVisitor() = default;
58
61 void exploreNode(std::pair<Index, GraphNode>& p_gn, Graph& g,
62 Edge ed = DUMMY_EDGE) override;
63};
64} // namespace tools
65} // namespace votca
66#endif // VOTCA_TOOLS_GRAPHDISTVISITOR_H
Connects to vertices.
Definition edge.h:42
void exploreNode(std::pair< Index, GraphNode > &p_gn, Graph &g, Edge ed=DUMMY_EDGE) override
const Edge DUMMY_EDGE(std::numeric_limits< Index >::max(), std::numeric_limits< Index >::max())
base class for all analysis tools
Definition basebead.h:33