DistributedFactorGraphs.jl
DistributedFactorGraphs.jl copied to clipboard
_getDuplicateEmptyDFG -> _similarDFGEmpty
Better standardization with Julia base and verbNounAdjective
added similar to verb definitions wiki.
Just thinking, similar may be confusing, Could we maybe call it _emptyDuplicate or something?
The same thing can maybe be done with the copy functions. We can perhaps use it to do the heavy lifting.
_emptyDuplicate(dfg) = deepcopyGraph(typeof(dfg), dfg, [])
The line above can be seen as a combination of copy and empty verbs
+1, as suggested sounds good to me.
xref #1084