AI-ExpertSystem-Simple
view release on metacpan or search on metacpan
lib/AI/ExpertSystem/Simple/Goal.pm view on Meta::CPAN
=item answer( VALUE )
This method take VALUE to be the value of the goal attribute and will use it to interpolate and return the MESSAGE that was given
when the object was constructed.
=back
=head2 Private methods
None
=head1 ENVIRONMENT
None
=head1 DIAGNOSTICS
=over 4
=item Goal->new() takes 2 arguments
When the constructor is initialised it requires two arguments. This message is given if more or less arguments were supplied.
=item Goal->new() argument 1 (NAME) is undefined
The correct number of arguments were supplied to the constructor, however the first argument, NAME, was undefined.
=item Goal->new() argument 2 (MESSAGE) is undefined
The correct number of arguments were supplied to the constructor, however the second argument, MESSAGE, was undefined.
=item Goal->is_goal() takes 1 argument
When the method is called it requires one argument. This message is given if more or less arguments were supplied.
=item Goal->is_goal() argument 1 (NAME) is undefined
The correct number of arguments were supplied with the method call, however the first argument, NAME, was undefined.
=item Goal->name() takes no arguments
When the method is called it takes no arguments. This message is given if some were supplied.
=item Goal->answer() takes 1 argument
When the method is called it requires one argument. This message is given if more or less arguments were supplied.
=item Goal->answer() argument 1 (VALUE) is undefined
The correct number of arguments were supplied with the method call, however the first argument, VALUE, was undefined.
=back
=head1 BUGS
None to date
=head1 FILES
See Goal.t in the test directory
=head1 SEE ALSO
AI::ExpertSystem::Simple - The base class for the expert system shell
AI::ExpertSystem::Simple::Knowledge - A utility class
AI::ExpertSystem::Simple::Rules - A utility class
=head1 AUTHORS
Peter Hickman (peterhi@ntlworld.com)
=head1 COPYRIGHT
Copyright (c) 2003, Peter Hickman. All rights reserved.
This module is free software. It may be used, redistributed and/or
modified under the same terms as Perl itself.
( run in 0.886 second using v1.01-cache-2.11-cpan-677af5a14d3 )