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

📄 swarm.analysis.ezdistribution.protocol.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>EZDistribution</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="Analysis Library"HREF="swarm.analysis.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="EZBin"HREF="swarm.analysis.ezbin.protocol.html"><LINKREL="NEXT"TITLE="EZGraph"HREF="swarm.analysis.ezgraph.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.analysis.ezbin.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference IX. Analysis Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.analysis.ezgraph.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.PROTOCOL">EZDistribution</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN21954"></A><H2>Name</H2>EZDistribution&nbsp;--&nbsp; An EZBin that treats data as a distribution.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN21957"></A><H2>Description</H2><P> 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></DIV><DIVCLASS="REFSECT1"><ANAME="AEN21960"></A><H2>Protocols adopted by EZDistribution</H2><P> <AHREF="swarm.analysis.ezbin.protocol.html">EZBin</A> <AHREF="swarm.defobj.creatable.protocol.html">CREATABLE</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN21965"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN21967"></A><H3>Phase: Creating</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.METHOD.PC.M228"></A><P></P>- <BCLASS="FUNCPROTOTYPE">createEnd</B><BR><P></P></DIV></LI></UL></DIV><DIVCLASS="REFSECT2"><ANAME="AEN21978"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.METHOD.PU.M935"></A><P></P>- <BCLASS="FUNCPROTOTYPE">update</B><BR> The update method polls the bins and updates the entropy of the  distribution as well as the probabilities associated with the individual  bins.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.METHOD.PU.M589"></A><P></P>- <BCLASS="FUNCPROTOTYPE">output</B><BR> 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.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.METHOD.PU.M455"></A><P></P>- (double *)<BCLASS="FUNCPROTOTYPE">getProbabilities</B><BR> The getProbabilities method returns an array of doubles representing the probability of every bin in the distribution.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZDISTRIBUTION.METHOD.PU.M378"></A><P></P>- (double)<BCLASS="FUNCPROTOTYPE">getEntropy</B><BR> The getEntropy method returns the entropy of the distribution as calculated in the previous call to update.<P></P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.analysis.ezbin.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.analysis.ezgraph.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">EZBin</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.analysis.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">EZGraph</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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