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
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.
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'
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'.
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