Click or drag to resize

freeGraphExtensionsPingGraphSize Method (freeGraph, IEnumerablefreeGraphNodeBase, Boolean, freeGraphPingType, Int32)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Pings the size of the graph by expanding from specified pingSources until number of reached nodes is increasing. freeGraphPingType

Namespace:  imbSCI.Graph.FreeGraph
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static double PingGraphSize(
	this freeGraph graph,
	IEnumerable<freeGraphNodeBase> pingSources,
	bool bothDirections,
	freeGraphPingType pingType,
	int pingLimit = 100
)
Request Example View Source

Parameters

graph
Type: imbSCI.Graph.FreeGraphfreeGraph
The graph that is probed.
pingSources
Type: System.Collections.GenericIEnumerablefreeGraphNodeBase
The ping sources - nodes to start ping expansion from.
bothDirections
Type: SystemBoolean
if set to true if will expand trough both backward and forward links
pingType
Type: imbSCI.Graph.FreeGraphfreeGraphPingType
Type of the ping operation
pingLimit (Optional)
Type: SystemInt32
The ping limit - after which the expansion will stop.

Return Value

Type: Double
Value according to specified pingType or 0 on failure

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type freeGraph. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also