Research Article
The Sparsity Adaptive Reconstruction Algorithm Based on Simulated Annealing for Compressed Sensing
Algorithm 1
Simulated annealing algorithm.
(1) | Input: | (2) | Initial solution S; | (3) | Initial the temperature t0; | (4) | Cooling rate ; | (5) | The outer-loop iteration ; | (6) | The inner-loop iteration . | (7) | , | (8) | Iteration: | (9) | While do | (10) | for do | (11) | random neighbor of a random neighborhood , | (12) | | (13) | if then | (14) | | (15) | if then | (16) | | (17) | else | (18) | Take a random | (19) | if then | (20) | | (21) | : adjusting temperature | (22) | if then | (23) | Output: |
|