ExpertSystem.cpp 656 B

1234567891011121314151617181920212223242526
  1. #include "GeneralAI.h"
  2. #include "../../CCallback.h"
  3. #include "ExpertSystem.h"
  4. /*
  5. * ExpertSystem.cpp, part of VCMI engine
  6. *
  7. * Authors: listed in file AUTHORS in main folder
  8. *
  9. * License: GNU General Public License v2.0 or later
  10. * Full text of license available in license.txt file, in main folder
  11. *
  12. */
  13. template <typename ruleType, typename facts> void ExpertSystemShell<ruleType, facts>::DataDrivenReasoning(runType type)
  14. {
  15. switch (type)
  16. {
  17. case ANY_GOAL: //first produced decision ends reasoning
  18. {
  19. for (std::list<typename facts>::iterator it = factList.begin(); it != factList.end(); it++)
  20. {};
  21. }
  22. break;
  23. }
  24. }