Adaptive Cooperative Algorithms for AUV Networks