Beispiel #1
0
        public AdjAlloc(String key, List<IAdj> adjs, StaticAlloc staticAlloc, MixupRule rule)
        {
            Trace.Assert(adjs != null);
            Trace.Assert(staticAlloc != null);

            _key = key;
            _adjs = adjs;
            _staticAlloc = staticAlloc;
            this.Rule = rule;
        }
        public AssetRateCalculator(IAlloc alloc, List<IAdj> adjs, SimInputData inputData, MixupRule rule)
        {
            Trace.Assert(alloc != null);
            Trace.Assert(adjs != null);
            Trace.Assert(inputData != null);

            this.Alloc = alloc;
            this.Adjs = adjs;
            this.InputData = inputData;
            this.Rule = rule;
        }
Beispiel #3
0
        public SimCase(String name, IAlloc alloc, List<IAdj> adjs, SimInputData inputData, MixupRule rule, MarketDataSet marketData)
        {
            Trace.Assert(name != null);
            Trace.Assert(alloc != null);
            Trace.Assert(adjs != null);
            Trace.Assert(inputData != null);
            Trace.Assert(marketData != null);

            this.Name = name;
            this.Alloc = alloc;
            this.Adjs = adjs;
            this.InputData = inputData;
            this.Rule = rule;
            this.Calculator = new AssetRateCalculator(alloc, adjs, inputData, rule);
            this.MarketData = marketData;
        }