gaft
gaft copied to clipboard
自定义Individual类
我的需求是:我想直接自定义chromsome,chromsome的每个元素是二值的(0或1)。请问init、decode、encode这三个方法应该怎么写?