Skip to content

Instantly share code, notes, and snippets.

@jenetics
Last active June 11, 2019 18:16
Show Gist options
  • Select an option

  • Save jenetics/4a18da7921a5cb5c94f55fec757c3c22 to your computer and use it in GitHub Desktop.

Select an option

Save jenetics/4a18da7921a5cb5c94f55fec757c3c22 to your computer and use it in GitHub Desktop.
final int depth = 5;
final ISeq<Op<Double>> operations = ISeq.of(...);
final ISeq<Op<Double>> terminals = ISeq.of(...);
final ProgramChromosome<Double> program = ProgramChromosome.of(
depth,
operations,
terminals
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment