This site requires JavaScript, please enable it in your browser!
Greenfoot back
Super_Hippo
Super_Hippo wrote ...

2018/1/20

'code too large' error

1
2
Super_Hippo Super_Hippo

2018/1/20

#
What's the best way to go around the 'code too large' error? I can't even place the array alone into an empty class code... Do I need to split the array into different classes?
CxVercility CxVercility

2018/1/20

#
? What exactly is the error? Never seen that
Super_Hippo Super_Hippo

2018/1/20

#
I have never seen it either. But it seems to appear when you use too many Bytes in a variable or the class code... or something like this. And I have a pretty big array that I don't really want to create on runtime.
CxVercility CxVercility

2018/1/20

#
Eh. Shouldnt really be the case, can you screenshot it? Or post the code.
Super_Hippo Super_Hippo

2018/1/20

#
That's half of it:
public class Phasenübergänge
{
    public static final int[][][][][][] phasenübergänge = //von [zehner][einer] nach [zehner][einer] die [signalgruppe][signalbilder]
    {
        { //von 0x
            { //von 00
                { //nach 0x
                    {}, //nach 00
                    {}, //nach 01...
                    {},
                    {},
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{0,0,0,2},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{},{},  {},{},{0}}, // nach 04=01
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{0,0,0,2},{},  {},{},{},  /** -- */  {},{},{},  {},{},{0},  {},{},{},  {},{},{}}, // nach 05=02
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{0,0,0,2},{},  {},{},{},  {},{0,0,0,2},{},  {},{},{},  /** -- */  {},{},{},  {},{},{0},  {},{},{},  {},{},{0}}, // nach 06=03
                },
                { //nach 1x
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 10
                    {{},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {},{0,0,0,0,2},{},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{0}}, //nach 11
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{0,0,0,0,2},{0,0,0,0,3},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{0}}, //nach 12
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {},{0,0,0,0,2},{},  {},{},{},  /** -- */  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 13
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {4,4,4,0},{0,0,0,0,2},{0,0,0,0,3},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 14
                },
                { //nach 2x
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 20
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 21
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 22
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 23
                }
            },
            { //von 01
                {
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{4,4,4,0},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{},{},  {},{},{0,0,0,0,0,0,1}} //nach 00
                }
            },
            { //von 02
                {
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{4,4,4,0},{},  {},{},{},  /** -- */  {},{},{},  {},{},{0,0,0,0,0,0,1},  {},{},{},  {},{},{}} //nach 00
                }
            },
            { //von 03
                {
                    {{},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{4,4,4,0},{},  {},{},{},  {},{4,4,4,0},{},  {},{},{},  /** -- */  {},{},{},  {},{},{0,0,0,0,0,0,1},  {},{},{},  {},{},{0,0,0,0,0,0,1}} //nach 00
                }
            },
            { //von 04
                {
                    
                },
                { //nach 1x
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 10
                    {{},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {},{},{},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{}}, //nach 11
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{0,0,0,0,3},  {},{},{},  {4,4,4,0},{},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 12
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {},{0,0,0,0,2},{},  {},{},{},  /** -- */  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 13
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {4,4,4,0},{0,0,0,0,2},{0,0,0,0,3},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{0},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 14
                },
                { //nach 2x
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{}}, //nach 20
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{}}, //nach 21
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{}}, //nach 22
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{}}, //nach 23
                }
            },
            { //von 05
                {
                    
                },
                { //nach 1x
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 10
                    {{},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {},{0,0,0,0,2},{},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{0}}, //nach 11
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{0,0,0,0,2},{0,0,0,0,3},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{0}}, //nach 12
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 13
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{},  {},{},{},  {4,4,4,0},{},{0,0,0,0,3},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{1,0}}, //nach 14
                },
                { //nach 2x
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 20
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 21
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 22
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{1,1,1,1,1,0}}, //nach 23
                }
            },
            { //von 06
                {
                    
                },
                { //nach 1x
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 10
                    {{},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {},{},{},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{}}, //nach 11
                    {{3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{},{0,0,0,0,3},  {},{},{},  {4,4,4,0},{4,4,4,0},{},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 12
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {0,0,0,0,0,1},{0,0,0,0,0,1},{},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 13
                    {{3,3,3,0},{3,3,3,0},{},  {},{0,0,0,0,0,0,0,1},{},  {3,3,3,0},{3,3,3,0},{0,0,0,1,2},  {},{0,0,0,0,0,0,0,1},{},  /** -- */  {4,4,4,0},{4,4,4,0},{},  {},{},{},  {4,4,4,0},{},{0,0,0,0,3},  {},{},{},  /** -- */  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{},  {},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {},{1,1,1,1,1,0},{}}, //nach 14
                },
                { //nach 2x
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{}}, //nach 20
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{}}, //nach 21
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{/*wechsel am Ende*/},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{}}, //nach 22
                    {{2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  {2,3,3,3,0},{3,3,3,0},{},  {0,0,0,0,0,0,0,0,1},{0,0,0,0,0,0,0,0,1},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{},  {0,0,0,0,0,0,1},{0,0,0,0,0,1},{},  {0},{1,1,1,1,1,1,0},{}}, //nach 23
                }
            }
        },
        { //von 1x
            { //von 10
                {
                    
                },
                { //nach 1x
                    {}, //nach 10
                    {}, //nach 11
                    {}, //nach 12
                    {}, //nach 13
                    {}, //nach 14
                    {}, //nach 15
                    {{},{},{3,3,3,0},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{/*wechsel am Ende*/},{/*wechsel am Ende*/},  {},{},{},  /** -- */  {0,0,0,0,0,1},{},{},  {},{},{},  {},{},{},  {},{},{}}, //nach 16
                    {}, //nach 17
                    {{},{},{},  {},{},{},  {},{},{3,3,3,0},  {},{},{},  /** -- */  {},{/*wechsel am Ende*/},{/*wechsel am Ende*/},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {0,0,0,0,0,1},{},{},  {},{},{}}, //nach 18
                },
                { //nach 2x
                    {{},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {/*wechsel am Ende*/},{},{},  {0},{},{},  {/*wechsel am Ende*/},{},{},  {0},{},{}}, //nach 20
                    {{},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {/*wechsel am Ende*/},{},{1,1,1,1,1,0},  {0},{},{},  {/*wechsel am Ende*/},{},{},  {0},{},{}}, //nach 21
                    {{},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {/*wechsel am Ende*/},{},{},  {0},{},{},  {/*wechsel am Ende*/},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 22
                    {{},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {/*wechsel am Ende*/},{},{1,1,1,1,1,0},  {0},{},{},  {/*wechsel am Ende*/},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 23
                }
            },
            { //von 11
                {
                    
                },
                { //nach 1x
                    {{2,2,2,2,2,3,3,3,0},{},{},  {},{},{},  {},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  /** -- */  {1,1,1,1,1,4,4,4,0},{2,2,2,2,2,4,4,4,0},{},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {0},{},{/*wechsel am Ende*/},  {},{},{}}, //nach 10
                    {}, //nach 11
                    {}, //nach 12
                    {}, //nach 13
                    {}, //nach 14
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {},{},{},  {0},{},{/*wechsel an Ende*/},  {},{},{}}, //nach 15
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {},{},{},  {},{/*wechsel am Ende*/},{/*wechsel am Ende*/},  {},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0},{},{/*wechsel an Ende*/},  {},{},{}}, //nach 16
                },
                { //nach 2x
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{},  {},{},{/*wechsel am Ende*/},  {0},{},{}}, //nach 20
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{},  {},{},{/*wechsel am Ende*/},  {0},{},{}}, //nach 21
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{},  {},{},{},  {0},{},{}}, //nach 22
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{},  {},{},{},  {0},{},{}}, //nach 23
                }
            },
            { //von 12
                {
                    
                },
                { //nach 1x
                    {{},{},{},  {},{},{},  {},{},{0,0,0,0,0,1},  {},{},{},  /** -- */  {},{4,4,4,0},{4,4,4,0},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{},{},  {},{},{},} //nach 10
                }
            },
            { //von 13
                {
                    
                },
                { //nach 1x
                    {{},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  {2,2,2,2,2,3,3,3,0},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {1,1,1,1,1,4,4,4,0},{2,2,2,2,2,4,4,4,0},{},  {},{},{},  /** -- */  {0},{},{/*wechsel am Ende*/},  {},{},{},  {},{},{},  {},{},{}}, //nach 10
                    {}, //nach 11
                    {}, //nach 12
                    {}, //nach 13
                    {}, //nach 14
                    {}, //nach 15
                    {}, //nach 16
                    {{0,0,0,0,0,0,0,0,1},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {},{},{},  /** -- */  {0},{},{/*wechsel an Ende*/},  {},{},{},  {0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {},{},{}}, //nach 17
                    {{},{},{0,0,0,0,0,0,0,0,1},  {},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {},{/*wechsel am Ende*/},{/*wechsel am Ende*/},  {},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {},{},{},  /** -- */  {0},{},{/*wechsel an Ende*/},  {},{},{},  {0,0,0,0,0,0,1},{},{},  {},{},{}}, //nach 18
                },
                { //nach 2x
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{/*wechsel am Ende*/},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 20
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 21
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{/*wechsel am Ende*/},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 22
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 23
                }
            },
            { //von 14
                {
                    
                },
                { //nach 1x
                    {{},{},{0,0,0,0,0,1},  {},{},{},  {},{},{},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{4,4,4,0},{4,4,4,0},  {},{},{},  /** -- */  {},{},{},  {},{},{},  {},{},{},  {},{},{}} //nach 10
                }
            },
            { //von 15
                {
                    
                },
                {
                    
                },
                { //nach 2x
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{/*wechsel am Ende*/},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 20
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 21
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{/*wechsel am Ende*/},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 22
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 23
                }
            },
            { //von 16
                {
                    
                },
                {
                    
                },
                { //nach 2x
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 20
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{},{},  /** -- */  {},{},{1,1,1,1,1,0},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}}, //nach 21
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{},{},  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 22
                    {{},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  {2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  /** -- */  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {},{},{1,1,1,1,1,0},  {0},{},{},  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 23
                }
            },
            { //von 17
                {
                    
                },
                {
                    
                },
                { //nach 2x
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{}, {},{},{/*wechsel am Ende*/},  {0},{},{}},  //nach 20
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{},  {},{},{/*wechsel am Ende*/},  {0},{},{}}, //nach 21
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{},  {},{},{},  {0},{},{}}, //nach 22
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {0,0,0,0,0,0,0,0,1},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {1,4,4,4,0},{2,4,4,4,0},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{}, {},{},{},  {0},{},{}}, //nach 23
                }
            },
            { //von 18
                {
                    
                },
                {
                    
                },
                { //nach 2x
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{},  {},{},{},  {0},{},{}}, //nach 20
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{},  {},{},{},  {0},{},{}}, //nach 21
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{},  {0},{},{},  {},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 22
                    {{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},  {},{},{},  {},{},{},  {0,0,0,0,0,0,0,0,1},{},{},  /** -- */  {},{2,4,4,4,0},{3,4,4,4,0},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  {},{},{},  {/*wechsel am Ende*/},{/*wechsel am Ende*/},{},  /** -- */  {0,0,0,0,0,0,0,0,1},{},{1,1,1,1,1,0},  {0},{},{},  {},{},{1,1,1,1,1,0},  {0},{},{}}, //nach 23
                }
            }
        }
        
    };
}
CxVercility CxVercility

2018/1/20

#
ehh........... wtf
Super_Hippo Super_Hippo

2018/1/20

#
You can ignore that it is in a class. I guess Java doesn't like it when the variable gets too huge... Half of it (like this) works, but not with the other half.
CxVercility CxVercility

2018/1/20

#
Maybe Try replacing Parts with set Strings e.g sth like this
{{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},
with this
private final String x = "{{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},"
Super_Hippo Super_Hippo

2018/1/20

#
So, an array of Strings with one String for each row... hm, that could work. But it would be quite a pain to read from it then.
CxVercility CxVercility

2018/1/20

#
Super_Hippo wrote...
So, an array of Strings with one String for each row... hm, that could work. But it would be quite a pain to read from it then.
Are you implying it isnt already? ahahah
danpost danpost

2018/1/20

#
CxVercility wrote...
Maybe Try replacing Parts with set Strings e.g sth like this
{{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},
with this
private final String x = "{{2,3,3,3,0},{},{2,2,2,2,3,3,3,0},"
If you are going to convert to string, you can condense it a well:
private final String x = "23330  22223330";
where a space (or any other separator) separates the sets (two consecutive separators means an empty set in between).
Super_Hippo Super_Hippo

2018/1/20

#
That looks quite good. So instead of "take element with index i" I have to count the spaces in the string then. This seems quite complicated and/or bad cpu-wise, but it could work. Hopefully I won't have any mistakes when I convert it because finding and correcting errors will be quite difficult. ;)
CxVercility CxVercility

2018/1/20

#
Super_Hippo wrote...
That looks quite good. So instead of "take element with index i" I have to count the spaces in the string then. This seems quite complicated and/or bad cpu-wise, but it could work. Hopefully I won't have any mistakes when I convert it because finding and correcting errors will be quite difficult. ;)
What do you mean? Its the same just that the commas are removed and Sets are seperated by Spaces instead of {} Honestly, im surprised anyone would ever do something this large/complicated in Greenfoot anyway
Super_Hippo Super_Hippo

2018/1/20

#
Yes, it's using less characters, so less memory --> more information before the error happens. But yes, finding the digit that I need right now is the same, either searching for spaces or {. That's me xD I am trying to extend my latest traffic simulation to work well with busses... without them, I "hard-coded" it... but with so many possibilities, it would be impossible. I guess I could theoretically also save the info in a txt file (or separate ones), but this could become even more complicated...
CxVercility CxVercility

2018/1/20

#
Super_Hippo wrote...
Yes, it's using less characters, so less memory --> more information before the error happens. But yes, finding the digit that I need right now is the same, either searching for spaces or {. That's me xD I am trying to extend my latest traffic simulation to work well with busses... without them, I "hard-coded" it... but with so many possibilities, it would be impossible. I guess I could theoretically also save the info in a txt file (or separate ones), but this could become even more complicated...
I guess its safe to say that whenever you get to the point where you feel you need to hardcode something you should rethink your program's design xd
There are more replies on the next page.
1
2