📄 tree.java
字号:
//Tree Node,store information about fitness and Root Node of An individualclass Tree { public TreeNode program; double standardizedFitness; double adjustedFitness; double normalizedFitness; int hits; Tree(TreeNode p) { program = (TreeNode)p.clone(); standardizedFitness = 0.0; adjustedFitness = 0.0; normalizedFitness = 0.0; hits = 0; } Tree copy() { Tree newInd = new Tree(this.program); newInd.standardizedFitness = this.standardizedFitness; newInd.adjustedFitness = this.adjustedFitness; newInd.normalizedFitness = this.normalizedFitness; newInd.hits = this.hits; return newInd; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -