C# Class Smrf.NodeXL.Algorithms.Community

Represents a community used by ClusterCalculator.
Inheritance: Smrf.NodeXL.Core.NodeXLBase
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Public Properties

Property Type Description
DeltaQNotSet System.Single

Protected Properties

Property Type Description
m_iDegree System.Int32
m_iID System.Int32
m_oCommunityPairWithMaximumDeltaQ CommunityPair
m_oCommunityPairs CommunityPair>.SortedList
m_oVertices LinkedList

Public Methods

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

Initializes a new instance of the Community class.

GetHashCode ( ) : Int32
InitializeDeltaQs ( LinkedList communities, Int32 edgesInGraph ) : void
OnMergedCommunities ( Community mergedCommunity1, Community mergedCommunity2, Community newMergedCommunity, System.Single newCommunityPairDeltaQ, DeltaQMaxHeap deltaQMaxHeap ) : void
ToString ( ) : String

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

Community() public method

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

GetHashCode() public method

public GetHashCode ( ) : Int32
return System.Int32

InitializeDeltaQs() public method

public InitializeDeltaQs ( LinkedList communities, Int32 edgesInGraph ) : void
communities LinkedList
edgesInGraph System.Int32
return void

OnMergedCommunities() public method

public OnMergedCommunities ( Community mergedCommunity1, Community mergedCommunity2, Community newMergedCommunity, System.Single newCommunityPairDeltaQ, DeltaQMaxHeap deltaQMaxHeap ) : void
mergedCommunity1 Community
mergedCommunity2 Community
newMergedCommunity Community
newCommunityPairDeltaQ System.Single
deltaQMaxHeap DeltaQMaxHeap
return void

ToString() public method

public ToString ( ) : String
return String

Property Details

DeltaQNotSet public static property

Value of CommunityPair.DeltaQ and when a delta Q hasn't been set yet.
public static Single,System DeltaQNotSet
return System.Single

m_iDegree protected property

protected Int32,System m_iDegree
return System.Int32

m_iID protected property

protected Int32,System m_iID
return System.Int32

m_oCommunityPairWithMaximumDeltaQ protected property

protected CommunityPair,Smrf.NodeXL.Algorithms m_oCommunityPairWithMaximumDeltaQ
return CommunityPair

m_oCommunityPairs protected property

protected SortedList m_oCommunityPairs
return CommunityPair>.SortedList

m_oVertices protected property

protected LinkedList m_oVertices
return LinkedList