Class: Clusta::Transforms::DegreePairsToAssortativities::Mapper

Inherits:
Wukong::Streamer::StructStreamer
  • Object
show all
Defined in:
lib/clusta/transforms/degree_pairs_to_assortativities.rb

Instance Method Summary collapse

Instance Method Details

#process(degree_pair, *record) ⇒ Object



13
14
15
# File 'lib/clusta/transforms/degree_pairs_to_assortativities.rb', line 13

def process degree_pair, *record
  emit degree_pair.assortativity
end