Smrf.NodeXL.ExcelTemplate.GraphMetricCalculationManager.CalculateGraphMetricsAsync C# (CSharp) Method

CalculateGraphMetricsAsync() public method

public CalculateGraphMetricsAsync ( IGraph graph, Microsoft workbook ) : void
graph IGraph
workbook Microsoft
return void
    CalculateGraphMetricsAsync
    (
        IGraph graph,
        Microsoft.Office.Interop.Excel.Workbook workbook
    )
    {
        Debug.Assert(workbook != null);
        AssertValid();

        // Create the default list of graph metrics.

        IGraphMetricCalculator2[] aoAllGraphMetricCalculators =
            new IGraphMetricCalculator2[] {

                new VertexDegreeCalculator2(),
                new BrandesFastCentralityCalculator2(),
                new EigenvectorCentralityCalculator2(),
                new PageRankCalculator2(),
                new ClusteringCoefficientCalculator2(),
                new EdgeReciprocationCalculator2(),
                new GroupMetricCalculator2(),
                new IntergroupEdgeCalculator2(),
                new OverallMetricCalculator2(),
                new WordMetricCalculator2(),

                new TwitterSearchNetworkTopItemsCalculator2(
                    ( new PerWorkbookSettings(workbook) ).GraphHistory),

                new ReciprocatedVertexPairRatioCalculator2(),
                };

        this.CalculateGraphMetricsAsync(graph, workbook,
            aoAllGraphMetricCalculators);
    }

Same methods

GraphMetricCalculationManager::CalculateGraphMetricsAsync ( IGraph graph, Microsoft workbook, IGraphMetricCalculator2 graphMetricCalculators ) : void