Welcome Guest
Log In | Register )
You last visited December 11, 2016, 3:00 am
All times shown are
Eastern Time (GMT-5:00)

Systems extended

Topic closed. 33 replies. Last post 10 months ago by SergeM.

Page 1 of 3
53
PrintE-mailLink
SergeM's avatar - slow icon.png
Economy class
Belgium
Member #123700
February 27, 2012
4035 Posts
Offline
Posted: January 1, 2016, 11:45 am - IP Logged

I extended my systems on my system-page.

The display limit will raise for the faster algorithms.

Under shark-system:

The input is done in lines for positions. That is easy to understand.

For number input I have now the following outputs:

  • straight (Cartesian product)
  • boxed (Straight reduced to combinations in ascending order)
  • lotto (Straight to lotto combination, set of unique numbers, also understood as single(s) in pick 3)
  • x1 < x2 ... < xn (Straight, filtered with condition)
  • x1 <= x2 ... <= xn (Straight, filtered with condition)

The buttons containing TXT work for words and numbers as text.

The permutation generates all ways from straight.

    lakerben's avatar - spherewall
    New Mexico
    United States
    Member #86099
    January 29, 2010
    11120 Posts
    Offline
    Posted: January 1, 2016, 12:06 pm - IP Logged

    I extended my systems on my system-page.

    The display limit will raise for the faster algorithms.

    Under shark-system:

    The input is done in lines for positions. That is easy to understand.

    For number input I have now the following outputs:

    • straight (Cartesian product)
    • boxed (Straight reduced to combinations in ascending order)
    • lotto (Straight to lotto combination, set of unique numbers, also understood as single(s) in pick 3)
    • x1 < x2 ... < xn (Straight, filtered with condition)
    • x1 <= x2 ... <= xn (Straight, filtered with condition)

    The buttons containing TXT work for words and numbers as text.

    The permutation generates all ways from straight.

    Thanks!

    I will spend time this week on this page.

    How about them cowboys!

     

     

    US Flag

      SergeM's avatar - slow icon.png
      Economy class
      Belgium
      Member #123700
      February 27, 2012
      4035 Posts
      Offline
      Posted: January 1, 2016, 1:55 pm - IP Logged

      I had a problem with the code but I could make it work. A processing limit is set to not make crash your browser or even your connection.

      x1 <= x2 ... <= xn

      Input: [[1, 2, 3], [0, 2, 3], [1, 2, 3], [4, 5, 6]].

      Count of combinations: 21. Limit display: 200000.

      1 2 2 4
      1 2 2 5
      1 2 2 6
      1 2 3 4
      1 2 3 5
      1 2 3 6
      1 3 3 4
      1 3 3 5
      1 3 3 6
      2 2 2 4
      2 2 2 5
      2 2 2 6
      2 2 3 4
      2 2 3 5
      2 2 3 6
      2 3 3 4
      2 3 3 5
      2 3 3 6
      3 3 3 4
      3 3 3 5
      3 3 3 6

      x1 < x2 ... < xn

      Input: [[1, 2, 3], [0, 2, 3], [1, 2, 3], [4, 5, 6]].

      Count of combinations: 3. Limit display: 200000.

      1 2 3 4
      1 2 3 5
      1 2 3 6

      lotto

      Input: [[1, 2, 3], [0, 2, 3], [1, 2, 3], [4, 5, 6]].

      Count of combinations: 12. Limit display: 200000.

      0 1 2 4
      0 1 2 5
      0 1 2 6
      0 1 3 4
      0 1 3 5
      0 1 3 6
      0 2 3 4
      0 2 3 5
      0 2 3 6
      1 2 3 4
      1 2 3 5
      1 2 3 6

      ...

        SergeM's avatar - slow icon.png
        Economy class
        Belgium
        Member #123700
        February 27, 2012
        4035 Posts
        Offline
        Posted: January 1, 2016, 2:07 pm - IP Logged

        I have more ideas than typed code and programming knowledge.

          SergeM's avatar - slow icon.png
          Economy class
          Belgium
          Member #123700
          February 27, 2012
          4035 Posts
          Offline
          Posted: January 1, 2016, 2:18 pm - IP Logged

          0 1 2 3 4  EN: partial permutation NL: variaties FR: arrangement DE: Variation RO: aranjament IT: disposizione
          of 3

          Input: [["0", "1", "2", "3", "4"], ["0", "1", "2", "3", "4"], ["0", "1", "2", "3", "4"]].

          5 * 4 * 3 = 60 

          0 1 2
          0 1 3
          0 1 4
          0 2 1
          0 2 3
          0 2 4
          0 3 1
          0 3 2
          0 3 4
          0 4 1
          0 4 2
          0 4 3
          1 0 2
          1 0 3
          1 0 4
          1 2 0
          1 2 3
          1 2 4
          1 3 0
          1 3 2
          1 3 4
          1 4 0
          1 4 2
          1 4 3
          2 0 1
          2 0 3
          2 0 4
          2 1 0
          2 1 3
          2 1 4
          2 3 0
          2 3 1
          2 3 4
          2 4 0
          2 4 1
          2 4 3
          3 0 1
          3 0 2
          3 0 4
          3 1 0
          3 1 2
          3 1 4
          3 2 0
          3 2 1
          3 2 4
          3 4 0
          3 4 1
          3 4 2
          4 0 1
          4 0 2
          4 0 3
          4 1 0
          4 1 2
          4 1 3
          4 2 0
          4 2 1
          4 2 3
          4 3 0
          4 3 1
          4 3 2

            lakerben's avatar - spherewall
            New Mexico
            United States
            Member #86099
            January 29, 2010
            11120 Posts
            Offline
            Posted: January 1, 2016, 6:10 pm - IP Logged

            0 1 2 3 4  EN: partial permutation NL: variaties FR: arrangement DE: Variation RO: aranjament IT: disposizione
            of 3

            Input: [["0", "1", "2", "3", "4"], ["0", "1", "2", "3", "4"], ["0", "1", "2", "3", "4"]].

            5 * 4 * 3 = 60 

            0 1 2
            0 1 3
            0 1 4
            0 2 1
            0 2 3
            0 2 4
            0 3 1
            0 3 2
            0 3 4
            0 4 1
            0 4 2
            0 4 3
            1 0 2
            1 0 3
            1 0 4
            1 2 0
            1 2 3
            1 2 4
            1 3 0
            1 3 2
            1 3 4
            1 4 0
            1 4 2
            1 4 3
            2 0 1
            2 0 3
            2 0 4
            2 1 0
            2 1 3
            2 1 4
            2 3 0
            2 3 1
            2 3 4
            2 4 0
            2 4 1
            2 4 3
            3 0 1
            3 0 2
            3 0 4
            3 1 0
            3 1 2
            3 1 4
            3 2 0
            3 2 1
            3 2 4
            3 4 0
            3 4 1
            3 4 2
            4 0 1
            4 0 2
            4 0 3
            4 1 0
            4 1 2
            4 1 3
            4 2 0
            4 2 1
            4 2 3
            4 3 0
            4 3 1
            4 3 2

            Nice!

            How about them cowboys!

             

             

            US Flag

              SergeM's avatar - slow icon.png
              Economy class
              Belgium
              Member #123700
              February 27, 2012
              4035 Posts
              Offline
              Posted: January 4, 2016, 3:09 pm - IP Logged

              I added anagram.

              Enter a word or sequence of maximum 6 signs. Push the button.

              Example:

              Input: 0012

              Anagrams:

              0012
              0021
              0102
              0120
              0201
              0210
              1002
              1020
              1200
              2001
              2010
              2100

              Example:

              Input: TOTO1

              Anagrams: 

              1OOTT
              1OTOT
              1OTTO
              1TOOT
              1TOTO
              1TTOO
              O1OTT
              O1TOT
              O1TTO
              OO1TT
              OOT1T
              OOTT1
              OT1OT
              OT1TO
              OTO1T
              OTOT1
              OTT1O
              OTTO1
              T1OOT
              T1OTO
              T1TOO
              TO1OT
              TO1TO
              TOO1T
              TOOT1
              TOT1O
              TOTO1
              TT1OO
              TTO1O
              TTOO1

                SergeM's avatar - slow icon.png
                Economy class
                Belgium
                Member #123700
                February 27, 2012
                4035 Posts
                Offline
                Posted: January 4, 2016, 3:42 pm - IP Logged

                I added partial permutation.

                Example:

                Input: 1123

                Partial permutation length 3

                112
                113
                121
                123
                131
                132
                211
                213
                231
                311
                312
                321

                  SergeM's avatar - slow icon.png
                  Economy class
                  Belgium
                  Member #123700
                  February 27, 2012
                  4035 Posts
                  Offline
                  Posted: January 4, 2016, 3:44 pm - IP Logged

                  Input: 51160

                  Partial permutation length 3

                  011
                  015
                  016
                  051
                  056
                  061
                  065
                  101
                  105
                  106
                  110
                  115
                  116
                  150
                  151
                  156
                  160
                  161
                  165
                  501
                  506
                  510
                  511
                  516
                  560
                  561
                  601
                  605
                  610
                  611
                  615
                  650
                  651

                    lakerben's avatar - spherewall
                    New Mexico
                    United States
                    Member #86099
                    January 29, 2010
                    11120 Posts
                    Offline
                    Posted: January 4, 2016, 5:52 pm - IP Logged

                    Input: 51160

                    Partial permutation length 3

                    011
                    015
                    016
                    051
                    056
                    061
                    065
                    101
                    105
                    106
                    110
                    115
                    116
                    150
                    151
                    156
                    160
                    161
                    165
                    501
                    506
                    510
                    511
                    516
                    560
                    561
                    601
                    605
                    610
                    611
                    615
                    650
                    651

                    Nice work !

                    How about them cowboys!

                     

                     

                    US Flag

                      SergeM's avatar - slow icon.png
                      Economy class
                      Belgium
                      Member #123700
                      February 27, 2012
                      4035 Posts
                      Offline
                      Posted: January 5, 2016, 3:15 pm - IP Logged

                      Another in the test box:

                      Word abcdef AS letters lotto combinations '' here like straight pairs

                      ab
                      ac
                      ad
                      ae
                      af
                      bc
                      bd
                      be
                      bf
                      cd
                      ce
                      cf
                      de
                      df
                      ef

                        SergeM's avatar - slow icon.png
                        Economy class
                        Belgium
                        Member #123700
                        February 27, 2012
                        4035 Posts
                        Offline
                        Posted: January 9, 2016, 12:04 pm - IP Logged

                          Avatar
                          bgonçalves
                          Brasil
                          Member #92564
                          June 9, 2010
                          2126 Posts
                          Offline
                          Posted: January 9, 2016, 12:30 pm - IP Logged

                          Hello sergerm. Good system, at least the variables are great,
                          Especially the Cartesian plane, with the following system

                            SergeM's avatar - slow icon.png
                            Economy class
                            Belgium
                            Member #123700
                            February 27, 2012
                            4035 Posts
                            Offline
                            Posted: January 9, 2016, 12:39 pm - IP Logged

                            You mean the positional straight in- and output.

                              Avatar
                              bgonçalves
                              Brasil
                              Member #92564
                              June 9, 2010
                              2126 Posts
                              Offline
                              Posted: January 9, 2016, 1:31 pm - IP Logged

                              ok , yes, perfect!!