コード例 #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
ファイル: CobylaTest.cs プロジェクト: davidsiaw/neuron
        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
        }