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

📄 request.java

📁 发布/订阅系统路由重配算法,可应用于ad hoc环境
💻 JAVA
字号:
/* * project: RebecaSim * package: broker * file:    Request.java *  * version: 0.1 * date:    13.05.2005 *  * This software is part of the diploma thesis "Ein adaptives Brokernetz  * für Publish/Subscribe Systeme". */package com;import broker.Broker;/** * TODO Insert class description here. * * @version 13.05.2005 * @author  parzy */public class Request extends Message{		private Broker[] path;	private double[] costs;	public Request(Broker[] path, double[] costs) {		this(path, costs, Message.HEURISTIC);	}		public Request(Broker[] path, double[] costs, int type){		super(type);		this.path = path;		this.costs = costs;	}		/**	 * @return Returns the costs.	 */	public double[] getCosts() {		return costs;	}	/**	 * @param costs The costs to set.	 */	public void setCosts(double[] costs) {		this.costs = costs;	}	/**	 * @return Returns the path.	 */	public Broker[] getPath() {		return path;	}}

⌨️ 快捷键说明

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