C# Class Smrf.NodeXL.UnitTests.IntergroupEdgeCalculatorTest

Inheritance: Object
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oEdges IEdgeCollection
m_oGraph IGraph
m_oIntergroupEdgeCalculator Smrf.NodeXL.Algorithms.IntergroupEdgeCalculator
m_oVertices IVertexCollection

Public Methods

Method Description
IntergroupEdgeCalculatorTest ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
CreateGraph ( System.Boolean bIsDirected ) : void
GetEdgeCount ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : Int32
GetEdgeWeightSum ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : Double
GetIntergroupEdgeInfo ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : IntergroupEdgeInfo

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestCalculateGraphMetrics ( ) : void
TestCalculateGraphMetrics10 ( ) : void
TestCalculateGraphMetrics2 ( ) : void
TestCalculateGraphMetrics3 ( ) : void
TestCalculateGraphMetrics4 ( ) : void
TestCalculateGraphMetrics5 ( ) : void
TestCalculateGraphMetrics6 ( ) : void
TestCalculateGraphMetrics7 ( ) : void
TestCalculateGraphMetrics8 ( ) : void
TestCalculateGraphMetrics9 ( ) : void

Method Details

CreateGraph() protected method

protected CreateGraph ( System.Boolean bIsDirected ) : void
bIsDirected System.Boolean
return void

GetEdgeCount() protected method

protected GetEdgeCount ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : Int32
oIntergroupEdges IList
iGroup1Index System.Int32
iGroup2Index System.Int32
return System.Int32

GetEdgeWeightSum() protected method

protected GetEdgeWeightSum ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : Double
oIntergroupEdges IList
iGroup1Index System.Int32
iGroup2Index System.Int32
return Double

GetIntergroupEdgeInfo() protected method

protected GetIntergroupEdgeInfo ( IList oIntergroupEdges, Int32 iGroup1Index, Int32 iGroup2Index ) : IntergroupEdgeInfo
oIntergroupEdges IList
iGroup1Index System.Int32
iGroup2Index System.Int32
return Smrf.NodeXL.Core.IntergroupEdgeInfo

IntergroupEdgeCalculatorTest() public method

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

Property Details

m_oEdges protected property

protected IEdgeCollection m_oEdges
return IEdgeCollection

m_oGraph protected property

protected IGraph m_oGraph
return IGraph

m_oIntergroupEdgeCalculator protected property

protected IntergroupEdgeCalculator,Smrf.NodeXL.Algorithms m_oIntergroupEdgeCalculator
return Smrf.NodeXL.Algorithms.IntergroupEdgeCalculator

m_oVertices protected property

protected IVertexCollection m_oVertices
return IVertexCollection