Transformation of Cognitive Maps