コード例 #1
0
        internal StateRecord(TransitionRecord transition, EmissionRecord emission, StateRecord previousState)
        {
            transition.CheckWhetherArgumentIsNull("transition");
            emission.CheckWhetherArgumentIsNull("emission");

            this.transition    = transition;
            this.emission      = emission;
            this.previousState = previousState;
            this.nextStates    = new HashSet <StateRecord> ();

            this.logProbability = this.transition.LogProbability + this.emission.LogProbability;
        }
コード例 #2
0
        internal StateRecord(TransitionRecord transition, EmissionRecord emission, StateRecord previousState)
        {
            transition.CheckWhetherArgumentIsNull ("transition");
            emission.CheckWhetherArgumentIsNull ("emission");

            this.transition = transition;
            this.emission = emission;
            this.previousState = previousState;
            this.nextStates = new HashSet<StateRecord> ();

            this.logProbability = this.transition.LogProbability + this.emission.LogProbability;
        }
コード例 #3
0
 public void AddNextState(StateRecord nextState)
 {
     nextState.CheckWhetherArgumentIsNull("nextState");
     this.nextStates.Add(nextState);
 }
コード例 #4
0
 public void AddNextState(StateRecord nextState)
 {
     nextState.CheckWhetherArgumentIsNull ("nextState");
     this.nextStates.Add (nextState);
 }