Пример #1
0
 private void button6_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(MishraSBird, particleCount: 1000, dimensions: 2, maxEpochs: 30, minAcceptedError: 0, minX: -10, maxX: 0);
 }
Пример #2
0
 private void button7_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(Townsend, particleCount: 1000, dimensions: 2, maxEpochs: 300, minAcceptedError: 0, minX: -2.5, maxX: 2.5);
 }
Пример #3
0
 private void button5_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(EggHolder, particleCount: 1000, dimensions: 2, maxEpochs: 30, minAcceptedError: 0, minX: -512, maxX: 512);
 }
Пример #4
0
 private void button4_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(MichalewiczMse2, particleCount: 1000, dimensions: 2, maxEpochs: 30, minAcceptedError: 0, minX: 0, maxX: Math.PI);
     //ParticleProgram.Run(MichalewiczMse5, particleCount: 1000, dimensions: 5, maxEpochs: 300, minAcceptedError: 0, minX: 0, maxX: Math.PI);
     //ParticleProgram.Run(MichalewiczMse10, particleCount: 1000, dimensions: 10, maxEpochs: 1000, minAcceptedError: 0, minX: 0, maxX: Math.PI);
 }
Пример #5
0
 private void button2_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(GetError2, particleCount: 5, dimensions: 1, minAcceptedError: 0.00000001);
 }
Пример #6
0
 private void button3_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(HimmelblauMse, particleCount: 1000, dimensions: 2, maxEpochs: 30, minAcceptedError: 0.00000001);
 }
Пример #7
0
 private void button1_Click(object sender, EventArgs e)
 {
     ParticleProgram.Run(GetError);
 }