Esempio n. 1
0
        public IConstantsTable <T> Merge(IConstantsTable <T> rhs, out IList <int> rhs2MergedMapping)
        {
            IList <T> merged;

            Merge(_constants, rhs.Constants, out merged, out rhs2MergedMapping);
            return(new ConstantsTable <T>(merged));
        }
Esempio n. 2
0
 public ConstantsSet(ConstantsSet constantsSet)
 {
     _integers           = new ConstantsTable <Int64>(constantsSet.Integers);
     _doubles            = new ConstantsTable <decimal>(constantsSet.Doubles);
     _normalDistribution = (INormalDistribution)constantsSet.NormalDistribution.Clone();
 }
Esempio n. 3
0
 public ConstantsSet(IConstantsTable <Int64> integers, IConstantsTable <decimal> doubles, INormalDistribution normalDistribution)
 {
     _integers           = integers;
     _doubles            = doubles;
     _normalDistribution = normalDistribution;
 }
Esempio n. 4
0
 public ConstantsSet(INormalDistribution normalDistribution)
 {
     _integers           = new ConstantsTable <Int64>();
     _doubles            = new ConstantsTable <decimal>();
     _normalDistribution = normalDistribution;
 }
Esempio n. 5
0
 public ConstantsTable(IConstantsTable <T> constants)
 {
     _constants = new List <T>(constants.Constants);
 }