xinyuell / dspfindseed Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sselecirpym/dysonsphereprogramseed
A program help you find seed.
License: GNU General Public License v3.0
This project forked from sselecirpym/dysonsphereprogramseed
A program help you find seed.
License: GNU General Public License v3.0
您好,我刚发现这工具。
可以多开来搜索效率真的好。可是好像不能像星图工具那样单独给恒星巨星上条件
比如有白巨星,黄巨星作为一个条件
其实我就是想找一找奇观区星种子。
将URandom1类的Next函数改为
public int Next()
{
if (++inext >= 56)
{
inext = 1;
}
if (++inextp >= 56)
{
inextp = 1;
}
int num = SeedArray[inext] - SeedArray[inextp];
if (num < 0)
{
num += 2147483647;//int.MaxValue
}
SeedArray[inext] = num;
if (num >= 1073742080)
{
if ((num - 1073742080) % 1024 == 0)
return num - 1;
}
else
{
for (int i = 0; i < 8; i++)
{
int d = 536871040 >> i;
int e = 1073741824 >> i;
if (num >= d)
{
if (num < e && (num - d) % (512 >> i) == 0)
return num - 1;
break;
}
}
}
return num;
}
即可
Next(int)和Next(int,int)暂无解决方案,不过本身误差较小。
在Compute Shader中实现Random,运行8,388,608个测试,每个测试调用6次Next,CPU使用原实现,结果无错误。
比较RTX2070-MaxQ i7-9750H, gpu上运行Random加速比可达3.5 12倍。
似乎是条件修改后生效问题,再测试中
RT,游戏本体近期有大更新导致前后种子不一致了
建议程序内置多线程
假如可以加上CUDA多线程(3090TI有10000多个流处理器)
1.六个可选的星球类型是有顺序的吗?比如我指定从左向右从上向下的第一个选项的类型而其他五个不做指定,条件会是“离恒星最近的行星必须是这个类型”吗?
2."是否写矿物数量"是什么意思?
头一次用Issues,不知道是否可以用作提问,也找不到其他联系作者的方式,如有不当之处还请告知m(_ _)m
我搜索很久都没有一个种子 就用一个确定有双气巨星的种子测试也是无法搜索出来 作者麻烦测试下63星01496426这个种子为确定有双气巨星
如题,现在的算法好像只会读取csv中的种子ID,如果先初筛然后二次搜索还是会遍历32~64恒星。可不可以在导入csv时直接读种子+恒星数?这样可以加快二次筛选的速度。
大佬加油,跟上新的版本。
感谢~以后不用一个一个试种子了
在写出某个种子详细的时候,存在樱林海。而当樱林海作为必要条件或仅列出条件时,搜不到任何种子满足该条件。
能加个自定义线程选项吗,感觉服务器128核心没怎么跑满
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.