Method: Frequent::Algorithm#report

Defined in:
lib/frequent/algorithm.rb

#reportHash<Object,Integer>

Return the latest Tok K elements

Returns:

  • (Hash<Object,Integer>)

    a hash which contains the current top K elements and their counts



132
133
134
# File 'lib/frequent/algorithm.rb', line 132

def report
  @topk
end