DirectedGraphTVertex, TEdge Constructor (FuncTVertex, TVertex, TEdge, Boolean) |
Namespace: SD.Tools.Algorithmia.GraphsAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax public DirectedGraph(
Func<TVertex, TVertex, TEdge> edgeProducerFunc,
bool isCommandified
)
Public Sub New (
edgeProducerFunc As Func(Of TVertex, TVertex, TEdge),
isCommandified As Boolean
)
Parameters
- edgeProducerFunc
- Type: SystemFuncTVertex, TVertex, TEdge
The edge producer func which produces edges for this directed graph. Used in some algorithms which
have to produce edges. - isCommandified
- Type: SystemBoolean
If set to true, the graph is a commandified graph, which means all actions taken on this graph which mutate
graph state are undoable.
See Also