Created
June 11, 2019 18:26
-
-
Save jenetics/34dff59aab3a24c551b5a0bf4481116e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static final ISeq<Op<Double>> OPERATIONS = ISeq.of( | |
| MathOp.ADD, | |
| MathOp.SUB, | |
| MathOp.MUL | |
| ); | |
| static final ISeq<Op<Double>> TERMINALS = ISeq.of( | |
| Var.of("x", 0), | |
| EphemeralConst.of(() -> | |
| (double)RandomRegistry.getRandom().nextInt(10)) | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment