C# Class Analyzer.ConnectedComponentCalculator

Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
CalculateStronglyConnectedComponents ( ICollection vertices, IGraph graph, System.Boolean sortAscending ) : IList>
CalculateStronglyConnectedComponents ( IGraph graph, System.Boolean sortAscending ) : IList>
ConnectedComponentCalculator ( ) : Smrf.NodeXL.Core
ConnectedComponentCalculator ( bool sortAscending ) : Smrf.NodeXL.Core
getMostConnectedComponent ( IList oStronglyConnectedComponents, IGraph oGraph ) : LinkedList

Protected Methods

Method Description
GetIndex ( IVertex oVertex ) : Int32
GetLowLink ( IVertex oVertex ) : Int32
GetSmallestSortableLayoutAndZOrder ( LinkedList oStronglyConnectedComponent ) : System.Single
RunTarjanAlgorithm ( IVertex oVertex, Stack oStack, List oStronglyConnectedComponents, Int32 &iNextIndex ) : void
SetIndex ( IVertex oVertex, Int32 iIndex ) : void
SetLowLink ( IVertex oVertex, Int32 iLowLink ) : void
SortStronglyConnectedComponents ( List oStronglyConnectedComponents, IGraph oGraph, System.Boolean bSortAscending ) : void

Method Details

CalculateStronglyConnectedComponents() public method

public CalculateStronglyConnectedComponents ( ICollection vertices, IGraph graph, System.Boolean sortAscending ) : IList>
vertices ICollection
graph IGraph
sortAscending System.Boolean
return IList>

CalculateStronglyConnectedComponents() public method

public CalculateStronglyConnectedComponents ( IGraph graph, System.Boolean sortAscending ) : IList>
graph IGraph
sortAscending System.Boolean
return IList>

ConnectedComponentCalculator() public method

public ConnectedComponentCalculator ( ) : Smrf.NodeXL.Core
return Smrf.NodeXL.Core

ConnectedComponentCalculator() public method

public ConnectedComponentCalculator ( bool sortAscending ) : Smrf.NodeXL.Core
sortAscending bool
return Smrf.NodeXL.Core

GetIndex() protected method

protected GetIndex ( IVertex oVertex ) : Int32
oVertex IVertex
return System.Int32

GetLowLink() protected method

protected GetLowLink ( IVertex oVertex ) : Int32
oVertex IVertex
return System.Int32

GetSmallestSortableLayoutAndZOrder() protected method

protected GetSmallestSortableLayoutAndZOrder ( LinkedList oStronglyConnectedComponent ) : System.Single
oStronglyConnectedComponent LinkedList
return System.Single

RunTarjanAlgorithm() protected method

protected RunTarjanAlgorithm ( IVertex oVertex, Stack oStack, List oStronglyConnectedComponents, Int32 &iNextIndex ) : void
oVertex IVertex
oStack Stack
oStronglyConnectedComponents List
iNextIndex System.Int32
return void

SetIndex() protected method

protected SetIndex ( IVertex oVertex, Int32 iIndex ) : void
oVertex IVertex
iIndex System.Int32
return void

SetLowLink() protected method

protected SetLowLink ( IVertex oVertex, Int32 iLowLink ) : void
oVertex IVertex
iLowLink System.Int32
return void

SortStronglyConnectedComponents() protected method

protected SortStronglyConnectedComponents ( List oStronglyConnectedComponents, IGraph oGraph, System.Boolean bSortAscending ) : void
oStronglyConnectedComponents List
oGraph IGraph
bSortAscending System.Boolean
return void

getMostConnectedComponent() public method

public getMostConnectedComponent ( IList oStronglyConnectedComponents, IGraph oGraph ) : LinkedList
oStronglyConnectedComponents IList
oGraph IGraph
return LinkedList