1.0.3 • Published 5 years ago

heredity v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Heredity

Usage and installation

Pre-production todo

  • Finish writing tests
  • Remove comments
  • Optimize dom manipulation in visualizations
  • Add getColors to the other chromosomes
  • Add new chromosomes
  • Create getter for the viz style ids and rewrite the tests to utilize that
  • Change tests to utilize variable div id
  • Search all files for TODO
  • Move addHook parameters around in Heredity.ts. Move fn before thisVal
  • Add examples to all public facing functions

Todo v1.5

  • Set NeuralChromosome to automatically change on nextGeneration()
  • Have NeuralChromsome automatically set gene length
  • NeuralChromosome automatically set gene length based on the perceptron passed through
  • Resize listener on SVG visualizations
  • Replace all viz css classes with the cssPrefix
  • Fix perceptron viz death switch to another gene issue
  • Add animations to visualizations
  • Change hover listener apis. Move this to second parameter to make default null
  • Add this autobinding for addHook

Todo v2

  • Remove d3. Draw manually with canvas/svg
  • Turn visualization modules into custom web components
  • Advanced visualization

Documentation todo

  • Add pure javascript documentation
  • crossovers.ts
  • Heredity.ts
  • mutation.ts
  • Population.ts
  • seleciton.ts
  • viz/ChartViz.ts
  • viz/DnaViz.ts
  • viz/PerceptronViz.ts
  • viz/TopGenesViz.ts
  • viz/VizClassViz.ts
  • chromosomes/BitChromosomes.ts
  • chromosomes/GenericChromosome.ts
  • chromosomes/NeuralChromosome.ts
  • chromosomes/NumberChromosome.ts
  • Cerebrum.js/BitChromosome.ts
  • Cerebrum.js/Cerebrum.ts
  • Cerebrum.js/CerebrumData.ts
  • Cerebrum.js/Layer.ts
  • Cerebrum.js/Neuron.ts