📄 遗传算法演示系统.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "遗传算法演示程序"
ClientHeight = 6720
ClientLeft = 165
ClientTop = 855
ClientWidth = 14520
LinkTopic = "Form1"
ScaleHeight = 6720
ScaleWidth = 14520
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog CommonDialog1
Left = 120
Top = 240
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid2
Height = 1095
Left = 9120
TabIndex = 29
Top = 7320
Width = 6015
_ExtentX = 10610
_ExtentY = 1931
_Version = 393216
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Height = 4695
Left = 120
TabIndex = 28
Top = 2520
Width = 15015
_ExtentX = 26485
_ExtentY = 8281
_Version = 393216
End
Begin VB.CommandButton Command4
Caption = "查看函数图像"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 11400
TabIndex = 27
Top = 720
Width = 1935
End
Begin VB.Frame Frame3
Caption = "运行结果"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1935
Left = 9120
TabIndex = 22
Top = 8520
Width = 5895
Begin VB.TextBox Text8
Height = 390
Left = 960
TabIndex = 35
Top = 1320
Width = 4815
End
Begin VB.TextBox Text7
Height = 375
Left = 960
TabIndex = 34
Top = 840
Width = 4815
End
Begin VB.TextBox Text6
Height = 375
Left = 960
TabIndex = 33
Top = 360
Width = 4815
End
Begin VB.Label Label9
Caption = "max="
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 32
Top = 1320
Width = 615
End
Begin VB.Label Label8
Caption = "x2="
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 31
Top = 840
Width = 615
End
Begin VB.Label Label7
Caption = "x1="
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 30
Top = 360
Width = 495
End
End
Begin VB.PictureBox Picture2
FillColor = &H00FFFFFF&
BeginProperty Font
Name = "宋体"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 3135
Left = 120
ScaleHeight = 3075
ScaleWidth = 8595
TabIndex = 21
Top = 7320
Width = 8655
End
Begin VB.Frame Frame2
Caption = "遗传操作"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 4440
TabIndex = 6
Top = 840
Width = 4455
Begin VB.OptionButton Option3
Caption = "编码"
Height = 375
Left = 240
TabIndex = 36
Top = 360
Width = 1095
End
Begin VB.CommandButton Command2
Appearance = 0 'Flat
Caption = "清空(&E)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2760
TabIndex = 20
Top = 240
Width = 1215
End
Begin VB.CommandButton Command1
Appearance = 0 'Flat
Caption = "运行(&W)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2760
TabIndex = 19
Top = 840
Width = 1215
End
Begin VB.OptionButton Option7
Caption = "选择"
Height = 255
Left = 1440
TabIndex = 18
Top = 240
Width = 735
End
Begin VB.OptionButton Option6
Caption = "变异"
Height = 255
Left = 1440
TabIndex = 17
Top = 960
Width = 735
End
Begin VB.OptionButton Option5
Caption = "交叉"
Height = 255
Left = 1440
TabIndex = 16
Top = 600
Width = 735
End
Begin VB.OptionButton Option4
Caption = "解码"
Height = 375
Left = 240
TabIndex = 15
Top = 720
Width = 735
End
End
Begin VB.Frame Frame1
Caption = "参数设置"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 120
TabIndex = 4
Top = 840
Width = 3975
Begin VB.TextBox Text3
Height = 270
Left = 2760
TabIndex = 37
Text = "Text3"
Top = 345
Width = 975
End
Begin VB.TextBox Text10
Height = 270
Left = 1440
TabIndex = 26
Text = "Text10"
Top = 1080
Width = 495
End
Begin VB.TextBox Text9
Height = 270
Left = 840
TabIndex = 24
Text = "Text9"
Top = 1080
Width = 495
End
Begin VB.TextBox Text5
Height = 270
Left = 2760
TabIndex = 14
Text = "Text5"
Top = 1080
Width = 975
End
Begin VB.TextBox Text4
Height = 270
Left = 2760
TabIndex = 13
Text = "Text4"
Top = 720
Width = 975
End
Begin VB.TextBox Text2
Height = 270
Left = 960
TabIndex = 9
Text = "Text2"
Top = 720
Width = 855
End
Begin VB.TextBox Text1
Height = 270
Left = 960
TabIndex = 7
Text = "Text1"
Top = 360
Width = 855
End
Begin VB.Label Label11
Caption = "-"
Height = 135
Left = 1320
TabIndex = 25
Top = 1080
Width = 255
End
Begin VB.Label Label10
Caption = "搜索区间"
Height = 255
Left = 120
TabIndex = 23
Top = 1080
Width = 735
End
Begin VB.Label Label6
Caption = " 终止代数"
Height = 255
Left = 1920
TabIndex = 12
Top = 1080
Width = 855
End
Begin VB.Label Label5
Caption = "变异概率"
Height = 255
Left = 2040
TabIndex = 11
Top = 720
Width = 735
End
Begin VB.Label Label4
Caption = "交叉概率"
Height = 255
Left = 2040
TabIndex = 10
Top = 360
Width = 735
End
Begin VB.Label Label3
Caption = "编码长度"
Height = 255
Left = 120
TabIndex = 8
Top = 360
Width = 735
End
Begin VB.Label Label2
Caption = "种群大小"
Height = 255
Left = 120
TabIndex = 5
Top = 720
Width = 735
End
End
Begin VB.OptionButton Option2
Caption = "Schaffer"
Height = 255
Left = 13800
TabIndex = 3
Top = 840
Width = 1095
End
Begin VB.OptionButton Option1
Caption = "rosenbrock"
Height = 255
Left = 9720
TabIndex = 2
Top = 840
Width = 1215
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
BeginProperty Font
Name = "宋体"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 1095
Left = 9240
ScaleHeight = 1065
ScaleWidth = 5865
TabIndex = 0
Top = 1200
Width = 5895
End
Begin VB.Label Label1
Caption = "遗传算法参数分析"
BeginProperty Font
Name = "宋体"
Size = 24
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 615
Left = 5640
TabIndex = 1
Top = 120
Width = 4215
End
Begin VB.Menu fangan
Caption = "方案(&F)"
Begin VB.Menu fangan1
Caption = "方案1"
Begin VB.Menu qtgm1
Caption = "群体规模较大"
End
Begin VB.Menu qtgm2
Caption = "群体规模较小"
End
Begin VB.Menu qtgm3
Caption = "群体规模一般"
End
End
Begin VB.Menu fangan2
Caption = "方案2"
Begin VB.Menu byl1
Caption = "高变异率"
End
Begin VB.Menu byl2
Caption = "低变异率"
End
Begin VB.Menu byl3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -