DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
graphnodeextra.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // DISPLACE: DYNAMIC INDIVIDUAL VESSEL-BASED SPATIAL PLANNING
3 // AND EFFORT DISPLACEMENT
4 // Copyright (c) 2012-2019 Francois Bastardie <fba@aqua.dtu.dk>
5 
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 
16 // You should have received a copy of the GNU General Public License along
17 // with this program; if not, write to the Free Software Foundation, Inc.,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 // --------------------------------------------------------------------------
20 
21 #ifndef GRAPHNODEEXTRA_H
22 #define GRAPHNODEEXTRA_H
23 
24 #include <dtree/dtnodeextra.h>
25 
26 namespace dtree {
27 
28 class GraphNodeExtra : public NodeExtra
29 {
30 public:
32 
33  bool isUnconnected() const { return mUnconnected; }
34  void setUnconnected(bool s) { mUnconnected = s; }
35 
36 
37 private:
38  bool mUnconnected = true;
39 };
40 
41 
42 }
43 
44 #endif // GRAPHNODEEXTRA_H
Definition: graphnodeextra.h:28
GraphNodeExtra()
Definition: graphnodeextra.cpp:27
Definition: commonstateevaluators.h:8
bool isUnconnected() const
Definition: graphnodeextra.h:33
Definition: dtnodeextra.h:8
void setUnconnected(bool s)
Definition: graphnodeextra.h:34