GrammarArc[] nextNodes = node.getSuccessors();
nextNodes = filter(nextNodes, nextBaseID);
SearchStateArc[] nextArcs = new SearchStateArc[nextNodes.length];
for (int i = 0; i < nextNodes.length; i++) {
GrammarArc arc = nextNodes[i];
nextArcs[i] = new GrammarState(arc.getGrammarNode(), arc
.getProbability(), lc, nextBaseID);
}
return nextArcs;
}