| AI-ExpertSystem-Advanced documentation | view source | Contained in the AI-ExpertSystem-Advanced distribution. |
AI::ExpertSystem::Advanced::KnowledgeDB::YAML - YAML Knowledge DB driver
A YAML knowledge database driver.
It reads a given YAML file and looks for the rules hash key. All of the
elements of rules (causes and goals) are copied to the rules hash
key of AI::ExpertSystem::Advanced::KnowledgeDB::Base.
If no rules are found then it ends unsuccessfully.
It also looks for any available questions under the questions hash key, however if no questions are found then they are not copied :-)
YAML file path to read
Pablo Fischer (pablo@pablo.com.mx).
Copyright (C) 2010 by Pablo Fischer.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| AI-ExpertSystem-Advanced documentation | view source | Contained in the AI-ExpertSystem-Advanced distribution. |