Test for Pruner
This commit is contained in:
@@ -15,6 +15,8 @@ module Pruning
|
||||
|
||||
private
|
||||
|
||||
# Depth First Search implementation
|
||||
# With pruning on the same sweep
|
||||
def prune_subtree(nodes, indicator_ids)
|
||||
nodes_to_examine = nodes.dup
|
||||
nodes_to_examine.each do |node|
|
||||
|
||||
Reference in New Issue
Block a user