deeeeeee

//MainForm.Designer.cs
namespace BlogBook
{
    partial class MainForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.menu = new System.Windows.Forms.MenuStrip();
            this.Menu_File = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_Open = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_Font = new System.Windows.Forms.ToolStripMenuItem();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.treeView = new System.Windows.Forms.TreeView();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.TextBox = new System.Windows.Forms.RichTextBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.labelpicPatch = new System.Windows.Forms.Label();
            this.pictureBox = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.but_save = new System.Windows.Forms.Button();
            this.label_Fpath = new System.Windows.Forms.Label();
            this.label_charnum = new System.Windows.Forms.Label();
            this.but_reopen = new System.Windows.Forms.Button();
            this.label_CurLine = new System.Windows.Forms.Label();
            this.label_CurAllLine = new System.Windows.Forms.Label();
            this.splitter2 = new System.Windows.Forms.Splitter();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.Menu_help = new System.Windows.Forms.ToolStripMenuItem();
            this.menu.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            this.groupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // menu
            //
            this.menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Menu_File,
            this.toolStripMenuItem1,
            this.Menu_Font,
            this.Menu_help});
            this.menu.Location = new System.Drawing.Point(0, 0);
            this.menu.Name = "menu";
            this.menu.Size = new System.Drawing.Size(973, 25);
            this.menu.TabIndex = 0;
            this.menu.Text = "menu";
            //
            // Menu_File
            //
            this.Menu_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Menu_Open});
            this.Menu_File.Name = "Menu_File";
            this.Menu_File.Size = new System.Drawing.Size(44, 21);
            this.Menu_File.Text = "文件";
            //
            // Menu_Open
            //
            this.Menu_Open.Name = "Menu_Open";
            this.Menu_Open.Size = new System.Drawing.Size(152, 22);
            this.Menu_Open.Text = "选择根文件夹";
            this.Menu_Open.Click += new System.EventHandler(this.Menu_Open_Click);
            //
            // toolStripMenuItem1
            //
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(26, 21);
            this.toolStripMenuItem1.Text = "..";
            //
            // Menu_Font
            //
            this.Menu_Font.Name = "Menu_Font";
            this.Menu_Font.Size = new System.Drawing.Size(44, 21);
            this.Menu_Font.Text = "字体";
            this.Menu_Font.Click += new System.EventHandler(this.Menu_Font_Click);
            //
            // splitContainer1
            //
            this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.splitContainer1.Location = new System.Drawing.Point(0, 27);
            this.splitContainer1.Name = "splitContainer1";
            //
            // splitContainer1.Panel1
            //
            this.splitContainer1.Panel1.Controls.Add(this.treeView);
            //
            // splitContainer1.Panel2
            //
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Size = new System.Drawing.Size(973, 569);
            this.splitContainer1.SplitterDistance = 225;
            this.splitContainer1.TabIndex = 1;
            this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
            this.splitContainer1.RightToLeftChanged += new System.EventHandler(this.splitContainer1_RightToLeftChanged);
            //
            // treeView
            //
            this.treeView.Location = new System.Drawing.Point(4, 4);
            this.treeView.Name = "treeView";
            this.treeView.Size = new System.Drawing.Size(216, 561);
            this.treeView.TabIndex = 0;
            this.treeView.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView_BeforeLabelEdit);
            this.treeView.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView_AfterLabelEdit);
            this.treeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseDoubleClick);
            //
            // splitContainer2
            //
            this.splitContainer2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name = "splitContainer2";
            //
            // splitContainer2.Panel1
            //
            this.splitContainer2.Panel1.Controls.Add(this.TextBox);
            //
            // splitContainer2.Panel2
            //
            this.splitContainer2.Panel2.Controls.Add(this.groupBox2);
            this.splitContainer2.Panel2.Controls.Add(this.groupBox1);
            this.splitContainer2.Size = new System.Drawing.Size(744, 569);
            this.splitContainer2.SplitterDistance = 520;
            this.splitContainer2.TabIndex = 0;
            this.splitContainer2.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer2_SplitterMoved);
            //
            // TextBox
            //
            this.TextBox.AcceptsTab = true;
            this.TextBox.Font = new System.Drawing.Font("YouYuan", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.TextBox.Location = new System.Drawing.Point(3, 3);
            this.TextBox.Name = "TextBox";
            this.TextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedBoth;
            this.TextBox.Size = new System.Drawing.Size(514, 562);
            this.TextBox.TabIndex = 0;
            this.TextBox.Text = "";
            this.TextBox.AcceptsTabChanged += new System.EventHandler(this.TextBox_AcceptsTabChanged);
            this.TextBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.TextBox_MouseClick);
            this.TextBox.CursorChanged += new System.EventHandler(this.TextBox_CursorChanged);
            this.TextBox.FontChanged += new System.EventHandler(this.TextBox_FontChanged);
            this.TextBox.TabIndexChanged += new System.EventHandler(this.TextBox_TabIndexChanged);
            this.TextBox.TextChanged += new System.EventHandler(this.TextBox_TextChanged);
            this.TextBox.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.TextBox_PreviewKeyDown);
            this.TextBox.StyleChanged += new System.EventHandler(this.TextBox_StyleChanged);
            this.TextBox.ParentChanged += new System.EventHandler(this.TextBox_ParentChanged);
            //
            // groupBox2
            //
            this.groupBox2.Controls.Add(this.labelpicPatch);
            this.groupBox2.Controls.Add(this.pictureBox);
            this.groupBox2.Location = new System.Drawing.Point(8, 184);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(200, 381);
            this.groupBox2.TabIndex = 10;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "图片信息[[P]x.x]";
            //
            // labelpicPatch
            //
            this.labelpicPatch.AutoSize = true;
            this.labelpicPatch.Location = new System.Drawing.Point(6, 17);
            this.labelpicPatch.Name = "labelpicPatch";
            this.labelpicPatch.Size = new System.Drawing.Size(29, 12);
            this.labelpicPatch.TabIndex = 3;
            this.labelpicPatch.Text = "路径";
            this.labelpicPatch.Click += new System.EventHandler(this.labelpicPatch_Click);
            //
            // pictureBox
            //
            this.pictureBox.Location = new System.Drawing.Point(6, 32);
            this.pictureBox.Name = "pictureBox";
            this.pictureBox.Size = new System.Drawing.Size(188, 183);
            this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox.TabIndex = 0;
            this.pictureBox.TabStop = false;
            this.pictureBox.Click += new System.EventHandler(this.pictureBox_Click);
            this.pictureBox.DoubleClick += new System.EventHandler(this.pictureBox_DoubleClick);
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.but_save);
            this.groupBox1.Controls.Add(this.label_Fpath);
            this.groupBox1.Controls.Add(this.label_charnum);
            this.groupBox1.Controls.Add(this.but_reopen);
            this.groupBox1.Controls.Add(this.label_CurLine);
            this.groupBox1.Controls.Add(this.label_CurAllLine);
            this.groupBox1.Location = new System.Drawing.Point(8, 4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(200, 159);
            this.groupBox1.TabIndex = 9;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "文档状态";
            //
            // but_save
            //
            this.but_save.Location = new System.Drawing.Point(6, 20);
            this.but_save.Name = "but_save";
            this.but_save.Size = new System.Drawing.Size(75, 23);
            this.but_save.TabIndex = 2;
            this.but_save.Text = "保存文档";
            this.but_save.UseVisualStyleBackColor = true;
            this.but_save.Click += new System.EventHandler(this.but_save_Click);
            //
            // label_Fpath
            //
            this.label_Fpath.AutoSize = true;
            this.label_Fpath.Location = new System.Drawing.Point(6, 135);
            this.label_Fpath.Name = "label_Fpath";
            this.label_Fpath.Size = new System.Drawing.Size(29, 12);
            this.label_Fpath.TabIndex = 7;
            this.label_Fpath.Text = "路径";
            //
            // label_charnum
            //
            this.label_charnum.AutoSize = true;
            this.label_charnum.Location = new System.Drawing.Point(6, 109);
            this.label_charnum.Name = "label_charnum";
            this.label_charnum.Size = new System.Drawing.Size(77, 12);
            this.label_charnum.TabIndex = 8;
            this.label_charnum.Text = "光标前的字数";
            //
            // but_reopen
            //
            this.but_reopen.Location = new System.Drawing.Point(87, 20);
            this.but_reopen.Name = "but_reopen";
            this.but_reopen.Size = new System.Drawing.Size(75, 23);
            this.but_reopen.TabIndex = 4;
            this.but_reopen.Text = "重新加载";
            this.but_reopen.UseVisualStyleBackColor = true;
            this.but_reopen.Click += new System.EventHandler(this.but_reopen_Click);
            //
            // label_CurLine
            //
            this.label_CurLine.AutoSize = true;
            this.label_CurLine.Location = new System.Drawing.Point(6, 60);
            this.label_CurLine.Name = "label_CurLine";
            this.label_CurLine.Size = new System.Drawing.Size(53, 12);
            this.label_CurLine.TabIndex = 5;
            this.label_CurLine.Text = "当前位置";
            //
            // label_CurAllLine
            //
            this.label_CurAllLine.AutoSize = true;
            this.label_CurAllLine.Location = new System.Drawing.Point(6, 86);
            this.label_CurAllLine.Name = "label_CurAllLine";
            this.label_CurAllLine.Size = new System.Drawing.Size(41, 12);
            this.label_CurAllLine.TabIndex = 6;
            this.label_CurAllLine.Text = "总行数";
            //
            // splitter2
            //
            this.splitter2.Location = new System.Drawing.Point(3, 25);
            this.splitter2.Name = "splitter2";
            this.splitter2.Size = new System.Drawing.Size(3, 579);
            this.splitter2.TabIndex = 4;
            this.splitter2.TabStop = false;
            //
            // splitter1
            //
            this.splitter1.Location = new System.Drawing.Point(0, 25);
            this.splitter1.Name = "splitter1";
            this.splitter1.Size = new System.Drawing.Size(3, 579);
            this.splitter1.TabIndex = 2;
            this.splitter1.TabStop = false;
            //
            // Menu_help
            //
            this.Menu_help.Name = "Menu_help";
            this.Menu_help.Size = new System.Drawing.Size(44, 21);
            this.Menu_help.Text = "帮助";
            this.Menu_help.Click += new System.EventHandler(this.Menu_help_Click);
            //
            // MainForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(973, 604);
            this.Controls.Add(this.splitter2);
            this.Controls.Add(this.splitter1);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.menu);
            this.MainMenuStrip = this.menu;
            this.Name = "MainForm";
            this.Text = "BlogBook";
            this.Load += new System.EventHandler(this.MainForm_Load);
            this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged);
            this.menu.ResumeLayout(false);
            this.menu.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menu;
        private System.Windows.Forms.ToolStripMenuItem Menu_File;
        private System.Windows.Forms.ToolStripMenuItem Menu_Open;
        private System.Windows.Forms.SplitContainer splitContainer1;
        private System.Windows.Forms.TreeView treeView;
        private System.Windows.Forms.RichTextBox TextBox;
        private System.Windows.Forms.SplitContainer splitContainer2;
        private System.Windows.Forms.PictureBox pictureBox;
        private System.Windows.Forms.Splitter splitter2;
        private System.Windows.Forms.Splitter splitter1;
        private System.Windows.Forms.Button but_save;
        private System.Windows.Forms.Label labelpicPatch;
        private System.Windows.Forms.Label label_Fpath;
        private System.Windows.Forms.Label label_CurAllLine;
        private System.Windows.Forms.Label label_CurLine;
        private System.Windows.Forms.Button but_reopen;
        private System.Windows.Forms.Label label_charnum;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
        private System.Windows.Forms.ToolStripMenuItem Menu_Font;
        private System.Windows.Forms.ToolStripMenuItem Menu_help;
    }
}

 

使用优化算法,以优化VMD算法的惩罚因子惩罚因子 (α) 和分解层数 (K)。 1、将量子粒子群优化(QPSO)算法与变分模态分解(VMD)算法结合 VMD算法背景: VMD算法是一种自适应信号分解算法,主要用于分解信号为不同频率带宽的模态。 VMD的关键参数包括: 惩罚因子 α:控制带宽的限制。 分解层数 K:决定分解出的模态数。 QPSO算法背景: 量子粒子群优化(QPSO)是一种基于粒子群优化(PSO)的一种改进算法,通过量子行为模型增强全局搜索能力。 QPSO通过粒子的量子行为使其在搜索空间中不受位置限制,从而提高算法的收敛速度与全局优化能力。 任务: 使用QPSO优化VMD中的惩罚因子 α 和分解层数 K,以获得信号分解的最佳效果。 计划: 定义适应度函数:适应度函数根据VMD分解的效果来定义,通常使用重构信号的误差(例如均方误差、交叉熵等)来衡量分解的质量。 初始化QPSO粒子:定义粒子的位置和速度,表示 α 和 K 两个参数。初始化时需要在一个合理的范围内为每个粒子分配初始位置。 执行VMD分解:对每一组 α 和 K 参数,运行VMD算法分解信号。 更新QPSO粒子:使用QPSO算法更新粒子的状态,根据适应度函数调整粒子的搜索方向和位置。 迭代求解:重复QPSO的粒子更新步骤,直到满足终止条件(如适应度函数达到设定阈值,或最大迭代次数)。 输出优化结果:最终,QPSO算法会返回一个优化的 α 和 K,从而使VMD分解效果最佳。 2、将极光粒子(PLO)算法与变分模态分解(VMD)算法结合 PLO的优点与适用性 强大的全局搜索能力:PLO通过模拟极光粒子的运动,能够更高效地探索复杂的多峰优化问题,避免陷入局部最优。 鲁棒性强:PLO在面对高维、多模态问题时有较好的适应性,因此适合海上风电时间序列这种非线性、多噪声的数据。 应用场景:PLO适合用于优化VMD参数(α 和 K),并将其用于风电时间序列的预测任务。 进一步优化的建议 a. 实现更细致的PLO更新策略,优化极光粒子的运动模型。 b. 将PLO优化后的VMD应用于真实的海上风电数据,结合LSTM或XGBoost等模型进行风电功率预测。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值