// PRAGMA MARK - INTERFACE
        public void AddTransition(TEnum stateIdFrom, TEnum stateIdTo, int weight)
        {
            BState <TEnum> stateFrom = this.StateFromId(stateIdFrom);
            BState <TEnum> stateTo   = this.StateFromId(stateIdTo);

            BStateTransition <TEnum> newTransition = new BStateTransition <TEnum>(stateTo, weight);

            stateFrom.AddTransition(newTransition);
        }
 public void AddTransition(BStateTransition <TEnum> transition)
 {
     _transitions.Add(transition);
     _cumulativeWeight += transition.Weight;
 }