Skip to content

lenoctambule/simulated_annealing_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulated Annealing for C++

An implementation of simulated annealing for C++.

Installation :

$> git clone [email protected]:lenoctambule/simulated_annealing_cpp.git
$> cd simulated_annealing_cpp
$> make

Usage :

Create a class that inherits from AProblem and implement the following the methods :

  • generate_candidate : generates a candidate neighbouring state of the system and returns the cost of the system at this state.
  • candidate_cost : returns the cost of the candidate.
  • current_cost : which will return the cost of the system.
  • validate_candidate : which will transition definitely the system to it's generated neighbouring state.
  • discard_candidate : will cancel and not apply any transformations to the system.

About

C++ implementation of simulated annealing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published