@@ -509,18 +509,8 @@ Retrieve a list of labels of the immediate neighbors around a given variable or
509
509
"""
510
510
function getNeighbors (dfg:: CloudGraphsDFG , node:: T ; ready:: Union{Nothing, Int} = nothing ):: Vector{Symbol} where T <: DFGNode
511
511
query = " (n:$(dfg. userId) :$(dfg. robotId) :$(dfg. sessionId) :$(node. label) )--(node) where (node:VARIABLE or node:FACTOR) "
512
- <<<<<< < HEAD
513
512
if ready != nothing
514
513
query = query * " and node.ready >= $(ready) "
515
- ====== =
516
- if ready != nothing || backendset != nothing
517
- if ready != nothing
518
- query = query * " and node.solvable >= $(ready) "
519
- end
520
- if backendset != nothing
521
- query = query * " and node.solveInProgress = $(backendset) "
522
- end
523
- >>>>>> > 266f80 b3a71e8a4f8749fe34d74613606141b7eb
524
514
end
525
515
@debug " [Query] $query "
526
516
neighbors = _getLabelsFromCyphonQuery (dfg. neo4jInstance, query)
@@ -537,18 +527,8 @@ Retrieve a list of labels of the immediate neighbors around a given variable or
537
527
"""
538
528
function getNeighbors (dfg:: CloudGraphsDFG , label:: Symbol ; ready:: Union{Nothing, Int} = nothing ):: Vector{Symbol}
539
529
query = " (n:$(dfg. userId) :$(dfg. robotId) :$(dfg. sessionId) :$(label) )--(node) where (node:VARIABLE or node:FACTOR) "
540
- <<<<<< < HEAD
541
530
if ready != nothing
542
531
query = query * " and node.ready >= $(ready) "
543
- ====== =
544
- if ready != nothing || backendset != nothing
545
- if ready != nothing
546
- query = query * " and node.solvable >= $(ready) "
547
- end
548
- if backendset != nothing
549
- query = query * " and node.solveInProgress = $(backendset) "
550
- end
551
- >>>>>> > 266f80 b3a71e8a4f8749fe34d74613606141b7eb
552
532
end
553
533
@debug " [Query] $query "
554
534
neighbors = _getLabelsFromCyphonQuery (dfg. neo4jInstance, query)
0 commit comments