Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ConnectomicsSimulatedAnnealingPermutationModularity Class Reference

A class providing permutations for the calculation of modularity using simulated annealing. More...

#include <mitkConnectomicsSimulatedAnnealingPermutationModularity.h>

Inheritance diagram for mitk::ConnectomicsSimulatedAnnealingPermutationModularity:
Collaboration diagram for mitk::ConnectomicsSimulatedAnnealingPermutationModularity:

Public Types

typedef mitk::ConnectomicsNetwork::VertexDescriptorType VertexDescriptorType
 
typedef std::map< VertexDescriptorType, int > ToModuleMapType
 
typedef std::map< VertexDescriptorType, VertexDescriptorTypeVertexToVertexMapType
 

Public Member Functions

 mitkClassMacroItkParent (ConnectomicsSimulatedAnnealingPermutationModularity, itk::Object)
 
Pointer Clone () const
 
virtual void Initialize () override
 
virtual void Permutate (double temperature) override
 
virtual void CleanUp () override
 
void SetNetwork (mitk::ConnectomicsNetwork::Pointer theNetwork)
 
int getNumberOfModules (ToModuleMapType *vertexToModuleMap) const
 
int getNumberOfVerticesInModule (ToModuleMapType *vertexToModuleMap, int module) const
 
void SetMapping (ToModuleMapType mapping)
 
ToModuleMapType GetMapping ()
 
void SetDepth (int depth)
 
void SetStepSize (double size)
 
- Public Member Functions inherited from mitk::ConnectomicsSimulatedAnnealingPermutationBase
 mitkClassMacroItkParent (ConnectomicsSimulatedAnnealingPermutationBase, itk::Object)
 
Pointer Clone () const
 
void SetCostFunction (mitk::ConnectomicsSimulatedAnnealingCostFunctionBase::Pointer costFunction)
 
bool HasCostFunction ()
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::ConnectomicsSimulatedAnnealingPermutationBase
static Pointer New ()
 

Protected Member Functions

 ConnectomicsSimulatedAnnealingPermutationModularity ()
 
 ~ConnectomicsSimulatedAnnealingPermutationModularity ()
 
void permutateMappingSingleNodeShift (ToModuleMapType *vertexToModuleMap, mitk::ConnectomicsNetwork::Pointer network)
 
void permutateMappingModuleChange (ToModuleMapType *vertexToModuleMap, double currentTemperature, mitk::ConnectomicsNetwork::Pointer network)
 
void joinTwoModules (ToModuleMapType *vertexToModuleMap, int moduleA, int moduleB)
 
void splitModule (ToModuleMapType *vertexToModuleMap, double currentTemperature, mitk::ConnectomicsNetwork::Pointer network, int moduleToSplit)
 
void extractModuleSubgraph (ToModuleMapType *vertexToModuleMap, mitk::ConnectomicsNetwork::Pointer network, int moduleToSplit, mitk::ConnectomicsNetwork::Pointer subNetwork, VertexToVertexMapType *graphToSubgraphVertexMap, VertexToVertexMapType *subgraphToGraphVertexMap)
 
void removeModule (ToModuleMapType *vertexToModuleMap, int module)
 
void randomlyAssignNodesToModules (ToModuleMapType *vertexToModuleMap, int numberOfIntendedModules)
 
double Evaluate (ToModuleMapType *mapping) const
 
bool AcceptChange (double costBefore, double costAfter, double temperature) const
 
- Protected Member Functions inherited from mitk::ConnectomicsSimulatedAnnealingPermutationBase
 ConnectomicsSimulatedAnnealingPermutationBase ()
 
 ~ConnectomicsSimulatedAnnealingPermutationBase ()
 

Protected Attributes

ToModuleMapType m_BestSolution
 
mitk::ConnectomicsNetwork::Pointer m_Network
 
int m_Depth
 
double m_StepSize
 
- Protected Attributes inherited from mitk::ConnectomicsSimulatedAnnealingPermutationBase
mitk::ConnectomicsSimulatedAnnealingCostFunctionBase::Pointer m_CostFunction
 

Detailed Description

A class providing permutations for the calculation of modularity using simulated annealing.

Definition at line 28 of file mitkConnectomicsSimulatedAnnealingPermutationModularity.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::ConnectomicsSimulatedAnnealingPermutationModularity::ConnectomicsSimulatedAnnealingPermutationModularity ( )
protected
mitk::ConnectomicsSimulatedAnnealingPermutationModularity::~ConnectomicsSimulatedAnnealingPermutationModularity ( )
protected

Member Function Documentation

bool mitk::ConnectomicsSimulatedAnnealingPermutationModularity::AcceptChange ( double  costBefore,
double  costAfter,
double  temperature 
) const
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::CleanUp ( )
overridevirtual
Pointer mitk::ConnectomicsSimulatedAnnealingPermutationModularity::Clone ( ) const
double mitk::ConnectomicsSimulatedAnnealingPermutationModularity::Evaluate ( ToModuleMapType mapping) const
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::extractModuleSubgraph ( ToModuleMapType vertexToModuleMap,
mitk::ConnectomicsNetwork::Pointer  network,
int  moduleToSplit,
mitk::ConnectomicsNetwork::Pointer  subNetwork,
VertexToVertexMapType graphToSubgraphVertexMap,
VertexToVertexMapType subgraphToGraphVertexMap 
)
protected
mitk::ConnectomicsSimulatedAnnealingPermutationModularity::ToModuleMapType mitk::ConnectomicsSimulatedAnnealingPermutationModularity::GetMapping ( )
int mitk::ConnectomicsSimulatedAnnealingPermutationModularity::getNumberOfModules ( ToModuleMapType vertexToModuleMap) const
int mitk::ConnectomicsSimulatedAnnealingPermutationModularity::getNumberOfVerticesInModule ( ToModuleMapType vertexToModuleMap,
int  module 
) const
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::Initialize ( )
overridevirtual
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::joinTwoModules ( ToModuleMapType vertexToModuleMap,
int  moduleA,
int  moduleB 
)
protected
mitk::ConnectomicsSimulatedAnnealingPermutationModularity::mitkClassMacroItkParent ( ConnectomicsSimulatedAnnealingPermutationModularity  ,
itk::Object   
)

Standard class typedefs. Method for creation through the object factory.

static Pointer mitk::ConnectomicsSimulatedAnnealingPermutationModularity::New ( )
static

Referenced by splitModule().

void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::Permutate ( double  temperature)
overridevirtual
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::permutateMappingModuleChange ( ToModuleMapType vertexToModuleMap,
double  currentTemperature,
mitk::ConnectomicsNetwork::Pointer  network 
)
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::permutateMappingSingleNodeShift ( ToModuleMapType vertexToModuleMap,
mitk::ConnectomicsNetwork::Pointer  network 
)
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::randomlyAssignNodesToModules ( ToModuleMapType vertexToModuleMap,
int  numberOfIntendedModules 
)
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::removeModule ( ToModuleMapType vertexToModuleMap,
int  module 
)
protected
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::SetDepth ( int  depth)
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::SetMapping ( ToModuleMapType  mapping)
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::SetNetwork ( mitk::ConnectomicsNetwork::Pointer  theNetwork)
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::SetStepSize ( double  size)
void mitk::ConnectomicsSimulatedAnnealingPermutationModularity::splitModule ( ToModuleMapType vertexToModuleMap,
double  currentTemperature,
mitk::ConnectomicsNetwork::Pointer  network,
int  moduleToSplit 
)
protected

Member Data Documentation

ToModuleMapType mitk::ConnectomicsSimulatedAnnealingPermutationModularity::m_BestSolution
protected
int mitk::ConnectomicsSimulatedAnnealingPermutationModularity::m_Depth
protected
mitk::ConnectomicsNetwork::Pointer mitk::ConnectomicsSimulatedAnnealingPermutationModularity::m_Network
protected
double mitk::ConnectomicsSimulatedAnnealingPermutationModularity::m_StepSize
protected

The documentation for this class was generated from the following files: