<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Ruby] Algorithmus für Perumtation mit Wiederholung]]></title><description><![CDATA[<p>Hi,<br />
ich brauche eine Bibliothek für Ruby die Permutationen mit Wiederholung anbietet, die Bibliothek <a href="http://permutation.rubyforge.org" rel="nofollow">permutation.rubyforge.org</a> bietet leider nur Permutationen ohne Wiederholung an.</p>
<p>Wenn ich mir keine Bibliothek nennen könnt, könnt ihr mir dann sagen wo ich eine Beschreibung für solch einen Algorithmus finde, bzw. eine Implementierung in einer anderen gängigen Sprache?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/204154/ruby-algorithmus-für-perumtation-mit-wiederholung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 28 Jun 2026 03:21:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/204154.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jan 2008 17:23:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 17:23:06 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich brauche eine Bibliothek für Ruby die Permutationen mit Wiederholung anbietet, die Bibliothek <a href="http://permutation.rubyforge.org" rel="nofollow">permutation.rubyforge.org</a> bietet leider nur Permutationen ohne Wiederholung an.</p>
<p>Wenn ich mir keine Bibliothek nennen könnt, könnt ihr mir dann sagen wo ich eine Beschreibung für solch einen Algorithmus finde, bzw. eine Implementierung in einer anderen gängigen Sprache?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446518</guid><dc:creator><![CDATA[Ruby-Progger]]></dc:creator><pubDate>Wed, 30 Jan 2008 17:23:06 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 17:31:42 GMT]]></title><description><![CDATA[<p>Ich habe ein paar Details vergessen: ich möchte genaugenommen folgendes:</p>
<p>Ich habe k unterschiedliche Elemente und möchte n mal eines dieser Elemente auswählen. Die Reihenfolge ist von Bedeutung, d.h. ich habe im Urnenmodell k unterschiedliche Kugeln, ich ziehe n mal mit zurücklegen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446527</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446527</guid><dc:creator><![CDATA[Ruby-Progger]]></dc:creator><pubDate>Wed, 30 Jan 2008 17:31:42 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 18:11:01 GMT]]></title><description><![CDATA[<p>Mir ist gerade aufgefallen, dass Passwort-Cracker nach dem gleichen Prinzip arbeiten, allerdings konnte ich spontan bei google keine Beschreibung für den Algorithmus von solch einem finden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446552</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446552</guid><dc:creator><![CDATA[Ruby-Progger]]></dc:creator><pubDate>Wed, 30 Jan 2008 18:11:01 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 21:13:28 GMT]]></title><description><![CDATA[<p>Wo ist das Problem? Du rufst einfach n-mal ne Zufallsfunktion auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446664</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446664</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Wed, 30 Jan 2008 21:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 21:22:30 GMT]]></title><description><![CDATA[<p>Ich kann dir nur <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-201730.html" rel="nofollow">das da</a> anbieten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446673</guid><dc:creator><![CDATA[bgdnoy]]></dc:creator><pubDate>Wed, 30 Jan 2008 21:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Wed, 30 Jan 2008 22:40:52 GMT]]></title><description><![CDATA[<p>Ruby-Progger schrieb:</p>
<blockquote>
<p>Ich habe ein paar Details vergessen: ich möchte genaugenommen folgendes:</p>
<p>Ich habe k unterschiedliche Elemente und möchte n mal eines dieser Elemente auswählen. Die Reihenfolge ist von Bedeutung, d.h. ich habe im Urnenmodell k unterschiedliche Kugeln, ich ziehe n mal mit zurücklegen.</p>
</blockquote>
<p>Mir erschließt sich das im Moment nicht ganz ...</p>
<p>Nimm einfach rand() <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446712</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446712</guid><dc:creator><![CDATA[snuggly]]></dc:creator><pubDate>Wed, 30 Jan 2008 22:40:52 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Thu, 31 Jan 2008 12:00:51 GMT]]></title><description><![CDATA[<p>Ich möchte natürlich nicht m mal aus der Urne Ziehen, sondern systematisch alle Möglichkeiten generiert haben.</p>
<p>Danke für den Link ich schau mir den mal an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446899</guid><dc:creator><![CDATA[Ruby-Progger]]></dc:creator><pubDate>Thu, 31 Jan 2008 12:00:51 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Thu, 31 Jan 2008 12:58:21 GMT]]></title><description><![CDATA[<p>Okay, danke in einem wiederum verlinkten Thread von dem oben verlinkten Thread habe ich eine hilfreiche Implementierung gefunden <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446930</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446930</guid><dc:creator><![CDATA[Ruby-Progger]]></dc:creator><pubDate>Thu, 31 Jan 2008 12:58:21 GMT</pubDate></item><item><title><![CDATA[Reply to [Ruby] Algorithmus für Perumtation mit Wiederholung on Thu, 31 Jan 2008 13:25:32 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /> Suchen hilft...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1446955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1446955</guid><dc:creator><![CDATA[bgdnoy]]></dc:creator><pubDate>Thu, 31 Jan 2008 13:25:32 GMT</pubDate></item></channel></rss>