She said has not entered any public restrooms or dressing rooms and won’t go into stores alone.
Vizzini : But it's so simple. All I have to do is divine from what I know of you: are you the sort of man who would put the poison into his own goblet or his enemy's? Now, a clever man would put the poison into his own goblet, because he would know that only a great fool would reach for what he was given. I am not a great fool, so I can clearly not choose the wine in front of you. But you must have known I was not a great fool, you would have counted on it, so I can clearly not choose the wine in front of me.
Thus, a variety of heuristic algorithms such as Lloyd's algorithm given above are generally used.