📄 frmmmas.frm
字号:
Top = 600
Width = 2655
Begin VB.CommandButton cmdCleanMap
Caption = "清除城市及路径状态图"
Height = 615
Left = 120
TabIndex = 80
Top = 1680
Width = 1095
End
Begin VB.CommandButton cmdCleanList
Caption = "清除最优路径及长度列表框"
Height = 615
Left = 120
Style = 1 'Graphical
TabIndex = 59
Top = 240
Width = 1095
End
Begin VB.CommandButton cmdClearPicBestLen
Caption = "清除最优路径演化图"
Height = 615
Left = 1440
Style = 1 'Graphical
TabIndex = 58
Top = 240
Width = 1095
End
Begin VB.CommandButton cmdCleanPicAvgLen
Caption = "清除平均路径演化图"
Height = 615
Left = 120
Style = 1 'Graphical
TabIndex = 57
Top = 960
Width = 1095
End
Begin VB.CommandButton cmdCleanAll
Caption = "清除所有"
Height = 615
Left = 1440
TabIndex = 56
Top = 960
Width = 1095
End
End
Begin VB.CommandButton cmdStart
Caption = "开始计算(&S)"
Height = 375
Left = 600
TabIndex = 45
Top = 1320
Width = 1695
End
Begin VB.CommandButton cmdStop
Caption = "停止计算(&P)"
Enabled = 0 'False
Height = 375
Left = 600
TabIndex = 44
Top = 1800
Width = 1695
End
Begin VB.TextBox txtCalcTime
Alignment = 2 'Center
Height = 270
Left = 720
TabIndex = 41
Text = "20"
Top = 840
Width = 975
End
Begin VB.CheckBox chkCAvg
Height = 255
Left = 120
TabIndex = 40
Top = 840
Width = 255
End
Begin VB.CheckBox chkUseNew1
Caption = "使用新方法"
Height = 255
Left = 120
TabIndex = 39
Top = 480
Width = 1335
End
Begin VB.TextBox txtAlpha
Height = 270
Left = -74880
TabIndex = 27
Text = "2"
Top = 2040
Width = 1575
End
Begin VB.TextBox txtBeta
Height = 270
Left = -74880
TabIndex = 26
Text = "2"
Top = 2640
Width = 1575
End
Begin VB.TextBox txtRou
Height = 270
Left = -74880
TabIndex = 25
Text = "0.1"
Top = 3240
Width = 1575
End
Begin VB.TextBox txtTaoMax
Height = 270
Left = -74880
TabIndex = 24
Text = "10"
Top = 3840
Width = 1575
End
Begin VB.TextBox txtTaoMin
Height = 270
Left = -74880
TabIndex = 23
Text = "0.01"
Top = 4440
Width = 1575
End
Begin VB.TextBox txtMaxIter
Height = 270
Left = -74880
TabIndex = 22
Text = "1000"
Top = 1440
Width = 1575
End
Begin VB.TextBox txtW
Height = 270
Left = -74880
TabIndex = 21
Text = "1"
Top = 5040
Width = 1575
End
Begin VB.TextBox txtSigma
Height = 270
Left = -74880
TabIndex = 20
Text = "0.2"
Top = 6240
Width = 1575
End
Begin VB.Label Label29
Caption = "Q0"
Height = 255
Left = -74880
TabIndex = 100
Top = 5400
Width = 1575
End
Begin VB.Label Label28
Caption = "Tao0"
Height = 255
Left = -74880
TabIndex = 98
Top = 6600
Width = 1575
End
Begin VB.Label Label22
Caption = "蚂蚁数:"
Height = 255
Left = -74880
TabIndex = 69
Top = 480
Width = 1575
End
Begin VB.Label Label21
Caption = "采用这一组数据来计算:"
Height = 255
Left = 120
TabIndex = 68
Top = 3240
Width = 2175
End
Begin VB.Label Label19
Caption = "用于新方法的参数"
Height = 255
Left = -74880
TabIndex = 65
Top = 6000
Width = 1575
End
Begin VB.Label Label10
Caption = "计算"
Height = 255
Left = 360
TabIndex = 43
Top = 840
Width = 495
End
Begin VB.Label Label14
Caption = "次求平均值"
Height = 255
Left = 1800
TabIndex = 42
Top = 840
Width = 975
End
Begin VB.Label Label1
Caption = "Alpha"
Height = 255
Left = -74880
TabIndex = 34
Top = 1800
Width = 1575
End
Begin VB.Label Label2
Caption = "Beta"
Height = 255
Left = -74880
TabIndex = 33
Top = 2400
Width = 1575
End
Begin VB.Label Label3
Caption = "Rou"
Height = 255
Left = -74880
TabIndex = 32
Top = 3000
Width = 1575
End
Begin VB.Label Label4
Caption = "TaoMax"
Height = 255
Left = -74880
TabIndex = 31
Top = 3600
Width = 1575
End
Begin VB.Label Label5
Caption = "TaoMin"
Height = 255
Left = -74880
TabIndex = 30
Top = 4200
Width = 1575
End
Begin VB.Label Label6
Caption = "计算代数:"
Height = 255
Left = -74880
TabIndex = 29
Top = 1200
Width = 1575
End
Begin VB.Label Label7
Caption = "W"
Height = 255
Left = -74880
TabIndex = 28
Top = 4800
Width = 1575
End
End
Begin TabDlg.SSTab SSTab1
Height = 6375
Left = 0
TabIndex = 0
Top = 120
Width = 8805
_ExtentX = 15531
_ExtentY = 11245
_Version = 393216
Tabs = 5
Tab = 4
TabsPerRow = 5
TabHeight = 520
TabCaption(0) = "最优路径及其长度"
TabPicture(0) = "frmMMAS.frx":011B
Tab(0).ControlEnabled= 0 'False
Tab(0).Control(0)= "txtBestPathAid"
Tab(0).Control(1)= "lstBestPath"
Tab(0).Control(2)= "txtErrRep"
Tab(0).Control(3)= "lstBestLenRep"
Tab(0).Control(4)= "Label18"
Tab(0).Control(5)= "Label17"
Tab(0).ControlCount= 6
TabCaption(1) = "最优路径演化图"
TabPicture(1) = "frmMMAS.frx":0137
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "picBestLen"
Tab(1).Control(1)= "AxisBestLenY"
Tab(1).Control(2)= "AxisBestLenX"
Tab(1).Control(3)= "txtBestLenYMax"
Tab(1).Control(4)= "txtBestLenYMin"
Tab(1).Control(5)= "txtBestLenXMin"
Tab(1).Control(6)= "txtBestLenXMax"
Tab(1).Control(7)= "txtBestLenNY"
Tab(1).Control(8)= "txtBestLenNX"
Tab(1).ControlCount= 9
TabCaption(2) = "平均路径演化图"
TabPicture(2) = "frmMMAS.frx":0153
Tab(2).ControlEnabled= 0 'False
Tab(2).Control(0)= "picAvgLen"
Tab(2).Control(1)= "AxisAvgLenY"
Tab(2).Control(2)= "AxisAvgLenX"
Tab(2).Control(3)= "txtAvgLenYMax"
Tab(2).Control(4)= "txtAvgLenYMin"
Tab(2).Control(5)= "txtAvgLenXMin"
Tab(2).Control(6)= "txtAvgLenXMax"
Tab(2).Control(7)= "txtAvgLenNY"
Tab(2).Control(8)= "txtAvgLenNX"
Tab(2).ControlCount= 9
TabCaption(3) = "城市及路径状态图"
TabPicture(3) = "frmMMAS.frx":016F
Tab(3).ControlEnabled= 0 'False
Tab(3).Control(0)= "picTao"
Tab(3).Control(0).Enabled= 0 'False
Tab(3).Control(1)= "picCityMap"
Tab(3).Control(1).Enabled= 0 'False
Tab(3).Control(2)= "Label25"
Tab(3).Control(2).Enabled= 0 'False
Tab(3).Control(3)= "Label24"
Tab(3).Control(3).Enabled= 0 'False
Tab(3).Control(4)= "Label23"
Tab(3).Control(4).Enabled= 0 'False
Tab(3).ControlCount= 5
TabCaption(4) = "蚂蚁运动图"
TabPicture(4) = "frmMMAS.frx":018B
Tab(4).ControlEnabled= -1 'True
Tab(4).Control(0)= "Label26"
Tab(4).Control(0).Enabled= 0 'False
Tab(4).Control(1)= "Label27"
Tab(4).Control(1).Enabled= 0 'False
Tab(4).Control(2)= "picMovOfAnt"
Tab(4).Control(2).Enabled= 0 'False
Tab(4).Control(3)= "cmdShowAntMove"
Tab(4).Control(3).Enabled= 0 'False
Tab(4).Control(4)= "lstAnt_to_Show"
Tab(4).Control(4).Enabled= 0 'False
Tab(4).Control(5)= "cmdShowBestAntMove"
Tab(4).Control(5).Enabled= 0 'False
Tab(4).Control(6)= "cmdNextMove"
Tab(4).Control(6).Enabled= 0 'False
Tab(4).Control(7)= "txtProb"
Tab(4).Control(7).Enabled= 0 'False
Tab(4).ControlCount= 8
Begin VB.TextBox txtProb
Height = 270
Left = 240
Locked = -1 'True
TabIndex = 95
Top = 2880
Width = 3015
End
Begin VB.CommandButton cmdNextMove
Caption = "蚂蚁的下一步移动"
Enabled = 0 'False
Height = 375
Left = 720
TabIndex = 94
Top = 2160
Width = 1935
End
Begin VB.CommandButton cmdShowBestAntMove
Caption = "显示最佳蚂蚁移动"
Enabled = 0 'False
Height = 495
Left = 240
TabIndex = 93
Top = 1440
Width = 2895
End
Begin VB.ListBox lstAnt_to_Show
Enabled = 0 'False
Height = 240
ItemData = "frmMMAS.frx":01A7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -