예제 #1
0
파일: Main.cs 프로젝트: davidsiaw/neuron
        public MainProgram()
        {
            #region Set Dependencies

            trstlp = new TRSTLP();
            calcfc = new CALCFC(Default);
            cobylb = new COBYLB(calcfc, trstlp);
            cobyla = new COBYLA(cobylb);
            cobylatest = new COBYLATEST(cobyla, Default);

            #endregion
        }
예제 #2
0
파일: cobyla.cs 프로젝트: davidsiaw/neuron
        public COBYLA(CALCFC calcfc)
        {
            #region Initialization Common Blocks

            CommonBlock Default = new CommonBlock(0, 1, 0, 0);
            #endregion
            #region Dependencies (Initialization)

            TRSTLP trstlp = new TRSTLP();
            //CALCFC calcfc = new CALCFC(Default);
            COBYLB cobylb = new COBYLB(calcfc, trstlp);
            #endregion
            #region Set Dependencies

            this._cobylb = cobylb;
            #endregion
        }
예제 #3
0
        public COBYLATEST()
        {
            #region Initialization Common Blocks

            CommonBlock Default = new CommonBlock(0, 1, 0, 0);
            #endregion
            #region Dependencies (Initialization)

            TRSTLP trstlp = new TRSTLP();
            CALCFC calcfc = new CALCFC(Default);
            COBYLB cobylb = new COBYLB(calcfc, trstlp);
            COBYLA cobyla = new COBYLA(cobylb);
            #endregion
            #region Set Dependencies

            this._cobyla = cobyla;
            #endregion
            #region Common varaible Initialization

            #region Common Block: Default Initialization

            this._default = Default;
            NPROB = Default.intData[0];
            #endregion
            #endregion
        }
예제 #4
0
파일: cobyla.cs 프로젝트: davidsiaw/neuron
        public COBYLB(CALCFC calcfc, TRSTLP trstlp)
        {
            #region Set Dependencies

            this._calcfc = calcfc; this._trstlp = trstlp;
            #endregion
        }