Subject: Re: Q. on Ass5 360

> 
> >You should only produce words that fit the
> >criteria in the assignment (length <=6, etc).
> 
> Maybe I need to clarify my question by example ,
> 
>    input :       word("abbreviate").
>  output :       abbreviate   -->  abbrevi8
>                                            ^^^^^^^^^ is length 8
> will not be possible to shorten it to the length
> as required if only the "ones" is applied.
> 
> so my question is that should we print it out as " abbrevi8 ",
>  or just simply discard it ?
> 

Think about it. If you were using a program
that generated vanity plates, would you want
it to generate "answers" that didn't even
fit on the plate?

I.e., you should discard any "solution" that
isn't a solution.

/CC

___________________________________________________________________________
Christian Collberg      | Email: c_collberg@cs.auckland.ac.nz
Computer Science Dept   | Fax:   +64-9-373-7453
University of Auckland  | Phone: +64-9-373-7599 x 6137
Private Bag 92019,      | WWW:   http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ            |
___________________________________________________________________________
"Education is an admirable thing, but it is well to remember from time
to time that nothing that is worth knowing can be taught." - Oscar Wilde
___________________________________________________________________________