protected aSimulation(Wiazka wSymulowana, int typSymulacji, IBDwynsymulacji bazaDanych, string opis) : base(wSymulowana) { this.opis = opis; this.typSymulacji = typSymulacji; this.bazaDanych = bazaDanych; lWatkow = Environment.ProcessorCount; }
public Wiazka(IBDwynsymulacji bazaDanych) { this.bazaDanych = bazaDanych; lSerii = 10; _AlgorytmRezerwacji = reservationAlgorithm.none; _aWybPodgr = subgroupChooseAlgorithm.random; _ListaPodgrupLaczy = new List <PodgrupaWiazek>(); _ListaKlasRuchu = new List <trClass>(); _ListaAlgorytmow = new List <Algorytm>(); // _ListaAlgorytmow.Add(new aSplotowyZalezny(this)); _ListaAlgorytmow.Add(new aHybrydowy(this)); _ListaAlgorytmow.Add(new aHybrydowyMISM(this, 0.001, 0)); _ListaAlgorytmow.Add(new aHybrydowyMISM(this, 0, 1)); _ListaAlgorytmow.Add(new aHybrydowyY(this)); _ListaAlgorytmow.Add(new aKaufmanRoberts(this)); _ListaAlgorytmow.Add(new aRobertsIteracyjny(this, 0.001, 0)); _ListaAlgorytmow.Add(new aRobertsIteracyjny(this, 0, 1)); _ListaAlgorytmow.Add(new aSigmaGen(this)); _ListaAlgorytmow.Add(new aSigmaGammaYm1(this)); _ListaAlgorytmow.Add(new aSigmaGammaYm2(this)); _ListaAlgorytmow.Add(new aGammaYc1(this)); _ListaAlgorytmow.Add(new aSigmaGammaYc2(this)); _ListaAlgorytmow.Add(new aSigma01(this)); _ListaAlgorytmow.Add(new aSigmaLambdaT(this)); _ListaAlgorytmow.Add(new aSigmaYt(this)); _ListaAlgorytmow.Add(new aMinR(this)); _ListaAlgorytmow.Add(new aSa3R(this)); _ListaAlgorytmow.Add(new aMaxR(this)); _ListaAlgorytmow.Add(new aRoberts(this)); _ListaAlgorytmow.Add(new aRobertsOgrDostSplotowy(this)); _ListaAlgorytmow.Add(new aRekBackForward(this, 0.001, 0)); _ListaAlgorytmow.Add(new gamma(this)); _ListaAlgorytmow.Add(new gammaV1(this)); _ListaAlgorytmow.Add(new gammaV2(this)); _ListaAlgorytmow.Add(new gammaV3(this)); _ListaAlgorytmow.Add(new aSimulationType1(this)); _ListaAlgorytmow.Add(new aSimulationType2(this)); _ListaAlgorytmow.Add(new aSimulationType3(this)); _ListaAlgorytmow.Add(new aSimulationType4(this)); _ListaAlgorytmow.Add(new aSimulationType5(this)); _ListaAlgorytmow.Add(new aSymulationTyp6(this)); }