?? bernoullidistc.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 BernoulliDistC</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/BernoulliDist.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/random/BernoulliDistS.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="BernoulliDistC.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 BernoulliDistC</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/random/BernoulliDistCImpl.html">BernoulliDistCImpl</A></DD></DL><HR><DL><DT>public interface <B>BernoulliDistC</B><DT>extends <A HREF="../../swarm/random/BooleanDistributionC.html">BooleanDistributionC</A>, <A HREF="../../swarm/random/BooleanDistributionS.html">BooleanDistributionS</A></DL><P><strong> Bernoulli Distribution </strong>.A distribution returning YES with a given probability.<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> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/random/BernoulliDistC.html#create$setGenerator$setProbability(swarm.defobj.Zone, swarm.random.SimpleRandomGenerator, double)">create$setGenerator$setProbability</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, <A HREF="../../swarm/random/SimpleRandomGenerator.html">SimpleRandomGenerator</A> simpleGenerator, double p)</CODE><BR> Use this create 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> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/random/BernoulliDistC.html#create$setGenerator$setVirtualGenerator$setProbability(swarm.defobj.Zone, swarm.random.SplitRandomGenerator, int, double)">create$setGenerator$setVirtualGenerator$setProbability</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, <A HREF="../../swarm/random/SplitRandomGenerator.html">SplitRandomGenerator</A> splitGenerator, int vGen, double p)</CODE><BR> Use this create message if the generator to be attached is a Split one:</TD></TR></TABLE> <A NAME="methods_inherited_from_class_swarm.random.ProbabilityDistributionC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from 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_inherited_from_class_swarm.defobj.CreateC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from 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_inherited_from_class_swarm.defobj.CustomizeC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from 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> <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="create$setGenerator$setProbability(swarm.defobj.Zone, swarm.random.SimpleRandomGenerator, double)"><!-- --></A><H3>create$setGenerator$setProbability</H3><PRE>public java.lang.Object <B>create$setGenerator$setProbability</B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, <A HREF="../../swarm/random/SimpleRandomGenerator.html">SimpleRandomGenerator</A> simpleGenerator, double p)</PRE><DL><DD>Use this create message if the generator to be attached is a Simple one:<DD><DL></DL></DD></DL><HR><A NAME="create$setGenerator$setVirtualGenerator$setProbability(swarm.defobj.Zone, swarm.random.SplitRandomGenerator, int, double)"><!-- --></A><H3>create$setGenerator$setVirtualGenerator$setProbability</H3><PRE>public java.lang.Object <B>create$setGenerator$setVirtualGenerator$setProbability</B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A> aZone, <A HREF="../../swarm/random/SplitRandomGenerator.html">SplitRandomGenerator</A> splitGenerator, int vGen, double p)</PRE><DL><DD>Use this create message if the generator to be attached is a Split one:<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> </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/BernoulliDist.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/random/BernoulliDistS.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="BernoulliDistC.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -