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

📄 sector2d.java

📁 一个用于排队系统仿真的开源软件,有非常形象的图象仿真过程!
💻 JAVA
字号:
/**    
  * Copyright (C) 2006, Laboratorio di Valutazione delle Prestazioni - Politecnico di Milano

  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.

  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.

  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
  
package jmt.engine.jaba;
import java.util.Vector;

/**
 * Created by IntelliJ IDEA.
 * User: PoliMi
 * Date: 26-lug-2005
 * Time: 11.15.55
 * To change this template use File | Settings | File Templates.
 */
public class Sector2D {

    private double beta1;
    private double beta11;
    private double beta2;
    private double beta22;
    private newPoint p1;
    private newPoint p2;
    private Vector vp;
    //private int[] stations;

    public Sector2D()
    {

    }

    public Sector2D(double b1,double b11, double b2, double b22, newPoint p1)
    {
        beta1=b1;
        beta11=b11;
        beta2=b2;
        beta22=b22;
        this.p1=p1;
        this.p2=new newPoint(-1,-1);
        vp=new Vector();
        //stations[0]=-1;

    }

    public Sector2D(double b1,double b11, double b2, double b22, newPoint p1, newPoint p2)
    {
        beta1=b1;
        beta11=b11;
        beta2=b2;
        beta22=b22;
        this.p1=p1;
        this.p2=p2;
        vp=new Vector();
        //stations[0]=-1;

    }

    public Sector2D(double b1,double b11, double b2, double b22, newPoint p1, newPoint p2, Vector vs)
    {
        beta1=b1;
        beta11=b11;
        beta2=b2;
        beta22=b22;
        this.p1=p1;
        this.p2=p2;
        // vs 

⌨️ 快捷键说明

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