📄 swarm.random.scggen.protocol.html
字号:
<HTML><HEAD><TITLE>SCGgen</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Random Library"HREF="swarm.random.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="RandomBitDist"HREF="swarm.random.randombitdist.protocol.html"><LINKREL="NEXT"TITLE="SWB1gen"HREF="swarm.random.swb1gen.protocol.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.random.randombitdist.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference V. Random Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.random.swb1gen.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.RANDOM.SCGGEN.PROTOCOL">SCGgen</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN14586"></A><H2>Name</H2>SCGgen -- Subtractive Congruential Generator</DIV><DIVCLASS="REFSECT1"><ANAME="AEN14589"></A><H2>Description</H2><P> SCG is in the Lagged Fibonacci class of generators. These generators use a basic algorithm of the form X_n = f(X_(n-r),X_(n-s)) mod m; r>s The function f is typically xor, addition, subtraction, multiplication or subtraction with carry. It uses simpler math than a basic LCG, but keeps a larger state.</P><P> NOT recommended for serious use; these are included for historical reasons (compatibility with earlier releases).</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN14593"></A><H2>Protocols adopted by SCGgen</H2><P> <AHREF="swarm.random.simplerandomgenerator.protocol.html">SimpleRandomGenerator</A> <AHREF="swarm.defobj.creatable.protocol.html">CREATABLE</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN14598"></A><H2>Methods</H2><P>None</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.random.randombitdist.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.random.swb1gen.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">RandomBitDist</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.random.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">SWB1gen</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -