C# Class Smrf.NodeXL.ExcelTemplate.ClusterCalculator2

Partitions a graph into clusters.
Use the Algorithm property to specify the clustering algorithm to use.

See Algorithms.ClusterCalculator for details on how the graph is partitioned into clusters.

Inheritance: GraphMetricCalculatorBase2
Mostrar archivo Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_bPutNeighborlessVerticesInOneCluster System.Boolean
m_eAlgorithm ClusterAlgorithm

Public Methods

Method Description
AssertValid ( ) : void
ClusterCalculator2 ( ) : System

Initializes a new instance of the ClusterCalculator2 class.

TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

ClusterCalculator2() public method

Initializes a new instance of the ClusterCalculator2 class.
public ClusterCalculator2 ( ) : System
return System

TryCalculateGraphMetrics() public method

public TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean
graph IGraph
calculateGraphMetricsContext CalculateGraphMetricsContext
graphMetricColumns GraphMetricColumn
return System.Boolean

Property Details

m_bPutNeighborlessVerticesInOneCluster protected_oe property

protected Boolean,System m_bPutNeighborlessVerticesInOneCluster
return System.Boolean

m_eAlgorithm protected_oe property

protected ClusterAlgorithm m_eAlgorithm
return ClusterAlgorithm