public SimpleProblemSolvingAgent(int maxGoalsToFormulate) { formulateGoalsIndefinitely = false; this.maxGoalsToFormulate = maxGoalsToFormulate; }