Class: HMM::Sequence

Inherits:
Object
  • Object
show all
Defined in:
lib/hmm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(o, q) ⇒ Sequence

Returns a new instance of Sequence.



131
132
133
# File 'lib/hmm.rb', line 131

def initialize (o, q)
	  @o, @q = o, q
end

Instance Attribute Details

#oObject

array of observations, array of states



130
131
132
# File 'lib/hmm.rb', line 130

def o
  @o
end

#qObject

array of observations, array of states



130
131
132
# File 'lib/hmm.rb', line 130

def q
  @q
end