Inducing topological maps from task-oriented perception and exploratory behaviors