Research on the methods of ship's autonomous collision avoidance in complex environment