Click or drag to resize

NonDirectedGraph<TVertex, TEdge> Constructor (Func<TVertex, TVertex, TEdge>, Boolean, Boolean)

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0529)
Syntax
public NonDirectedGraph(
	Func<TVertex, TVertex, TEdge> edgeProducerFunc,
	bool isCommandified,
	bool isSynchronized
)

Parameters

edgeProducerFunc
Type: System.Func<TVertex, TVertex, TEdge>
The edge producer func which produces edges for this directed graph. Used in some algorithms which have to produce edges.
isCommandified
Type: System.Boolean
If set to true, the graph is a commandified graph, which means all actions taken on this graph which mutate graph state are undoable.
isSynchronized
Type: System.Boolean
if set to true this list is a synchronized collection, using a lock on SyncRoot to synchronize activity in multithreading scenarios
See Also