samples/basic/tutorial/diagnosis_4
The facts we've seen so far have single values. And those values have typically been text.
It is also possible to let a fact have multiple values. This decision affects certain types of knowledge objects. Those are:
To change the diagnostic system so that it can handle multiple problems at once, make the following changes:
Run the system as before, only this time choose both symptoms when asked.
Notice that the system will now ask as many questions as it needs to find all the problem(s) that apply.
Notice that the problem_report has all of the problems and actions listed.
As before, trace the execution of the system to understand how it works.
|
|
Copyright ©1995-2006 Amzi!
inc. All Rights Reserved. Privacy Policy.
Amzi!, KnowledgeWright and WebLS are registered
trademarks and Adventure in Prolog, Logic Server, Logic Explorer, Adventure
in Prolog and Subscription Plus are trademarks of Amzi! inc.