Class: Clusta::Geometry::DegreePair
- Defined in:
- lib/clusta/geometry/degree_pair.rb
Instance Attribute Summary
Attributes included from Schema
Instance Method Summary collapse
Methods inherited from Element
Methods included from Serialization::TSV
#extra_inputs=, #extra_outputs, included, #process_args, #suffix, #to_flat, #to_tsv_component
Methods included from Serialization::JSON
included, #non_key_field_data, #process_args, #to_flat, #to_hash
Methods included from Serialization
included, #initialize, #process_args, #stream_name
Methods included from Schema
#extra_outputs, #fields, included, #keys, #non_key_fields
Instance Method Details
#assortativity ⇒ Object
14 15 16 |
# File 'lib/clusta/geometry/degree_pair.rb', line 14 def assortativity Assortativity.new(source_degree_value, target_degree_value, 1) end |
#directed? ⇒ Boolean
10 11 12 |
# File 'lib/clusta/geometry/degree_pair.rb', line 10 def directed? false end |