Class: HMM::Sequence
- Inherits:
-
Object
- Object
- HMM::Sequence
- Defined in:
- lib/hmm.rb
Instance Attribute Summary collapse
-
#o ⇒ Object
array of observations, array of states.
-
#q ⇒ Object
array of observations, array of states.
Instance Method Summary collapse
-
#initialize(o, q) ⇒ Sequence
constructor
A new instance of Sequence.
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
#o ⇒ Object
array of observations, array of states
130 131 132 |
# File 'lib/hmm.rb', line 130 def o @o end |
#q ⇒ Object
array of observations, array of states
130 131 132 |
# File 'lib/hmm.rb', line 130 def q @q end |