📄 ezgraph.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 EZGraph</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/analysis/EZDistributionS.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/analysis/EZGraphC.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="EZGraph.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.analysis</FONT><BR>Interface EZGraph</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/analysis/EZGraphImpl.html">EZGraphImpl</A></DD></DL><HR><DL><DT>public interface <B>EZGraph</B><DT>extends <A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A>, <A HREF="../../swarm/objectbase/SwarmObjectS.html">SwarmObjectS</A>, <A HREF="../../swarm/simtoolsgui/GUIComposite.html">GUIComposite</A>, <A HREF="../../swarm/simtoolsgui/GUICompositeS.html">GUICompositeS</A></DL><P><strong> A class for easily create graphs.</strong>.This class allows the user to easily create graphs of various quantities in the model s/he is investigating. The user first creates the EZGraph, and then creates "Sequences"; (lines) which will appear in the graph. The sequences are generated based on data provided by a single object or a collection of target objects, in reponse to a specified selector. One of the features of the EZGraph is that it will automatically generate average, total, min, max and count sequences without the user having to mess with Averagers amd other low-level classes.<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> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createAverageSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createAverageSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createAverageSequence method takes a collection of objects and generates a sequence based on the average over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createCountSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createCountSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createCountSequence method takes a collection of objects and generates a sequence based on the count over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createMaxSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createMaxSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createMaxSequence method takes a collection of objects and generates a sequence based on the maximums over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createMinSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createMinSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createMinSequence method takes a collection of objects and generates a sequence based on the minimum over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createMovingAverageSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingAverageSequence$withFeedFrom$andSelector$andWidth</A></B>(java.lang.String aName, java.lang.Object aTarget, <A HREF="../../swarm/Selector.html">Selector</A> aSel, int width)</CODE><BR> The createMovingAverageSequence method takes a single object, or collection of objects and generates a sequence based on the average over the responses of the entire object set for a given width chunk of samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createMovingStdDevSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingStdDevSequence$withFeedFrom$andSelector$andWidth</A></B>(java.lang.String aName, java.lang.Object aTarget, <A HREF="../../swarm/Selector.html">Selector</A> aSel, int width)</CODE><BR> The createMovingStdDevSequence method takes a single object, or collection of objects and generates a sequence based on the variance over the responses of the entire object set for a given width chunk of samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createMovingVarianceSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)">createMovingVarianceSequence$withFeedFrom$andSelector$andWidth</A></B>(java.lang.String aName, java.lang.Object aTarget, <A HREF="../../swarm/Selector.html">Selector</A> aSel, int width)</CODE><BR> The createMovingVarianceSequence method takes a single object, or collection of objects and generates a sequence based on the variance over the responses of the entire object set for a given width chunk of samples.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZSequence.html">EZSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object anObj, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createSequence method creates a sequence in the EZGraph based on the return value provided by the object anObj when sent the selector aSel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createStdDevSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createStdDevSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createStdDevSequence method takes a collection of objects and generates a sequence based on the sample variance over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createTotalSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createTotalSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createTotalSequence method takes a collection of objects and generates a sequence based on the sum over the responses of the entire object set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#createVarianceSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)">createVarianceSequence$withFeedFrom$andSelector</A></B>(java.lang.String aName, java.lang.Object aCollection, <A HREF="../../swarm/Selector.html">Selector</A> aSel)</CODE><BR> The createVarianceSequence method takes a collection of objects and generates a sequence based on the sample variance over the responses of the entire object set.</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/analysis/EZGraph.html#dropSequence(java.lang.Object)">dropSequence</A></B>(java.lang.Object aSeq)</CODE><BR> The dropSequence method drops a data sequence (line on the graph), e.g.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#getFileName()">getFileName</A></B>()</CODE><BR> Return the file name prefix string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../swarm/gui/Graph.html">Graph</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#getGraph()">getGraph</A></B>()</CODE><BR> The getGraph method lets the user access the graph generated internally by the EZGraph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#getTitle()">getTitle</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -