Click or drag to resize

freeGraphAdapterTNodeAddLink Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds new link, or update existing

Namespace:  imbSCI.Graph.FreeGraph.adapters
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public freeGraphLinkBase AddLink(
	TNode NodeA,
	IObjectWithNameWeightAndType NodeB,
	double w,
	int type,
	operation onWeight = operation.assign,
	operation onType = operation.assign
)
Request Example View Source

Parameters

NodeA
Type: TNode
The node a.
NodeB
Type: imbSCI.Data.interfacesIObjectWithNameWeightAndType
The node b.
w
Type: SystemDouble
The w.
type
Type: SystemInt32
The type.
onWeight (Optional)
Type: imbSCI.Core.enumsoperation
The on weight.
onType (Optional)
Type: imbSCI.Core.enumsoperation
Type of the on.

Return Value

Type: freeGraphLinkBase
See Also