There does not appear to be an access routine definition here. Did you mean to say that the logic written here is for the PieceObj() routine?
Aside: Many of the mathematical operators in your pseudo code were not formatted correctly by LaTeX. You might need to wrap it in a math environment like $<your code here>$ or the listings package.
There does not appear to be an access routine definition here. Did you mean to say that the logic written here is for the
PieceObj()
routine?Aside: Many of the mathematical operators in your pseudo code were not formatted correctly by LaTeX. You might need to wrap it in a math environment like
$<your code here>$
or thelistings
package.