GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HAILO::ENGINE::SCORED (3)

.ds Aq ’

NAME

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

CONTENTS

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

CWengine_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 Oern Sigurd`sson, hinrik.sig@gmail.com

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

LICENSE AND COPYRIGHT

Copyright 2010 Hinrik Oern Sigurd`sson and AEvar Arnfjoerd` Bjarmason <avar@cpan.org>

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HAILO::ENGINE::SCORED (3) 2011-09-18

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.