plotpoint.java
来自「Differential Evolution(JAVA)」· Java 代码 · 共 59 行
JAVA
59 行
/* A point in a plot.@Author: Edward A. Lee@Version: @(#)PlotPoint.java 1.10 02/08/98@Copyright (c) 1997-1998 The Regents of the University of California.All rights reserved.Permission is hereby granted, without written agreement and withoutlicense or royalty fees, to use, copy, modify, and distribute thissoftware and its documentation for any purpose, provided that theabove copyright notice and the following two paragraphs appear in allcopies of this software.IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTYFOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGESARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IFTHE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OFSUCH DAMAGE.THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWAREPROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OFCALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,ENHANCEMENTS, OR MODIFICATIONS. PT_COPYRIGHT_VERSION_2 COPYRIGHTENDKEY*/package DeApp1.ptplot;////////////////////////////////////////////////////////////////////////////// PlotPoint/** * A simple structure for storing a plot point. * @author Edward A. Lee * @version @(#)PlotPoint.java 1.10 02/08/98 */public class PlotPoint { ///////////////////////////////////////////////////////////////////////// //// public variables //// public double x,y; /** Error bar Y low value. */ public double yLowEB; /** Error bar Y low value. */ public double yHighEB; /** True if this point is connected to the previous point by a line. */ public boolean connected = false; /** True if the yLowEB and yHighEB fields are valid. */ public boolean errorBar = false;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?