Skip to content

Simulate annealing algorithm implemented in JS

Notifications You must be signed in to change notification settings

Slashgear/simulate-annealing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to simulate-annealing 👋

Version License: MIT Twitter: Slashgear_

Simulate annealing algorithm implemented in JS

Install

yarn install

This module export function to generate simulate annealing with parameter :

  • iterationLimit number of iteration
  • temperature init temperature value
  • decrease temperature decrease multiplier
  • fitness function of evaluation of a value
  • firstValue init of algorithm
  • neighborfunction to generate new value from currentValue
  • debug to generate debug data (in order to generate plot)

Example

yarn example

Author

👤 Slashgear antoine395.caron@gmail.com

Show your support

Give a ⭐️ if this project helped you!