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

📄 empiricalfunction.java

📁 传感器网络中的嵌入式操作系统源代码
💻 JAVA
字号:
// $Id: EmpiricalFunction.java,v 1.2.4.2 2003/08/21 01:15:17 cssharp Exp $package net.tinyos.plot;import java.util.Vector;import java.awt.*;public class EmpiricalFunction implements Function {    public Vector points = new Vector();    public String plotStyle = new String("lines");//lines, dots, both	public EmpiricalFunction() {	}		public double f(double x) {		return Double.NaN;	}      public class PlotPoint{          double x;          double y;          double radius;          int timeout;          Color color;          String label;          public PlotPoint(double x, double y, double radius, int timeout, Color color, String label){              this.x=x;              this.y=y;              this.radius=radius;              this.timeout=timeout;              this.color=color;              this.label=label;          }          public boolean equals(PlotPoint p){              return (x==p.x && y==p.y);          }      }}

⌨️ 快捷键说明

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