if(noPrune==false && beamPruner!=null && beamPruner.relativeThresholdPrune(expectedTotalLogP)){//the hyperedge should be pruned
this.chart.nPreprunedEdges++;
res = null;
}else{
HyperEdge dt = new HyperEdge(rule, finalizedTotalLogP, transitionLogP, ants, srcPath);
res = new HGNode(i, j, rule.getLHS(), dpStates, dt, expectedTotalLogP);
/** each node has a list of hyperedges,
* need to check whether the node is already exist,
* if yes, just add the hyperedges, this may change the best logP of the node