... | ... | @@ -7,7 +7,12 @@ GenIe can be used standalone or programmatically as a java library. For both pos |
|
|
|
|
|
## Standalone use
|
|
|
|
|
|
For using GenIe standalone, you can specify an exec call for the fitness function. This executable will be called for each candidate vector evaluation, receiving the candidate vector values as invocation arguments (just strings from the configured value range), or over stdIn if enabled. The forelast invocation argument will be the parents metadata (json), the last argument the metadata from the top N candidate vectors of the parent population, also as Json string, simply as returned from the parents fitness function invocation.
|
|
|
For using GenIe standalone, you can specify an exec call for the fitness function. This executable will be called for each candidate vector evaluation, receiving the candidate vector values as invocation arguments (just strings from the configured value range), and over stdIn if enabled. After the invocation arguments for the candidate vector entries, there follows further parameters for the metadata, in this order:
|
|
|
1. Parents metadata (Json)
|
|
|
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)
|
|
|
|
|
|
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
|
... | ... | |