... | ... | @@ -12,42 +12,43 @@ For using GenIe standalone, you can specify an exec call for the fitness functio |
|
|
2. Metadata from the top N elite candidate vectors of the parent population (Json)
|
|
|
3. A random pick of the elite metadata list or nothing ('nothing' is a valid pick) (Json)
|
|
|
4. The current generation/epoch index
|
|
|
5. If the current candidate is an elite candidate from the former population/epoch: the former score
|
|
|
6. If the current candidate is an elite candidate from the former population/epoch: the former metadata
|
|
|
|
|
|
All is simply as returned from the parents fitness function invocation.
|
|
|
|
|
|
Following an example of a stdInd json structure a fitness function call will receive:
|
|
|
```json
|
|
|
{
|
|
|
"generation": 7,
|
|
|
"candidateVectorParamNames": ["summandA","summandB","summandC","summandD"],
|
|
|
"candidateVector": ["2","0","0","0"],
|
|
|
"generation": 2,
|
|
|
"candidateFormerScore": 0.7426,
|
|
|
"candidateFormerMetadata": {
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "0.7426"
|
|
|
},
|
|
|
"candidateVectorParamNames": [
|
|
|
"summandA","summandB","summandC","summandD"
|
|
|
],
|
|
|
"candidateVector": ["7","25","0","25"],
|
|
|
"parentsMetadata": [
|
|
|
{
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "0"
|
|
|
"score": "0.5492"
|
|
|
},
|
|
|
{
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "0"
|
|
|
"score": "0.6534"
|
|
|
}
|
|
|
],
|
|
|
"eliteMetadata": [
|
|
|
{
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "1"
|
|
|
},
|
|
|
{
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "1"
|
|
|
},
|
|
|
{
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "1"
|
|
|
"score": "0.7426"
|
|
|
}
|
|
|
],
|
|
|
"selectedEliteMetadata": {
|
|
|
"shellVarNameExample": "shellVarValueExample",
|
|
|
"score": "1"
|
|
|
"score": "0.7426"
|
|
|
}
|
|
|
}
|
|
|
```
|
... | ... | |