nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.MachineLearning / GeneralFitnessPool

GeneralFitnessPool

Full name Microsoft.VisualBasic.MachineLearning.Darwinism.Models.GeneralFitnessPool`1 Assembly Microsoft.VisualBasic.MachineLearning Members 6

Compute fitness and cache the result data in this pool.

00 Remarks

works for genetic algorithm and DifferentialEvolution

Type Parameters
NameDescription
Individual

01 Syntax

Microsoft.VisualBasic.MachineLearning.Darwinism.Models.GeneralFitnessPool`1

02 Methods

NameOverloadsSummary
.ctor 1
Fitness 1 This function tells how well given individual performs at given problem.
Clear 1 Clear all cache data.

03 Properties

NameOverloadsSummary
Cacheable 1
evaluateFitness 1

04 Fields

NameOverloadsSummary
cache 1 A fitness cache pool indexed via the unique id of target

05 Members

method .ctor #
#ctor(Fitness(Of `0), Int32, Func(Of `0, String))
Parameters
NameTypeDescription
caclFitness(Of `0)

Expression for descript how to calculate the fitness.

method Fitness #
Fitness(`0, Boolean)

This function tells how well given individual performs at given problem.

Parameters
NameTypeDescription
[in]`0

-

method Clear #
Clear

Clear all cache data.

field cache #
cache

A fitness cache pool indexed via the unique id of target

property Cacheable #
Cacheable
property evaluateFitness #
evaluateFitness