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

📄 pointertoheap.java

📁 This code implements the shortest path algorithm via the simple scheme and fibonacci heap data struc
💻 JAVA
字号:


public class PointerToHeap {
	// pointer from a fibonacci node to a distance value of the graph
	private int dist;
	private FibonacciNode Pointer;
	
	public PointerToHeap(){
		this.dist=0;
		this.Pointer=null;
	}
	
	public PointerToHeap(int d,FibonacciNode P){
		dist=d;
		Pointer=P;
	}
	public int getDist(){
		return this.dist;
	}
	
	public FibonacciNode getPointer(){
		return this.Pointer;
	}
	
	public void setDist(int dist){
		this.dist=dist;
	}
	public void setPointer(FibonacciNode Pointer){
		this.Pointer=Pointer;
	}
}

⌨️ 快捷键说明

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