⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 probabilitydistributions.html

📁 文件来自swarm.org
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:22 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  ProbabilityDistributionS</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../swarm/random/ProbabilityDistributionC.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/random/PSWBgen.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ProbabilityDistributionS.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.random</FONT><BR>Interface  ProbabilityDistributionS</H2><DL><DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../swarm/random/BernoulliDist.html">BernoulliDist</A>, <A HREF="../../swarm/random/BernoulliDistC.html">BernoulliDistC</A>, <A HREF="../../swarm/random/BernoulliDistS.html">BernoulliDistS</A>, <A HREF="../../swarm/random/BinomialDist.html">BinomialDist</A>, <A HREF="../../swarm/random/BinomialDistC.html">BinomialDistC</A>, <A HREF="../../swarm/random/BinomialDistS.html">BinomialDistS</A>, <A HREF="../../swarm/random/BooleanDistribution.html">BooleanDistribution</A>, <A HREF="../../swarm/random/BooleanDistributionC.html">BooleanDistributionC</A>, <A HREF="../../swarm/random/BooleanDistributionS.html">BooleanDistributionS</A>, <A HREF="../../swarm/random/DoubleDistribution.html">DoubleDistribution</A>, <A HREF="../../swarm/random/DoubleDistributionC.html">DoubleDistributionC</A>, <A HREF="../../swarm/random/DoubleDistributionS.html">DoubleDistributionS</A>, <A HREF="../../swarm/random/ExponentialDist.html">ExponentialDist</A>, <A HREF="../../swarm/random/ExponentialDistC.html">ExponentialDistC</A>, <A HREF="../../swarm/random/ExponentialDistS.html">ExponentialDistS</A>, <A HREF="../../swarm/random/GammaDist.html">GammaDist</A>, <A HREF="../../swarm/random/GammaDistC.html">GammaDistC</A>, <A HREF="../../swarm/random/GammaDistS.html">GammaDistS</A>, <A HREF="../../swarm/random/IntegerDistribution.html">IntegerDistribution</A>, <A HREF="../../swarm/random/IntegerDistributionC.html">IntegerDistributionC</A>, <A HREF="../../swarm/random/IntegerDistributionS.html">IntegerDistributionS</A>, <A HREF="../../swarm/random/LogNormalDist.html">LogNormalDist</A>, <A HREF="../../swarm/random/LogNormalDistC.html">LogNormalDistC</A>, <A HREF="../../swarm/random/LogNormalDistS.html">LogNormalDistS</A>, <A HREF="../../swarm/random/Normal.html">Normal</A>, <A HREF="../../swarm/random/NormalC.html">NormalC</A>, <A HREF="../../swarm/random/NormalDist.html">NormalDist</A>, <A HREF="../../swarm/random/NormalDistC.html">NormalDistC</A>, <A HREF="../../swarm/random/NormalDistS.html">NormalDistS</A>, <A HREF="../../swarm/random/NormalS.html">NormalS</A>, <A HREF="../../swarm/random/PoissonDist.html">PoissonDist</A>, <A HREF="../../swarm/random/PoissonDistC.html">PoissonDistC</A>, <A HREF="../../swarm/random/PoissonDistS.html">PoissonDistS</A>, <A HREF="../../swarm/random/RandomBitDist.html">RandomBitDist</A>, <A HREF="../../swarm/random/RandomBitDistC.html">RandomBitDistC</A>, <A HREF="../../swarm/random/RandomBitDistS.html">RandomBitDistS</A>, <A HREF="../../swarm/random/UniformDoubleDist.html">UniformDoubleDist</A>, <A HREF="../../swarm/random/UniformDoubleDistC.html">UniformDoubleDistC</A>, <A HREF="../../swarm/random/UniformDoubleDistS.html">UniformDoubleDistS</A>, <A HREF="../../swarm/random/UniformIntegerDist.html">UniformIntegerDist</A>, <A HREF="../../swarm/random/UniformIntegerDistC.html">UniformIntegerDistC</A>, <A HREF="../../swarm/random/UniformIntegerDistS.html">UniformIntegerDistS</A>, <A HREF="../../swarm/random/UniformUnsignedDist.html">UniformUnsignedDist</A>, <A HREF="../../swarm/random/UniformUnsignedDistC.html">UniformUnsignedDistC</A>, <A HREF="../../swarm/random/UniformUnsignedDistS.html">UniformUnsignedDistS</A>, <A HREF="../../swarm/random/UnsignedDistribution.html">UnsignedDistribution</A>, <A HREF="../../swarm/random/UnsignedDistributionC.html">UnsignedDistributionC</A>, <A HREF="../../swarm/random/UnsignedDistributionS.html">UnsignedDistributionS</A></DD></DL><HR><DL><DT>public interface <B>ProbabilityDistributionS</B><DT>extends <A HREF="../../swarm/objectbase/SwarmObjectS.html">SwarmObjectS</A>, <A HREF="../../swarm/random/InternalStateS.html">InternalStateS</A></DL><P><strong> Probability Distribution</strong>.A process for generating a sequence of random numbers matching the frequencies defined by a specific distribution function.  The process is driven by input from a supplied uniform random generator.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/random/ProbabilityDistributionS.html#reset()">reset</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The reset method resets the currentCount and other state data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/random/ProbabilityDistributionS.html#setGenerator(swarm.random.SimpleRandomGenerator)">setGenerator</A></B>(<A HREF="../../swarm/random/SimpleRandomGenerator.html">SimpleRandomGenerator</A>&nbsp;simpleGenerator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use this message if the generator to be attached is a Simple one:</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/random/ProbabilityDistributionS.html#setGenerator$setVirtualGenerator(swarm.random.SplitRandomGenerator, int)">setGenerator$setVirtualGenerator</A></B>(<A HREF="../../swarm/random/SplitRandomGenerator.html">SplitRandomGenerator</A>&nbsp;splitGenerator,                                 int&nbsp;vGen)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use this message if the generator to be attached is a Split one:</TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setGenerator(swarm.random.SimpleRandomGenerator)"><!-- --></A><H3>setGenerator</H3><PRE>public java.lang.Object <B>setGenerator</B>(<A HREF="../../swarm/random/SimpleRandomGenerator.html">SimpleRandomGenerator</A>&nbsp;simpleGenerator)</PRE><DL><DD>Use this message if the generator to be attached is a Simple one:<DD><DL></DL></DD></DL><HR><A NAME="setGenerator$setVirtualGenerator(swarm.random.SplitRandomGenerator, int)"><!-- --></A><H3>setGenerator$setVirtualGenerator</H3><PRE>public java.lang.Object <B>setGenerator$setVirtualGenerator</B>(<A HREF="../../swarm/random/SplitRandomGenerator.html">SplitRandomGenerator</A>&nbsp;splitGenerator,                                                         int&nbsp;vGen)</PRE><DL><DD>Use this message if the generator to be attached is a Split one:<DD><DL></DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public java.lang.Object <B>reset</B>()</PRE><DL><DD>The reset method resets the currentCount and other state data.<DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../swarm/random/ProbabilityDistributionC.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/random/PSWBgen.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ProbabilityDistributionS.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -