After some googling I'm still not sure how to do this. IEEE prohibits the use of the floating algorithm environment and suggests the use of "figure" environment with algorithmic package. However, the figure caption is the below the algorithm as "Figure 1". How do I get the usual algorithm caption on top with two horizontal lines? Thank you in advance.