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.



438
439
440
# File 'lib/hmm.rb', line 438

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

Instance Attribute Details

#oObject

array of observations, array of states



437
438
439
# File 'lib/hmm.rb', line 437

def o
  @o
end

#qObject

array of observations, array of states



437
438
439
# File 'lib/hmm.rb', line 437

def q
  @q
end