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  -  ALGORITHM::EVOLUTIONARY::FITNESS::BASE (3)

.ds Aq ’

NAME

Algorithm::Evolutionary::Fitness::Base - Base class for fitness functions

CONTENTS

SYNOPSIS

Shouldn’t be used directly, it’s an abstract class whose siblings are used to implement fitness functions.

DESCRIPTION

This module includes functionality that should be common to all fitness. Or at least it would be nice to have it in common. It counts the number of evaluations and includes a common API for caching evaluations.

METHODS

new()

Initializes common variables, like the number of evaluations. Cache is not initialized.

initialize()

Called from new, initializes the evaluations counter.

apply( CW$individual )

Applies the instantiated problem to a chromosome. Actually it is a wrapper around _apply

_apply( CW$individual )

This is the one that really does the stuff. Should be overloaded by derived clases

evaluations()

Returns the number of evaluations made with this object. Useful for collecting stats

reset_evaluations()

Sets to 0 the number of evaluations; useful for repeated use of the fitness object

cache()

Returns a reference to the internal evaluations cache. Not very encapsulated, but...

Known subclasses

o Algorithm::Evolutionary::Fitness::MMDP
o Algorithm::Evolutionary::Fitness::P_Peaks
o Algorithm::Evolutionary::Fitness::wP_Peaks
o Algorithm::Evolutionary::Fitness::Knapsack
o Algorithm::Evolutionary::Fitness::ECC
o Algorithm::Evolutionary::Fitness::Royal_Road
o Algorithm::Evolutionary::Fitness::String
o Algorithm::Evolutionary::Fitness::Trap
o Algorithm::Evolutionary::Fitness::Noisy

Copyright



  This file is released under the GPL. See the LICENSE file included in this distribution,
  or go to http://www.fsf.org/licenses/gpl.txt



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


perl v5.20.3 ALGORITHM::EVOLUTIONARY::FITNESS::BASE (3) 2014-10-25

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