Beispiel #1
0
        private void ExpandTransitionAttributeTargets(STSimDistributionBaseExpander expander)
        {
            if (this.m_TransitionAttributeTargets.Count > 0)
            {
                IEnumerable <STSimDistributionBase> NewItems = expander.Expand(this.m_TransitionAttributeTargets);

                this.m_TransitionAttributeTargets.Clear();

                foreach (TransitionAttributeTarget t in NewItems)
                {
                    this.m_TransitionAttributeTargets.Add(t);
                }
            }
        }
Beispiel #2
0
        private void ExpandTransitionAdjacencyMultipliers(STSimDistributionBaseExpander expander)
        {
            if (this.m_TransitionAdjacencyMultipliers.Count > 0)
            {
                IEnumerable <STSimDistributionBase> NewItems = expander.Expand(this.m_TransitionAdjacencyMultipliers);

                this.m_TransitionAdjacencyMultipliers.Clear();

                foreach (TransitionAdjacencyMultiplier t in NewItems)
                {
                    this.m_TransitionAdjacencyMultipliers.Add(t);
                }
            }
        }
Beispiel #3
0
        private void ExpandStateAttributeValues(STSimDistributionBaseExpander expander)
        {
            if (this.m_StateAttributeValues.Count > 0)
            {
                IEnumerable <STSimDistributionBase> NewItems = expander.Expand(this.m_StateAttributeValues);

                this.m_StateAttributeValues.Clear();

                foreach (StateAttributeValue t in NewItems)
                {
                    this.m_StateAttributeValues.Add(t);
                }
            }
        }