Skip to content
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

我真是无语了 #32

Open
HuntingBot opened this issue Jan 26, 2021 · 4 comments
Open

我真是无语了 #32

HuntingBot opened this issue Jan 26, 2021 · 4 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@HuntingBot
Copy link

HuntingBot commented Jan 26, 2021

{"config":{"width":6,"height":99,"period":5,"dx":0,"dy":0,"transform":"Id","symmetry":"D2Col","search_order":null,"new_state":"ChooseAlive","max_cell_count":null,"non_empty_front":true,"reduce_max":false,"rule_string":"B2n3/S23-q","diagonal_width":null,"skip_level":"SkipSubperiodSpaceship"},"conflicts":349090,"set_stack":[{"coord":[0,0,0],"state":0,"reason":"Deduce"}, {"coord":[0,0,1],"state":0,"reason":"Deduce"}, {"coord":[0,0,2],"state":0,"reason":"Deduce"}, {"coord":[0,0,3],"state":0,"reason":"Deduce"}, {"coord":[0,0,4],"state":0,"reason":"Deduce"}, {"coord":[1,0,0],"state":0,"reason":"Deduce"}, {"coord":[1,0,1],"state":0,"reason":"Deduce"}, {"coord":[1,0,2],"state":0,"reason":"Deduce"}, {"coord":[1,0,3],"state":0,"reason":"Deduce"}, {"coord":[1,0,4],"state":0,"reason":"Deduce"}, {"coord":[2,0,0],"state":1,"reason":"Deduce"}, {"coord":[2,0,1],"state":0,"reason":"Deduce"}, {"coord":[2,0,2],"state":0,"reason":"Deduce"}, {"coord":[2,0,3],"state":0,"reason":"Deduce"}, {"coord":[2,0,4],"state":0,"reason":"Deduce"}, {"coord":[3,0,0],"state":1,"reason":"Deduce"}, {"coord":[3,0,1],"state":0,"reason":"Deduce"}, {"coord":[3,0,2],"state":0,"reason":"Deduce"}, {"coord":[3,0,3],"state":0,"reason":"Deduce"}, {"coord":[3,0,4],"state":0,"reason":"Deduce"}, {"coord":[4,0,0],"state":0,"reason":"Deduce"}, {"coord":[4,0,1],"state":0,"reason":"Deduce"}, {"coord":[4,0,2],"state":0,"reason":"Deduce"}, {"coord":[4,0,3],"state":0,"reason":"Deduce"}, {"coord":[4,0,4],"state":0,"reason":"Deduce"}, {"coord":[5,0,0],"state":0,"reason":"Deduce"}, {"coord":[5,0,1],"state":0,"reason":"Deduce"}, {"coord":[5,0,2],"state":0,"reason":"Deduce"}, {"coord":[5,0,3],"state":0,"reason":"Deduce"}, {"coord":[5,0,4],"state":0,"reason":"Deduce"}],"check_index":2848}

这个搜索会有奇怪的事情发生。

@HuntingBot
Copy link
Author

@AlephAlpha

@AlephAlpha
Copy link
Owner

手动修改存档文件的话 check_index 最好设为 0,不然它会假设前面很大一块都已经搜过了。

@AlephAlpha
Copy link
Owner

AlephAlpha commented Jan 26, 2021

我有计划添加在开始搜索时指定已知细胞的功能……不过最近比较忙,可能要等到春节了。

目前确实可以通过手动修改存档文件达到这一效果;此时细胞的 "reason" 要设为 "Deduce","check_index" 要设为0,而且不保证没有 bug。

"conflicts" 是为了统计搜索过程中的冲突数,不过网页版不显示这一数值。如果想要得到准确的数值,这个数也可以设为0,不过对搜索过程没有影响。

@AlephAlpha
Copy link
Owner

AlephAlpha commented Jan 26, 2021

有兴趣的话可以看rlifesrc库的文档:https://alephalpha.github.io/rlifesrc-doc/rlifesrc_lib/
(国内镜像:https://alephalpha.gitee.io/rlifesrc-doc/rlifesrc_lib/

这个是开发用的文档,把不公开的函数也包含在里边了。

关于存档功能,主要见 https://alephalpha.github.io/rlifesrc-doc/rlifesrc_lib/save/struct.WorldSer.html
(国内镜像:把github换成gitee即可,下同)

关于存档里每个细胞的信息,则见 https://alephalpha.github.io/rlifesrc-doc/rlifesrc_lib/save/struct.SetCellSer.html 里边各个 Field 的类型还可以点进去,有进一步的信息。

文档里有一点没说清楚:Reason 那里的 TryAnother 选项是给 Generations 规则用的。只有两个状态的规则,一个状态不对就可以 Deduce 成另一个状态了。

@AlephAlpha AlephAlpha added bug Something isn't working wontfix This will not be worked on labels Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants