We know that AI is one of the most important part of Game Programming. Bayesian networks is one of the core part of AI at Game Programming.

Bayesian networks are graphs that compactly represent the relationship between random variables for a given problem. These graphs aid in performing reasoning or decision making in the face of uncertainty.

I am utilizing the monte carlo method and genetic algorithms.

  • But this take too much time and sometimes crashes due to memory.

Is there any way to implement this efficiently?

  • 2
    \$\begingroup\$ Care to give an example as to what goal you wish to achieve using this system, where will this AI be implemented? Just curious \$\endgroup\$ – AturSams Sep 25 '12 at 14:06

Try to implement your network in an existing Bayesian tool like these:

This will help you see if the issue is the complexity of your network or your code.

I suggest you Google for "bayesian network" and "real time". There are many articles that talk about how to speed up processing.

  • \$\begingroup\$ better reference :) \$\endgroup\$ – Md Mahbubur Rahman Sep 25 '12 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.