Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Hailo::Engine::Scored(User Contributed Perl DocumentatHailo::Engine::Scored(3)

NAME
       Hailo::Engine::Scored - MegaHAL-style reply scoring for Hailo

DESCRIPTION
       This backend implements the logic of replying to	and learning from
       input using the resources given to the engine roles. It is inherits
       from Hailo::Engine::Default and only overrides its "reply" method.

       It generates multiple replies and applies a scoring algorithm to	them,
       then returns the	best one, similar to MegaHAL.

ATTRIBUTES
   "engine_args"
       This is a hash reference	which can have the following keys:

       "iterations"

       The number of replies to	generate before	returning the best one.

       "interval"

       The time	(in seconds) to	spend on generating replies before returning
       the best	one.

       You can not specify both	"iterations" and "interval" at the same	time.
       If neither is specified,	a default "interval" of	0.5 seconds will be
       used.

AUTHORS
       Hinrik Arn SigurA<degree>sson, hinrik.sig@gmail.com

       This module was based on	code from Peter	Teichman's Cobe	project.

LICENSE	AND COPYRIGHT
       Copyright 2010 Hinrik Arn SigurA<degree>sson and	Avar
       ArnfjA<paragraph>rA<degree> Bjarmason <avar@cpan.org>

       This program is free software, you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.32.1			  2018-11-28	      Hailo::Engine::Scored(3)

NAME | DESCRIPTION | ATTRIBUTES | AUTHORS | LICENSE AND COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Hailo::Engine::Scored&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help