2022-01-31 12:58:19 +00:00
|
|
|
package love.distributedrebirth.numberxd;
|
|
|
|
|
2022-02-04 17:00:03 +00:00
|
|
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
|
|
|
|
|
|
|
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
|
|
|
public class GroßGetậlŌṁDiamond1ⁿᴰ extends AbstractGroßGetậlŌṁ1ⁿᴰ<GroßGetậlŌṁDiamond1ⁿᴰ> {
|
2022-01-31 12:58:19 +00:00
|
|
|
|
2022-02-04 19:01:05 +00:00
|
|
|
// 1th = 1 * V144Tocta (1)
|
|
|
|
// 2th = 1+3 * V144Tocta (4)
|
|
|
|
// 3th = 1+3+6 * V144Tocta (10)
|
|
|
|
// 4th = 1+3+6+14 * V144Tocta (24)
|
2022-01-31 12:58:19 +00:00
|
|
|
// etc
|
|
|
|
|
2022-02-04 19:01:05 +00:00
|
|
|
public GroßGetậlŌṁDiamond1ⁿᴰ(int level) {
|
2022-01-31 12:58:19 +00:00
|
|
|
super(level);
|
|
|
|
}
|
|
|
|
|
2022-02-04 19:01:05 +00:00
|
|
|
public GroßGetậlŌṁDiamond1ⁿᴰ(int level, BaseIteratorOctal values) {
|
2022-02-04 17:00:03 +00:00
|
|
|
super(level, values);
|
|
|
|
}
|
|
|
|
|
2022-02-04 19:01:05 +00:00
|
|
|
protected int resolveFractalLevel(int n) {
|
|
|
|
if (n == 1) {
|
|
|
|
return 1;
|
|
|
|
} else {
|
|
|
|
int result = 1 + n * resolveFractalLevel(n - 1);
|
|
|
|
return result;
|
|
|
|
}
|
2022-01-31 12:58:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2022-02-04 21:44:11 +00:00
|
|
|
public GroßGetậlŌṁDiamond1ⁿᴰ toClone(BaseIteratorOctal values) {
|
|
|
|
return new GroßGetậlŌṁDiamond1ⁿᴰ(getFractalLevel(), values);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BaseIteratorOctal iteratorOctalsByClone() {
|
2022-02-04 17:00:03 +00:00
|
|
|
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
|
2022-02-04 20:26:43 +00:00
|
|
|
for (int x=0;x<getMatrix1Length();x++) {
|
|
|
|
setMatrix1(x);
|
|
|
|
for (int y=0;y<getMatrix2Length();y++) {
|
|
|
|
setMatrix2(y);
|
2022-02-04 17:00:03 +00:00
|
|
|
cloneStack.addIterator(getValue().iteratorOctalsByClone());
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 21:44:11 +00:00
|
|
|
return cloneStack;
|
2022-01-31 12:58:19 +00:00
|
|
|
}
|
|
|
|
}
|