GoDiagram Win Reference
GreedyCycleRemovalFindNodeMaxDegDiff Method

Finds a valid node in the network that maximizes outdeg - indeg. The degree difference is computed using valid successors and predecessors. Returns null if no valid node exists. Used by GreedyCycleRemoval.
Syntax
'Declaration
 
Protected Overridable Function GreedyCycleRemovalFindNodeMaxDegDiff( _
   ByVal network As GoLayoutLayeredDigraphNetwork _
) As GoLayoutLayeredDigraphNode
protected virtual GoLayoutLayeredDigraphNode GreedyCycleRemovalFindNodeMaxDegDiff( 
   GoLayoutLayeredDigraphNetwork network
)

Parameters

network

Return Value

Returns a valid node in the network that maximized outdeg-indeg or null if no valid node exists
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutLayeredDigraph Class
GoLayoutLayeredDigraph Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback