DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
simplenoninterestingnodesgraphsimplifier.h
Go to the documentation of this file.
1 #ifndef SIMPLENONINTERESTINGNODESGRAPHSIMPLIFIER_H
2 #define SIMPLENONINTERESTINGNODESGRAPHSIMPLIFIER_H
3 
4 #if 0
5 
6 #include <Node.h>
7 #include <shortestpathbuilder.h>
8 
9 #include <QList>
10 
11 #include <memory>
12 #include <QVector>
13 
14 class SimpleNonInterestingNodesGraphSimplifier
15 {
16  QVector<int> mRelevantInternNodes;
17 public:
18  SimpleNonInterestingNodesGraphSimplifier();
19  void setRelevantInterNodes(QVector<int> nodes) {
20  mRelevantInternNodes = std::move(nodes);
21  }
22 
23  bool operator() (const QList<std::shared_ptr<NodeData> > &relNodes,
24  ShortestPathBuilder::graph_t &graph,
25  std::vector<ShortestPathBuilder::vertex_descriptor> &predecessors,
26  std::vector<double> &dinstances);
27 };
28 
29 #endif
30 
31 #endif // SIMPLENONINTERESTINGNODESGRAPHSIMPLIFIER_H
vector< Node * > nodes
Definition: main.cpp:270