Property | Defined By | ||
---|---|---|---|
![]() | key : * [read-only] | Entity | |
TAG : String [override] [read-only] | GAParameters |
Property | Defined By | ||
---|---|---|---|
generation : int | GAParameters | ||
mutationRate : Number | GAParameters | ||
population : int | GAParameters | ||
tournament : int | GAParameters |
Method | Defined By | ||
---|---|---|---|
GAParameters(generation:int = 1000, population:int = 200, tournament:int = 50, mutationRate:Number = .05) | GAParameters | ||
construct(xml:XML):void [override] | GAParameters | ||
getGeneration():int | GAParameters | ||
getMutationRate():Number | GAParameters | ||
getPopulation():int | GAParameters | ||
getTournament():int | GAParameters | ||
toXML():XML [override] | GAParameters |
generation | property |
protected var generation:int
mutationRate | property |
protected var mutationRate:Number
population | property |
protected var population:int
TAG | property |
TAG:String
[read-only] [override] public function get TAG():String
tournament | property |
protected var tournament:int
GAParameters | () | Constructor |
public function GAParameters(generation:int = 1000, population:int = 200, tournament:int = 50, mutationRate:Number = .05)
generation:int (default = 1000 )
| |
population:int (default = 200 )
| |
tournament:int (default = 50 )
| |
mutationRate:Number (default = .05 )
|
construct | () | method |
override public function construct(xml:XML):void
Parameters
xml:XML |
getGeneration | () | method |
public function getGeneration():int
Returnsint |
getMutationRate | () | method |
public function getMutationRate():Number
ReturnsNumber |
getPopulation | () | method |
public function getPopulation():int
Returnsint |
getTournament | () | method |
public function getTournament():int
Returnsint |
toXML | () | method |
override public function toXML():XML
ReturnsXML |