Input: input Case Cn, case stored in case base Cm = [Cm1, Cm2, Cmk]

Output: Similarity level

Begin:

For each case in the input case

Find the corresponding case in the stored case base

Compare the two values to each other

if Cn = Cmi

Si = 1

else Si = 0

END

Return Si

END