| Hailo documentation | view source | Contained in the Hailo distribution. |
Hailo::Role::Engine - A role representing a Hailo engine backend
A Hailo::Engine::* gets the following attributes by using this role:
storageA storage object the engine should use to get data from.
orderThe current Markov order used by the storage object.
newThis is the constructor. It accept the attributes specified in ATTRIBUTES.
learnLearn from the given input and add it to storage.
replyReply to the given input using the storad data.
Ævar Arnfjörð Bjarmason <avar@cpan.org>
Copyright 2010 Ævar Arnfjörð Bjarmason.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| Hailo documentation | view source | Contained in the Hailo distribution. |