找回密码
 注册
搜索
[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
楼主: 普大喜奔

[技术讨论] 细胞自动机Python脚本运行到最后都稳定在一个状态不变了,高手给看看算法对不对

[复制链接]
发表于 2014-10-1 11:49:37 | 显示全部楼层
本帖最后由 523066680 于 2014-10-1 18:23 编辑

回复 27# 普大喜奔


    :new gun:  An old name for the second known basic {gun} (found, like
   the first, by Bill Gosper), shown below.  A number of other ways of
   constructing a gun from two {twin bees shuttle}s have since been
   found - see {edge shooter} for one of these.

来源:
LIFE LEXICON
  Release 25, 2006 February 28
  ASCII version

INTRODUCTION
  This is a lexicon of terms relating to John Horton Conway's
Game of Life.  It is also available in single-page and multipage
HTML versions.
  This lexicon was compiled by Stephen A. Silver - see
below for additional credits.  I can be contacted at
life(at)argentum.freeserve.co.uk.
  The latest versions of this lexicon (both HTML and ASCII)
should be available from the Life Lexicon Home Page at
http://www.argentum.freeserve.co.uk/lex_home.htm
发表于 2014-10-1 16:31:19 | 显示全部楼层
回复 31# 523066680

链接地址多了个点号,   点击不开
发表于 2014-10-1 18:31:37 | 显示全部楼层
回复 30# 523066680


    手机上看的,忘了回
    ($ar, $br) = ($br, $ar); 是个好办法
    (@a[0..$#b], @b[0..$#a]) = (@b, @a); 就只能适用于元素个数相等的特殊情况了,感觉还不如用临时变量
发表于 2014-10-1 18:45:17 | 显示全部楼层
本帖最后由 523066680 于 2014-10-1 19:03 编辑

回复 33# CrLf

no, no, no  看我设定的下标
另,
    还有个方法,发到perl区了


看来已经回到老家了,还上论坛巡查,真敬业。
发表于 2014-10-1 21:44:55 | 显示全部楼层
回复 34# 523066680


    你猜错鸟,今年不回去~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|批处理之家 ( 渝ICP备10000708号 )

GMT+8, 2026-3-16 22:23 , Processed in 0.009900 second(s), 7 queries , File On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表