votca
2024.2-dev
Loading...
Searching...
No Matches
tools
include
votca
tools
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
46
namespace
votca
{
47
namespace
tools {
48
49
class
Graph;
50
class
Edge;
51
class
GraphNode;
52
class
Graph_BF_Visitor;
53
54
class
GraphDistVisitor
:
public
Graph_BF_Visitor
{
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
votca::tools::Edge
Connects to vertices.
Definition
edge.h:42
votca::tools::GraphDistVisitor
Definition
graphdistvisitor.h:54
votca::tools::GraphDistVisitor::GraphDistVisitor
GraphDistVisitor()=default
votca::tools::GraphDistVisitor::exploreNode
void exploreNode(std::pair< Index, GraphNode > &p_gn, Graph &g, Edge ed=DUMMY_EDGE) override
Definition
graphdistvisitor.cc:34
votca::tools::Graph_BF_Visitor
Definition
graph_bf_visitor.h:41
votca::tools::Graph
Definition
graph.h:43
graph_bf_visitor.h
votca::tools::DUMMY_EDGE
const Edge DUMMY_EDGE(std::numeric_limits< Index >::max(), std::numeric_limits< Index >::max())
votca
base class for all analysis tools
Definition
basebead.h:33
Generated by
1.12.0