Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkConnectomicsBetweennessHistogram.h
Go to the documentation of this file.
1 
2 /*===================================================================
3 
4 The Medical Imaging Interaction Toolkit (MITK)
5 
6 Copyright (c) German Cancer Research Center,
7 Division of Medical and Biological Informatics.
8 All rights reserved.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without
11 even the implied warranty of MERCHANTABILITY or FITNESS FOR
12 A PARTICULAR PURPOSE.
13 
14 See LICENSE.txt or http://www.mitk.org for details.
15 
16 ===================================================================*/
17 
18 
19 #ifndef _MITK_ConnectomicsBetweennessHistogram_H
20 #define _MITK_ConnectomicsBetweennessHistogram_H
21 
23 
24 #include <boost/graph/betweenness_centrality.hpp>
25 
26 namespace mitk {
27 
31  {
32 
33  public:
34 
38  {
41  };
42 
45 
48 
51 
52  protected:
53 
54  /* Typedefs */
56  typedef boost::graph_traits< NetworkType >::vertex_iterator IteratorType;
57  typedef std::vector< double > BCMapType;
58 
60  virtual void ComputeFromConnectomicsNetwork( ConnectomicsNetwork* source ) override;
61 
63  void CalculateUnweightedUndirectedBetweennessCentrality( NetworkType*, IteratorType, IteratorType );
64 
66  void CalculateWeightedUndirectedBetweennessCentrality( NetworkType*, IteratorType, IteratorType );
67 
70 
73 
75  BCMapType m_CentralityMap;
76  };
77 
78 }
79 
80 #endif /* _MITK_ConnectomicsBetweennessHistogram_H */
A class to calculate and store the betweenness of each node.
void SetBetweennessCalculationMode(const BetweennessCalculationMode &)
DataCollection - Class to facilitate loading/accessing structured data.
boost::graph_traits< NetworkType >::vertex_iterator IteratorType
void CalculateWeightedUndirectedBetweennessCentrality(NetworkType *, IteratorType, IteratorType)
Superclass for histograms working with connectomic networks.
boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, NetworkNode, NetworkEdge > NetworkType
virtual void ComputeFromConnectomicsNetwork(ConnectomicsNetwork *source) override
Creates a new histogram from the network source.
void CalculateUnweightedUndirectedBetweennessCentrality(NetworkType *, IteratorType, IteratorType)
mitk::ConnectomicsNetwork::NetworkType NetworkType
Connectomics Network Class.