public int reset() { word_num = 0; Z_ = cost_ = 0.0; BaseUtils.heap_reset(heap_queue); return(BaseUtils.RETURN_SUCCESS); }