public static void beam_search( Intarray vertices1, Intarray vertices2, Intarray inputs, Intarray outputs, Floatarray costs, OcroFST fst1, OcroFST fst2, int beam_width) { BeamSearch b = new BeamSearch(fst1, fst2, beam_width); //CHECK(L_SIGMA < L_EPSILON); //CHECK(L_RHO < L_PHI); //CHECK(L_PHI < L_EPSILON); //CHECK(L_EPSILON < 1); fst1.SortByOutput(); fst2.SortByInput(); b.BestPath(vertices1, vertices2, inputs, outputs, costs); }