GODPAPER | All Packages | All Classes | Index | Frames No Frames |
EvolvableStringFactory

Package | com.suckatmath.machinelearning.genetic.impl
Class | public class EvolvableStringFactory
Inheritance | EvolvableStringFactory AbstractEvolvableFactory Object

Factory to create EvolvableStrings

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | exampleGenome : Genome template genome to use. | AbstractEvolvableFactory

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | EvolvableStringFactory() create a new EvolvableStringFactory | EvolvableStringFactory
|  | buildEvolvable(g:Genome):Evolvable [override] builds an EvolvableString from a FixedLengthStringGenome | EvolvableStringFactory
|  | makeEvolvable(g:Genome = null):Evolvable create a new Evolvable | AbstractEvolvableFactory
|  | makeRandomEvolvable():Evolvable | AbstractEvolvableFactory

Constructor Detail

EvolvableStringFactory | () | Constructor

`public function EvolvableStringFactory()`

create a new EvolvableStringFactory

Method Detail

buildEvolvable | () | method

`override public function buildEvolvable(g:Genome):Evolvable`

builds an EvolvableString from a FixedLengthStringGenome

Parameters

| `g:Genome` — FixedLengthStringGenome as Genome

Returns

| `Evolvable` — EvolvableString as Evolvable

Thu Jan 16 2014, 01:11 PM +08:00