Research Article

A Collision Avoidance Method for Intelligent Ship Based on the Improved Bacterial Foraging Optimization Algorithm

Table 4

Running results of test functions.

Function nameAlgorithmThe optimal positionThe optimal valueConvergence

SchafferACO(−0.0688, 0.0689)0.312310
BFOA(−0.0029,−0.0034)−0.0043140
IBFOA(0,0)−2.5238E − 0542

RastrigrinACO(−0.0953, 0.0954)0.503920
BFOA(0.0126, −0.0145)−0.0058142
IBFOA(0, 0)−2.5468E − 0528

GriewankACO(−0.1863, 0.1861)2.45848
BFOA(0.0007, −0.0350)0.0046162
IBFOA(0, 0)−1.1387E − 0552

AckleyACO(−0.2406, 0.2405)3.239213
BFOA(0.0042, −0.0035)0.0035103
IBFOA(0, 0)−1.1253E − 0536