Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 878 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 878 Bytes

HillClimbing

The CRL ThreadPool HillClimibing algorithm in C#

Based / inspired on Matt Warren's The CLR Thread Pool 'Thread Injection' Algorithm article and code.

Basically, this repository contains the respective CLR (C++) source code ported C#.

To create the graphs that are also shown in Matt's article, do as follows:

  1. Install Microsoft R Client.
  2. Run the 'install.packages("ggplot2")' command in "Rgui.exe"
  3. Run the following command for the files generated by "HillClimbing.exe"
 "C:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\rscript.exe" CreateGraphs.R results-random.txt random.png
 "C:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\rscript.exe" CreateGraphs.R results-smooth.txt smooth.png