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

            return(result);
        }
 public static SwitchGenerator Sparse(
     IntArrow<int>[] intervalToValue,
     int defaultValue,
     IntInterval   possibleBounds,
     IIntFrequency frequency = null)
 {
     var result = new SparseSwitchGenerator(intervalToValue, defaultValue, possibleBounds, frequency);
     return result;
 }
Exemple #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);
        }