Method: DeepCover::Node::BackwardsStrategy#flow_completion_count

Defined in:
lib/deep_cover/node/assignments.rb

#flow_completion_countObject

Instead of assuming our parent tracks our entry and we are responsible for tracking our completion, we go the other way and assume our parent tracks our completion and we are responsible for our entry.



40
41
42
43
44
45
46
# File 'lib/deep_cover/node/assignments.rb', line 40

def flow_completion_count
  if (s = next_sibling)
    s.flow_entry_count
  else
    parent.flow_completion_count
  end
end