455{
456
457
458 std::vector<int> start_indices;
460 {
462 start_indices.clear();
464 for (auto j : start_indices)
465 {
466 if (i != index1 && i != index2) return true;
467
468
469 if (j == 0 && i != index1) return true;
470 if (j ==
word.size() -
mMonomials[index2].size() && i != index2)
return true;
471 }
472 }
473 return false;
474}
static void subwordPositions(WordWithData word1, WordWithData word2, std::vector< int > &result_start_indices)
std::vector< int > mIndices
std::vector< WordWithData > mMonomials