//************************************************************************* // Constructor: GraphMetricCalculationManager() // /// <summary> /// Initializes a new instance of the <see /// cref="GraphMetricCalculationManager" /> class. /// </summary> //************************************************************************* public GraphMetricCalculationManager() { m_oBackgroundWorker = null; // Set the path to the executable that calculates graph metrics using // the SNAP library. GraphMetricCalculatorBase.SetSnapGraphMetricCalculatorPath( Path.Combine(ApplicationUtil.GetApplicationFolder(), GraphMetricCalculatorBase .DefaultSnapGraphMetricCalculatorFileName)); AssertValid(); }
AddBuiltInGraphDataProviders ( List <Object> oGraphDataProviders ) { Debug.Assert(oGraphDataProviders != null); String sGraphDataProvidersFilePath = Path.Combine( ApplicationUtil.GetApplicationFolder(), GraphDataProvidersFileName); if (File.Exists(sGraphDataProvidersFilePath)) { AddGraphDataProvidersFromFile( sGraphDataProvidersFilePath, oGraphDataProviders); } }