?? binomialdistcimpl.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: Class BinomialDistCImpl</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../swarm/random/BernoulliDistImpl.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/random/BinomialDistImpl.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> <A HREF="BinomialDistCImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_swarm.PhaseCImpl">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>Class BinomialDistCImpl</H2><PRE>java.lang.Object | +--<A HREF="../../swarm/BaseImpl.html">swarm.BaseImpl</A> | +--<A HREF="../../swarm/PhaseCImpl.html">swarm.PhaseCImpl</A> | +--<B>swarm.random.BinomialDistCImpl</B></PRE><HR><DL><DT>public class <B>BinomialDistCImpl</B><DT>extends <A HREF="../../swarm/PhaseCImpl.html">PhaseCImpl</A><DT>implements <A HREF="../../swarm/random/UnsignedDistributionC.html">UnsignedDistributionC</A>, <A HREF="../../swarm/random/UnsignedDistributionS.html">UnsignedDistributionS</A>, <A HREF="../../swarm/random/BinomialDistS.html">BinomialDistS</A>, <A HREF="../../swarm/random/BinomialDistC.html">BinomialDistC</A></DL><P><strong> Binomial distribution</strong>.The binomial distribution gives the discrete probability of obtaining exactly n successes out of N Bernoulli trials<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_swarm.PhaseCImpl"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class swarm.<A HREF="../../swarm/PhaseCImpl.html">PhaseCImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/PhaseCImpl.html#nextPhase">nextPhase</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/random/BinomialDistCImpl.html#BinomialDistCImpl()">BinomialDistCImpl</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/random/BinomialDistCImpl.html#BinomialDistCImpl(swarm.random.BinomialDist)">BinomialDistCImpl</A></B>(<A HREF="../../swarm/random/BinomialDist.html">BinomialDist</A> nextPhase)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="methods_implemented_from_interfaces_swarm.random.BinomialDistS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.random.<A HREF="../../swarm/random/BinomialDistS.html">BinomialDistS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/random/BinomialDistS.html#setNumTrials(int)">setNumTrials</A>, <A HREF="../../swarm/random/BinomialDistS.html#setNumTrials$setProbability(int, double)">setNumTrials$setProbability</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.random.BinomialDistC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.random.<A HREF="../../swarm/random/BinomialDistC.html">BinomialDistC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/random/BinomialDistC.html#create$setGenerator(swarm.defobj.Zone, swarm.random.SimpleRandomGenerator)">create$setGenerator</A>, <A HREF="../../swarm/random/BinomialDistC.html#create$setGenerator$setNumTrials$setProbability(swarm.defobj.Zone, swarm.random.SimpleRandomGenerator, int, double)">create$setGenerator$setNumTrials$setProbability</A>, <A HREF="../../swarm/random/BinomialDistC.html#create$setGenerator$setVirtualGenerator(swarm.defobj.Zone, swarm.random.SplitRandomGenerator, int)">create$setGenerator$setVirtualGenerator</A>, <A HREF="../../swarm/random/BinomialDistC.html#create$setGenerator$setVirtualGenerator$setNumTrials$setProbability(swarm.defobj.Zone, swarm.random.SplitRandomGenerator, int, int, double)">create$setGenerator$setVirtualGenerator$setNumTrials$setProbability</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.random.ProbabilityDistributionC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.random.<A HREF="../../swarm/random/ProbabilityDistributionC.html">ProbabilityDistributionC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/random/ProbabilityDistributionC.html#create$setGenerator(swarm.defobj.Zone, swarm.random.SimpleRandomGenerator)">create$setGenerator</A>, <A HREF="../../swarm/random/ProbabilityDistributionC.html#create$setGenerator$setVirtualGenerator(swarm.defobj.Zone, swarm.random.SplitRandomGenerator, int)">create$setGenerator$setVirtualGenerator</A>, <A HREF="../../swarm/random/ProbabilityDistributionC.html#createWithDefaults(swarm.defobj.Zone)">createWithDefaults</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.random.ProbabilityDistributionS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.random.<A HREF="../../swarm/random/ProbabilityDistributionS.html">ProbabilityDistributionS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/random/ProbabilityDistributionS.html#reset()">reset</A>, <A HREF="../../swarm/random/ProbabilityDistributionS.html#setGenerator(swarm.random.SimpleRandomGenerator)">setGenerator</A>, <A HREF="../../swarm/random/ProbabilityDistributionS.html#setGenerator$setVirtualGenerator(swarm.random.SplitRandomGenerator, int)">setGenerator$setVirtualGenerator</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.defobj.CreateC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.defobj.<A HREF="../../swarm/defobj/CreateC.html">CreateC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/CreateC.html#create(swarm.defobj.Zone)">create</A>, <A HREF="../../swarm/defobj/CreateC.html#createBegin(swarm.defobj.Zone)">createBegin</A>, <A HREF="../../swarm/defobj/CreateC.html#createEnd()">createEnd</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.defobj.CustomizeC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.defobj.<A HREF="../../swarm/defobj/CustomizeC.html">CustomizeC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/CustomizeC.html#customizeBegin(java.lang.Object)">customizeBegin</A>, <A HREF="../../swarm/defobj/CustomizeC.html#customizeCopy(java.lang.Object)">customizeCopy</A>, <A HREF="../../swarm/defobj/CustomizeC.html#customizeEnd()">customizeEnd</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.PhaseCImpl"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class swarm.<A HREF="../../swarm/PhaseCImpl.html">PhaseCImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/PhaseCImpl.html#_copy_creating_phase_to_using_phase()">_copy_creating_phase_to_using_phase</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BinomialDistCImpl(swarm.random.BinomialDist)"><!-- --></A><H3>BinomialDistCImpl</H3><PRE>public <B>BinomialDistCImpl</B>(<A HREF="../../swarm/random/BinomialDist.html">BinomialDist</A> nextPhase)</PRE><DL></DL><HR><A NAME="BinomialDistCImpl()"><!-- --></A><H3>BinomialDistCImpl</H3><PRE>public <B>BinomialDistCImpl</B>()</PRE><DL></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../swarm/random/BernoulliDistImpl.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/random/BinomialDistImpl.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> <A HREF="BinomialDistCImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_swarm.PhaseCImpl">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -