Class: IntervalNotation::SweepLine::TraceState::SingleTagging

Inherits:
Tagging
  • Object
show all
Defined in:
lib/interval_notation/sweep_line/trace_state/tagging.rb

Instance Attribute Summary

Attributes inherited from Tagging

#tag_count

Instance Method Summary collapse

Methods inherited from Tagging

initial_state, #state_after_point, #state_at_point

Instance Method Details

#inspectObject



61
# File 'lib/interval_notation/sweep_line/trace_state/tagging.rb', line 61

def inspect; to_s; end

#state_convolutionObject



59
# File 'lib/interval_notation/sweep_line/trace_state/tagging.rb', line 59

def state_convolution; tag_count.keys.to_set; end

#to_sObject



60
# File 'lib/interval_notation/sweep_line/trace_state/tagging.rb', line 60

def to_s; "{#{tag_count.keys.join(', ')}}"; end