[Newbies] Permutations and Combinations

2010-03-12 Thread Paul DeBruicker
Hi -- Is there a standard Smalltalk way to enumerate the possible permutations and combinations of a collection of collections? I'm not having any luck googling for an example or mention of a class or package to use. I'm trying to minimize a non linear cost function and want to calculate the set

Re: [Newbies] Permutations and Combinations

2010-03-12 Thread Bert Freudenberg
On 12.03.2010, at 15:27, Paul DeBruicker wrote: Hi -- Is there a standard Smalltalk way to enumerate the possible permutations and combinations of a collection of collections? I'm not having any luck googling for an example or mention of a class or package to use. Type permut somewhere.

[Newbies] Re: Permutations and Combinations

2010-03-12 Thread Paul DeBruicker
Ahh. Thanks. Thats helpful. An illustration of what I want is: |w x y z | w:=OrderedCollection with: 'A' x:=OrderedCollection with: 'a' with: 'b' with: 'c' with: 'd'. y:=OrderedCollection with: '1' with: '2' with:'3'. z:=OrderedCollection with: x with: y. from z I want to get #('A' 'a'

Re: [Newbies] Re: Permutations and Combinations

2010-03-12 Thread Bert Freudenberg
On 12.03.2010, at 16:28, Paul DeBruicker wrote: Sorry. I hit send inadvertently. An illustration of what I want is: |w x y z | w:=OrderedCollection with: 'A' x:=OrderedCollection with: 'a' with: 'b' with: 'c' with: 'd'. y:=OrderedCollection with: '1' with: '2' with:'3'.

Re: [Newbies] help regarding keyboard event

2010-03-12 Thread K. K. Subramaniam
On Thursday 11 March 2010 04:16:52 am priti verma wrote: hi, I want to know how to invoke key press event in squeak speacly tab key pressed??if any one have any study material or any thing please help In Squeak, keystrokes are converted into events (KeyboardEvent) by the main loop and passed