[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlaplus] Re: Write custom java code function plug-in for PLUSCAL/TLA to compute combinations on sequences w/ dups?
On Tuesday, March 5, 2019 at 7:47:16 PM UTC-5, 7532...@xxxxxxxxx wrote:
> The built-in Permutations works on sets. I need to generate all combinations on a sequence of length N take k. The sequence may have duplicates.
> I could code this in PLUSCAL, however, where might I look to see how I can write some JAVA code to do same where it might be easier, and then call it from TLA?
> Thank you in advance for all the help I've gotten on this chat! Definitely value-add.
Correction: permutations not combinations...
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to tlaplus@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/tlaplus.
For more options, visit https://groups.google.com/d/optout.