예제 #1
0
 public static SwitchGenerator Sparse(
     IIntMap<int>  arrows,
     IntInterval   possibleBounds,
     IIntFrequency frequency = null)
 {
     var result = new SparseSwitchGenerator(arrows, possibleBounds, frequency);
     return result;
 }
예제 #2
0
        public static SwitchGenerator Sparse(
            IIntMap <int> arrows,
            IntInterval possibleBounds,
            IIntFrequency frequency = null)
        {
            var result = new SparseSwitchGenerator(arrows, possibleBounds, frequency);

            return(result);
        }
예제 #3
0
 public static SwitchGenerator Sparse(
     IntArrow<int>[] intervalToValue,
     int defaultValue,
     IntInterval   possibleBounds,
     IIntFrequency frequency = null)
 {
     var result = new SparseSwitchGenerator(intervalToValue, defaultValue, possibleBounds, frequency);
     return result;
 }
예제 #4
0
        public static SwitchGenerator Sparse(
            IntArrow <int>[] intervalToValue,
            int defaultValue,
            IntInterval possibleBounds,
            IIntFrequency frequency = null)
        {
            var result = new SparseSwitchGenerator(intervalToValue, defaultValue, possibleBounds, frequency);

            return(result);
        }