Cooperative on-line planning for adaptive map building in environmental applications