-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有时候搜索结果里会出现问号 #19
Comments
哇!你是手动修改了 为什么我导入这个报的错是 “Unable to set cell at (8, 0, 0)”?(好像是因为宽度不够。) 导入存档时只检查了基本的格式,没检查别的东西。可能会顺利导入符合格式但不正确的存档,从而导致搜出错误的结果。 可能会改。尤其是
|
是的。 原贴已编辑。当时是把出现问题的
这个“基本的格式”包括一个细胞不能其中一些代有问号,另一些代没有?这不是一个很好的决定。
原来如此。我觉得应该有一个 save.json 说明书。或者直接像 WLS 一样,通过图形界面设置。 2020年年底的时候我考虑了一个倒T型搜法(先搜出一个细长的 partial,再用一个宽的部件来完成它 ),以寻找一个正交方向c/7的飞船。如果这个问号问题解决的话,就可以使用这个搜法了。 当前我没有时间测试,但是我注意到一些把 rlifesrc 当做 WLS 使用可能遇到的问题:
|
第一点和第二点其实是同一个问题…… 说说算法的一点细节: 在创造世界时,rlifesrc 会创造一个叫 这个 修改好的版本在 dev branch。 |
关于这个问题,我想更进一步,一个细胞一个细胞地指定搜索顺序。这个顺序甚至不一定要覆盖整个搜索范围,比如说对于对称的图样它可以只涉及一半的细胞。 在rlifesrc-lib中应该不难做到,问题在于命令行版和网页版如何输入这个搜索顺序……暂时想不到合适的交互方式……
目前跳过的是空白的图样,以及(仅对于振荡子)实际周期小于指定周期的图样。 要跳过更多“无聊”的结果,速度也会相应地减慢。可能提供一个选项会比较好,比如说 Level 0 只跳过空白的图样和(周期不为1时)静物,Level 1 跳过周期小于指定周期的振荡子,Level 2 跳过周期小于指定周期的飞船,Level 3 跳过 Transformation 不是 Id 时的对称结果…… 这个选项叫什么名字好?最好各个 Level 也有不同的名字。 |
可以用类似 dr 的命名。skipstable, skipsubp, skipsym…… |
在做了。求一个方便测试 skipsym 的例子。 |
@AlephAlpha 大多数搜索都可以测试 skipsym 啊,比如 glide-symmetric 的 p4(Period 应该是设成2?) |
但对于生命游戏来说,glide-symmetric 的 p4 比对称的 p2 常见得多…… 最终用 turtle 测了。这个范围一个 glide-symmetric 的 p6 都没有。
|
@AlephAlpha 有时候我访问不了 github.io。能做一个镜像吗?
…------------------ 原始邮件 ------------------
发件人: "AlephAlpha"<[email protected]>;
发送时间: 2021年1月20日(星期三) 晚上10:36
收件人: "AlephAlpha/rlifesrc"<[email protected]>;
抄送: "Ultimium"<[email protected]>; "Author"<[email protected]>;
主题: Re: [AlephAlpha/rlifesrc] 有时候搜索结果里会出现问号 (#19)
@AlephAlpha 大多数搜索都可以测试 skipsym 啊,比如 glide-symmetric 的 p4(Period 应该是设成2?)
但对于生命游戏来说,glide-symmetric 的 p4 比对称的 p2 常见得多……
最终用 turtle 测了。
还在 dev branch,网页版还没更新。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
你电脑上有 git 和 python 吗?
然后在浏览器打开 http://0.0.0.0:8000/rlifesrc/ 。 |
在 Gitee 上弄了个镜像:https://alephalpha.gitee.io/rlifesrc/ 暂时不会同步更新。 |
初步支持了一个细胞一个细胞地指定搜索顺序。目前还没有找到合适的交互方式,只能通过修改存档文件……比如说: {"config":{"width":16,"height":16,"period":1,"dx":0,"dy":0,"transform":"Id","symmetry":"C1","search_order":{"FromVec":[[0,0,0],[1,0,0],[1,1,0],[0,1,0],[0,2,0],[0,3,0],[1,3,0],[1,2,0],[2,2,0],[2,3,0],[3,3,0],[3,2,0],[3,1,0],[2,1,0],[2,0,0],[3,0,0],[4,0,0],[4,1,0],[5,1,0],[5,0,0],[6,0,0],[7,0,0],[7,1,0],[6,1,0],[6,2,0],[7,2,0],[7,3,0],[6,3,0],[5,3,0],[5,2,0],[4,2,0],[4,3,0],[4,4,0],[4,5,0],[5,5,0],[5,4,0],[6,4,0],[7,4,0],[7,5,0],[6,5,0],[6,6,0],[7,6,0],[7,7,0],[6,7,0],[5,7,0],[5,6,0],[4,6,0],[4,7,0],[3,7,0],[2,7,0],[2,6,0],[3,6,0],[3,5,0],[3,4,0],[2,4,0],[2,5,0],[1,5,0],[1,4,0],[0,4,0],[0,5,0],[0,6,0],[1,6,0],[1,7,0],[0,7,0],[0,8,0],[0,9,0],[1,9,0],[1,8,0],[2,8,0],[3,8,0],[3,9,0],[2,9,0],[2,10,0],[3,10,0],[3,11,0],[2,11,0],[1,11,0],[1,10,0],[0,10,0],[0,11,0],[0,12,0],[1,12,0],[1,13,0],[0,13,0],[0,14,0],[0,15,0],[1,15,0],[1,14,0],[2,14,0],[2,15,0],[3,15,0],[3,14,0],[3,13,0],[2,13,0],[2,12,0],[3,12,0],[4,12,0],[5,12,0],[5,13,0],[4,13,0],[4,14,0],[4,15,0],[5,15,0],[5,14,0],[6,14,0],[6,15,0],[7,15,0],[7,14,0],[7,13,0],[6,13,0],[6,12,0],[7,12,0],[7,11,0],[7,10,0],[6,10,0],[6,11,0],[5,11,0],[4,11,0],[4,10,0],[5,10,0],[5,9,0],[4,9,0],[4,8,0],[5,8,0],[6,8,0],[6,9,0],[7,9,0],[7,8,0],[8,8,0],[8,9,0],[9,9,0],[9,8,0],[10,8,0],[11,8,0],[11,9,0],[10,9,0],[10,10,0],[11,10,0],[11,11,0],[10,11,0],[9,11,0],[9,10,0],[8,10,0],[8,11,0],[8,12,0],[9,12,0],[9,13,0],[8,13,0],[8,14,0],[8,15,0],[9,15,0],[9,14,0],[10,14,0],[10,15,0],[11,15,0],[11,14,0],[11,13,0],[10,13,0],[10,12,0],[11,12,0],[12,12,0],[13,12,0],[13,13,0],[12,13,0],[12,14,0],[12,15,0],[13,15,0],[13,14,0],[14,14,0],[14,15,0],[15,15,0],[15,14,0],[15,13,0],[14,13,0],[14,12,0],[15,12,0],[15,11,0],[15,10,0],[14,10,0],[14,11,0],[13,11,0],[12,11,0],[12,10,0],[13,10,0],[13,9,0],[12,9,0],[12,8,0],[13,8,0],[14,8,0],[14,9,0],[15,9,0],[15,8,0],[15,7,0],[14,7,0],[14,6,0],[15,6,0],[15,5,0],[15,4,0],[14,4,0],[14,5,0],[13,5,0],[13,4,0],[12,4,0],[12,5,0],[12,6,0],[13,6,0],[13,7,0],[12,7,0],[11,7,0],[11,6,0],[10,6,0],[10,7,0],[9,7,0],[8,7,0],[8,6,0],[9,6,0],[9,5,0],[8,5,0],[8,4,0],[9,4,0],[10,4,0],[10,5,0],[11,5,0],[11,4,0],[11,3,0],[11,2,0],[10,2,0],[10,3,0],[9,3,0],[8,3,0],[8,2,0],[9,2,0],[9,1,0],[8,1,0],[8,0,0],[9,0,0],[10,0,0],[10,1,0],[11,1,0],[11,0,0],[12,0,0],[13,0,0],[13,1,0],[12,1,0],[12,2,0],[12,3,0],[13,3,0],[13,2,0],[14,2,0],[14,3,0],[15,3,0],[15,2,0],[15,1,0],[14,1,0],[14,0,0],[15,0,0]]},"new_state":"ChooseAlive","max_cell_count":null,"reduce_max":false,"rule_string":"B3/S23","diagonal_width":null,"skip_level":"SkipSubperiodSpaceship"},"conflicts":0,"set_stack":[],"check_index":0} 必须不重不漏。周期大于1时每个周期都必须指定到。不然我也不知道会搜出什么奇怪的东西。 |
删掉了 SkipLevel,换成了两个互相独立的选项:Skip Subperiod 和 Skip Subsymmetry。后者的含义也改为跳过比指定的对称性更加对称的图样,比如说要求搜 C1 时不会搜到 C2,而完全不管指定的 Transformation 是怎样。 默认会跳过 Subperiod,但不会跳过 Subsymmetry。 |
@AlephAlpha 这个 search_order 还能用吗? 把下面这个 save 导入 rlifesrc:
结果并没有从 29 行开始搜,而是开始按列搜。 |
grass,我好像把行号和列号搞反了…… |
最近除了偶尔升级一下依赖包,我都不怎么维护 rlifesrc 了。已有的功能……应该不会自己坏掉吧? |
别……目前除了 rlifesrc 似乎没有什么别的 INT 搜索工具了。也许我应该自己进行一些修改?但是我现在完全看不懂这个东西的结构(文件有点多。。)另外 Rust 程序的测试似乎也比较麻烦? |
太久没维护,我自己也看不太懂了……
不算网页版的话,测试不算太麻烦, |
比如:
(还是说Deduce不能这样用?)
另外,如果把以上的new_state改为Alive或Dead,就会提示broken。在什么情况下才会提示broken?
The text was updated successfully, but these errors were encountered: