C# Class Smrf.NodeXL.Algorithms.MotifCalculator

Calculates motifs for a specified graph.
Inheritance: GraphMetricCalculatorBase
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
AssertValid ( ) : void
TryCalculateMotifs ( IGraph graph, Motifs motifsToCalculate, Int32 dMinimum, Int32 dMaximum, Int32 nMinimum, Int32 nMaximum, BackgroundWorker backgroundWorker, ICollection &motifs ) : System.Boolean

Méthodes protégées

Méthode Description
AddSpanVertexToPotentialDConnectorMotifs ( IVertex oPotentialSpanVertex, ICollection oDPotentialAnchorVertices, DConnectorMotif>.Dictionary oPotentialDConnectorMotifs ) : void
DVerticesMightBeAnchors ( ICollection oVertices, Int32 iDMinimum, Int32 iDMaximum ) : System.Boolean
FilterDConnectorMotifs ( DConnectorMotif>.Dictionary oPotentialDConnectorMotifs ) : ICollection
ReportProgressIfNecessary ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean
SetCliqueMotifScale ( ICollection oCliqueMotifs ) : void
SetDConnectorMotifSpanScale ( ICollection oDConnectorMotifs ) : void
SetFanMotifArcScale ( ICollection oFanMotifs ) : void
TryCalculateCliqueMotifs ( IGraph oGraph, Int32 iNMinimum, Int32 iNMaximum, BackgroundWorker oBackgroundWorker, ICollection oExistingMotifs, ICollection &oMotifs ) : System.Boolean
TryCalculateDConnectorMotifs ( IGraph oGraph, Int32 iDMinimum, Int32 iDMaximum, BackgroundWorker oBackgroundWorker, ICollection &oMotifs ) : System.Boolean
TryCalculateFanMotifs ( IGraph oGraph, BackgroundWorker oBackgroundWorker, ICollection &oMotifs ) : System.Boolean

Private Methods

Méthode Description
AddDConnectorMotif ( HashSet currentDConnectorMotifs, DConnectorMotif>.Dictionary verticesAlreadyInDConnectorMotifs, DConnectorMotif connectorMotifToAdd ) : void

Method Details

AddSpanVertexToPotentialDConnectorMotifs() protected méthode

protected AddSpanVertexToPotentialDConnectorMotifs ( IVertex oPotentialSpanVertex, ICollection oDPotentialAnchorVertices, DConnectorMotif>.Dictionary oPotentialDConnectorMotifs ) : void
oPotentialSpanVertex IVertex
oDPotentialAnchorVertices ICollection
oPotentialDConnectorMotifs DConnectorMotif>.Dictionary
Résultat void

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

DVerticesMightBeAnchors() protected méthode

protected DVerticesMightBeAnchors ( ICollection oVertices, Int32 iDMinimum, Int32 iDMaximum ) : System.Boolean
oVertices ICollection
iDMinimum System.Int32
iDMaximum System.Int32
Résultat System.Boolean

FilterDConnectorMotifs() protected méthode

protected FilterDConnectorMotifs ( DConnectorMotif>.Dictionary oPotentialDConnectorMotifs ) : ICollection
oPotentialDConnectorMotifs DConnectorMotif>.Dictionary
Résultat ICollection

ReportProgressIfNecessary() protected méthode

protected ReportProgressIfNecessary ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean
iCalculationsSoFar System.Int32
iTotalCalculations System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
Résultat System.Boolean

SetCliqueMotifScale() protected méthode

protected SetCliqueMotifScale ( ICollection oCliqueMotifs ) : void
oCliqueMotifs ICollection
Résultat void

SetDConnectorMotifSpanScale() protected méthode

protected SetDConnectorMotifSpanScale ( ICollection oDConnectorMotifs ) : void
oDConnectorMotifs ICollection
Résultat void

SetFanMotifArcScale() protected méthode

protected SetFanMotifArcScale ( ICollection oFanMotifs ) : void
oFanMotifs ICollection
Résultat void

TryCalculateCliqueMotifs() protected méthode

protected TryCalculateCliqueMotifs ( IGraph oGraph, Int32 iNMinimum, Int32 iNMaximum, BackgroundWorker oBackgroundWorker, ICollection oExistingMotifs, ICollection &oMotifs ) : System.Boolean
oGraph IGraph
iNMinimum System.Int32
iNMaximum System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
oExistingMotifs ICollection
oMotifs ICollection
Résultat System.Boolean

TryCalculateDConnectorMotifs() protected méthode

protected TryCalculateDConnectorMotifs ( IGraph oGraph, Int32 iDMinimum, Int32 iDMaximum, BackgroundWorker oBackgroundWorker, ICollection &oMotifs ) : System.Boolean
oGraph IGraph
iDMinimum System.Int32
iDMaximum System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
oMotifs ICollection
Résultat System.Boolean

TryCalculateFanMotifs() protected méthode

protected TryCalculateFanMotifs ( IGraph oGraph, BackgroundWorker oBackgroundWorker, ICollection &oMotifs ) : System.Boolean
oGraph IGraph
oBackgroundWorker System.ComponentModel.BackgroundWorker
oMotifs ICollection
Résultat System.Boolean

TryCalculateMotifs() public méthode

public TryCalculateMotifs ( IGraph graph, Motifs motifsToCalculate, Int32 dMinimum, Int32 dMaximum, Int32 nMinimum, Int32 nMaximum, BackgroundWorker backgroundWorker, ICollection &motifs ) : System.Boolean
graph IGraph
motifsToCalculate Motifs
dMinimum System.Int32
dMaximum System.Int32
nMinimum System.Int32
nMaximum System.Int32
backgroundWorker System.ComponentModel.BackgroundWorker
motifs ICollection
Résultat System.Boolean