fibonaccinode.java
来自「This code implements the shortest path a」· Java 代码 · 共 27 行
JAVA
27 行
public class FibonacciNode {
//fibonacci node structure
int dist;//distance from the source node
int count; //the No. of node
FibonacciNode FirstChild;
FibonacciNode LeftSibling;
FibonacciNode RightSibling;
FibonacciNode Parent;
int degree;
public boolean ChildCut;
public FibonacciNode(){}
public FibonacciNode(int d,int n){
dist=d;
count=n;
degree=0;
FirstChild=null;
LeftSibling=null;
RightSibling=null;
Parent=null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?