コード例 #1
0
        /** Removes unpromising branches from the active list */
        protected void pruneBranches()
        {
            int startSize = activeList.size();

            pruneTimer.start();
            activeList        = pruner.prune(activeList);
            beamPruned.value += startSize - activeList.size();
            pruneTimer.stop();
        }
コード例 #2
0
 /** Removes unpromising branches from the active list */
 protected void pruneBranches()
 {
     pruneTimer.start();
     activeList = pruner.prune(activeList);
     pruneTimer.stop();
 }