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

📄 edge.java

📁 toocom源代码,主要应用在本体匹配方面!
💻 JAVA
字号:
package toocom.ocgl;

/**
 * This class represents a simple edge in a graph. It is used by the class GraphDrawing. The
 * attributes are the first and the second node (from and to), represented by numbers as an
 * optimization (those numbers correspond to a place in a Nodes vector). The last attribute
 * is the length of the edge, in pixels.
 * @author Nicolas Roy
 * @author Matthieu Legall
 * @author Dounia K閐a
 */
public class Edge {
    
    public int from;
    public int to;
	public int len;

	public Edge(int f, int t, int l){
		this.from = f;
		this.to = t;
		this.len = l;
	}

	public void setLength(int l){
		this.len = l;
	}
}

⌨️ 快捷键说明

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