Construction of Cognitive Maps