Class: Clusta::Geometry::DirectedDegreePair
- Defined in:
- lib/clusta/geometry/directed/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
18 19 20 |
# File 'lib/clusta/geometry/directed/degree_pair.rb', line 18 def assortativity Assortativity.new(source_in_degree_value, target_out_degree_value, 1) end |
#directed? ⇒ Boolean
14 15 16 |
# File 'lib/clusta/geometry/directed/degree_pair.rb', line 14 def directed? true end |