📄 datapoints.html,v
字号:
head 1.2;access;symbols;locks; strict;comment @# @;1.2date 2005.06.30.21.42.36; author rirwin; state Exp;branches;next 1.1;1.1date 2005.06.05.06.30.51; author picone; state Exp;branches;next ;desc@updated links for the new CAVS web site.@1.2log@yyyy[Arecompiled javadoc.@text@<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.5.0_03) on Thu Jun 30 16:40:15 CDT 2005 --><TITLE>DataPoints</TITLE><META NAME="keywords" CONTENT="DataPoints class"><LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="DataPoints";}</SCRIPT><NOSCRIPT></NOSCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="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 CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="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="Covariance.html" title="class in <Unnamed>"><B>PREV CLASS</B></A> <A HREF="DecisionRegion.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?DataPoints.html" target="_top"><B>FRAMES</B></A> <A HREF="DataPoints.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | 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><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2>Class DataPoints</H2><PRE>java.lang.Object <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>DataPoints</B></PRE><HR><DL><DT><PRE>public class <B>DataPoints</B><DT>extends java.lang.Object</DL></PRE><P>class holds the input DataPoints classes that are to be classified as well as the classification algorithms needed to compute the decision regions<P><P><HR><P><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#addPoint(MyPoint)">addPoint</A></B>(MyPoint p)</CODE><BR> add a point to the data set that is determined by the index (setNum)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#clearAllSets()">clearAllSets</A></B>()</CODE><BR> clear out all point form the data sets</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.awt.Point</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#convertMyPoint(MyPoint, int, int, DisplayScale)">convertMyPoint</A></B>(MyPoint dpoint, int panelWidth, int panelHeight, DisplayScale scale)</CODE><BR> Converts an instance of MyPoint to an instance of Point</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Vector<java.awt.Point></CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#convertMyPoints(java.util.Vector, int, int, DisplayScale)">convertMyPoints</A></B>(java.util.Vector<MyPoint> dset, int panelWidth, int panelHeight, DisplayScale scale)</CODE><BR> Converts a Vector of MyPoints to a Vector of points that correspond to Java coordinates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static MyPoint</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#convertPoint(java.awt.Point, int, int, DisplayScale)">convertPoint</A></B>(java.awt.Point jpoint, int panelWidth, int panelHeight, DisplayScale scale)</CODE><BR> Converts an instance of Point to an instance of MyPoint containing the cartesian x-y values</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.util.Vector<MyPoint></CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#convertPoints(java.util.Vector, int, int, DisplayScale)">convertPoints</A></B>(java.util.Vector<java.awt.Point> jset, int panelWidth, int panelHeight, DisplayScale scale)</CODE><BR> Converts a vector of Points to a vector of MyPoints containing the cartesian x-y values</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#drawGaussian(double, double, DisplayScale)">drawGaussian</A></B>(double meanx, double meany, DisplayScale scale)</CODE><BR> Draws Gaussian distribution by calling setGaussian()</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#initialize()">initialize</A></B>()</CODE><BR> initializes dset1-dset4</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#isDataValid()">isDataValid</A></B>()</CODE><BR> method returns true if valid data is present else it returns false</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#setColors(java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)">setColors</A></B>(java.awt.Color color_dset1, java.awt.Color color_dset2, java.awt.Color color_dset3, java.awt.Color color_dset4)</CODE><BR> sets the gaussian values</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#setDrawGaussValues(int, double, double, double, double)">setDrawGaussValues</A></B>(int points, double cov11, double cov12, double cov21, double cov22)</CODE><BR> sets the gaussian values</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#setFourEllipses(DisplayScale)">setFourEllipses</A></B>(DisplayScale scale)</CODE><BR> create a set of point that correspond to four ellipses to be displayed on the input canvas</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#setFourGaussian(DisplayScale)">setFourGaussian</A></B>(DisplayScale scale)</CODE><BR> create a set of point that correspond to four gaussians to be displayed on the input canvas method: setFourGaussian</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="DataPoints.html#setGaussian(int, double, double, double, double, double, double, DisplayScale)">setGaussian</A></B>(int points, double meanx, double meany, double c11, double c12, double c21, double c22, DisplayScale scale)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -