R. Clayton (rclayton@clayton.cs.monmouth.edu)
Wed, 17 Jan 2001 19:01:09 -0500 (EST)
If a rectangle A at level 0 moves out from under rectangle B that it was
supporting and now rectangle B is not supported by any other rectangle, do I
have to reassign rectangle B's level?
It depends on the initial configuration. If A is the only rectangle below B,
then yes, you'd have to reassign B's level. If B is below A and C but A isn't
below C and vice versa, then B's level doesn't change and you wouldn't have to
reassign it.
And, by extension, do all of the recatangle's levels need to be reevaluated?
Yes, at least conceptually.
If starting at level 0 is only a base case definition for placing the
rectangle when it is created, the answer is no
I don't understand that: If, after moving A, B has no rectangle below it, then
the base case of B not being above any rectangle holds and B's level has to be
reduced to 0, otherwise B's level is wrong.
but if it is both a base case definition and an invariant, the answer is yes, correct?
Well, the answer's yes anyway.
This archive was generated by hypermail 2.0b3 on Thu May 17 2001 - 12:00:05 EDT