[Cs5500] question in the gen.hsr.HSRSolution.java
Liang Yu
yu.lia at husky.neu.edu
Mon Mar 28 14:36:54 EDT 2011
hi,
when I tested the solve function for the HSRAvatar,
I tried to use the findDepth() function, however I cannot get the
answer I expected.
so I turned to the source code (gen.hsr.HSRSolution.java),
and I found
line 38: "depth = Math.max(((Compound)this).getYes().findDepth(),
((Compound)this).getYes().findDepth()) +1;"
do you guys think the parameters in the Math.max function are right?
they are the same. so why put the same parameters in the max function?
--
--
Regards,
*Liang*
College of Computer and Information Science,
Northeastern University
Tel: 718-501-0145
MSN: yuliang.name at gmail.com (this is my primary email)
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the Cs5500
mailing list