예제 #1
0
		/// <summary>
		///   Initializes a new instance.
		/// </summary>
		/// <param name="transitions">The transition instances stored in a contiguous array.</param>
		/// <param name="count">The number of transitions contained in the set; not all of these transitions are valid.</param>
		/// <param name="totalCount">The total number of all originally computed transitions.</param>
		/// <param name="transitionSize">The size of a single transition in bytes.</param>
		public TransitionCollection(Transition* transitions, int count, int totalCount, int transitionSize)
		{
			_transitions = transitions;
			_transitionSize = transitionSize;

			Count = count;
			TotalCount = totalCount;
		}
예제 #2
0
		/// <summary>
		///   Initializes a new instance.
		/// </summary>
		/// <param name="transitions">The transition instances stored in a contiguous array.</param>
		/// <param name="count">The number of transitions contained in the set; not all of these transitions are valid.</param>
		/// <param name="transitionSize">The size of a single transition in bytes.</param>
		public TransitionCollection(Transition* transitions, int count, int transitionSize)
			: this(transitions, count, count, transitionSize)
		{
		}