📄 abssbilxgenerator.java
字号:
/** * Description: The description of generating operator guided by both * a state(from MA) and a state picked from stateset (from MS), which * is similiar to a crossover behavior * * @ Author Create/Modi Note * Xiaofeng Xie Apr 28, 2006 * Xiaofeng Xie Jul 14, 2006 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * Please acknowledge the author(s) if you use this code in any way. */package maosKernel.behavior.generate;import maosKernel.represent.*;import maosKernel.behavior.pick.*;public abstract class AbsSBILXGenerator extends AbsSBILGenerator { private AbsStatePicker statePicker = new RandStatePicker(); public void setStatePick(AbsStatePicker statePicker) { this.statePicker = statePicker; } protected boolean generateBehavior(EncodedState mgState, EncodedState maState, StateSet msState) { return sbilXBehavior(mgState, maState, statePicker.pickBehavior(msState)); } abstract protected boolean sbilXBehavior(EncodedState trailPoint, EncodedState basePoint, EncodedState referPoint);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -