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

📄 ezdistribution.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:20 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  EZDistribution</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/analysis/EZBinS.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/analysis/EZDistributionC.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="EZDistribution.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.analysis</FONT><BR>Interface  EZDistribution</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/analysis/EZDistributionImpl.html">EZDistributionImpl</A></DD></DL><HR><DL><DT>public interface <B>EZDistribution</B><DT>extends <A HREF="../../swarm/analysis/EZBin.html">EZBin</A>, <A HREF="../../swarm/analysis/EZBinS.html">EZBinS</A></DL><P><strong> An EZBin that treats data as a distribution.</strong>.This is a subclass of EZBin which normalizes the data and treats it as a distribution. This means that in addition to the statistics it can calculate by virtue of being a subclass of EZBin, it can also calculate the entropy of the distribution as well as return the probabilities associated with the individual bins.<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;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZDistribution.html#getEntropy()">getEntropy</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The getEntropy method returns the entropy of the distribution as calculated in the previous call to update.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZDistribution.html#output()">output</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The output method causes the graphical display to be updated with the  information extracted by the previous call to update.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZDistribution.html#update()">update</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The update method polls the bins and updates the entropy of the  distribution as well as the probabilities associated with the individual  bins.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.analysis.EZBin"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.analysis.<A HREF="../../swarm/analysis/EZBin.html">EZBin</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/analysis/EZBin.html#getAverage()">getAverage</A>, <A HREF="../../swarm/analysis/EZBin.html#getBinColorCount()">getBinColorCount</A>, <A HREF="../../swarm/analysis/EZBin.html#getBinCount()">getBinCount</A>, <A HREF="../../swarm/analysis/EZBin.html#getCount()">getCount</A>, <A HREF="../../swarm/analysis/EZBin.html#getFileName()">getFileName</A>, <A HREF="../../swarm/analysis/EZBin.html#getHistogram()">getHistogram</A>, <A HREF="../../swarm/analysis/EZBin.html#getLowerBound()">getLowerBound</A>, <A HREF="../../swarm/analysis/EZBin.html#getMax()">getMax</A>, <A HREF="../../swarm/analysis/EZBin.html#getMin()">getMin</A>, <A HREF="../../swarm/analysis/EZBin.html#getOutliers()">getOutliers</A>, <A HREF="../../swarm/analysis/EZBin.html#getStdDev()">getStdDev</A>, <A HREF="../../swarm/analysis/EZBin.html#getTitle()">getTitle</A>, <A HREF="../../swarm/analysis/EZBin.html#getUpperBound()">getUpperBound</A>, <A HREF="../../swarm/analysis/EZBin.html#outputGraph()">outputGraph</A>, <A HREF="../../swarm/analysis/EZBin.html#outputToFile()">outputToFile</A>, <A HREF="../../swarm/analysis/EZBin.html#reset()">reset</A>, <A HREF="../../swarm/analysis/EZBin.html#setPrecision(int)">setPrecision</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.objectbase.SwarmObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.objectbase.<A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/objectbase/SwarmObject.html#getCompleteProbeMap()">getCompleteProbeMap</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForMessage(java.lang.String)">getProbeForMessage</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForVariable(java.lang.String)">getProbeForVariable</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeMap()">getProbeMap</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.simtoolsgui.GUIComposite"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.simtoolsgui.<A HREF="../../swarm/simtoolsgui/GUIComposite.html">GUIComposite</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/simtoolsgui/GUIComposite.html#disableDestroyNotification()">disableDestroyNotification</A>, <A HREF="../../swarm/simtoolsgui/GUIComposite.html#enableDestroyNotification$notificationMethod(java.lang.Object, swarm.Selector)">enableDestroyNotification$notificationMethod</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.Drop"><!-- --></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/Drop.html">Drop</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/Drop.html#drop()">drop</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.DefinedObject"><!-- --></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/DefinedObject.html">DefinedObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/DefinedObject.html#compare(java.lang.Object)">compare</A>, <A HREF="../../swarm/defobj/DefinedObject.html#describe(java.lang.Object)">describe</A>, <A HREF="../../swarm/defobj/DefinedObject.html#describeID(java.lang.Object)">describeID</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getDisplayName()">getDisplayName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getTypeName()">getTypeName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getZone()">getZone</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform(swarm.Selector)">perform</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with(swarm.Selector, java.lang.Object)">perform$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with$with(swarm.Selector, java.lang.Object, java.lang.Object)">perform$with$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with$with$with(swarm.Selector, java.lang.Object, java.lang.Object, java.lang.Object)">perform$with$with$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#respondsTo(swarm.Selector)">respondsTo</A>, <A HREF="../../swarm/defobj/DefinedObject.html#setDisplayName(java.lang.String)">setDisplayName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xfprint()">xfprint</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xfprintid()">xfprintid</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xprint()">xprint</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xprintid()">xprintid</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.GetName"><!-- --></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/GetName.html">GetName</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/GetName.html#getName()">getName</A></CODE></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="update()"><!-- --></A><H3>update</H3><PRE>public void <B>update</B>()</PRE><DL><DD>The update method polls the bins and updates the entropy of the  distribution as well as the probabilities associated with the individual  bins.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../swarm/analysis/EZBin.html#update()">update</A> in interface <A HREF="../../swarm/analysis/EZBin.html">EZBin</A></DL></DD></DL><HR><A NAME="output()"><!-- --></A><H3>output</H3><PRE>public void <B>output</B>()</PRE><DL><DD>The output method causes the graphical display to be updated with the  information extracted by the previous call to update.  When file I/O is  enabled (the state of setFileOutput is set to 1), the probability associated with each bin is sent to the output file. When the graphical  display is enabled (the state of setGraphics is set to 1), the histogram  will be drawn.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../swarm/analysis/EZBin.html#output()">output</A> in interface <A HREF="../../swarm/analysis/EZBin.html">EZBin</A></DL></DD></DL><HR><A NAME="getEntropy()"><!-- --></A><H3>getEntropy</H3><PRE>public double <B>getEntropy</B>()</PRE><DL><DD>The getEntropy method returns the entropy of the distribution as calculated in the previous call to update.<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/analysis/EZBinS.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/analysis/EZDistributionC.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="EZDistribution.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 + -