Case-based reasoning in virtual reality : a framework for computer-based training