860{
861 bool ishomog = true;
862 Word tmp;
863 auto i = f.cbegin();
864 if (i == f.cend()) return std::make_pair(0, true);
867 for (++i; i != f.cend(); ++i)
868 {
871 if (thisheft != maxheft)
872 {
873 ishomog = false;
874 if (thisheft > maxheft)
875 maxheft = thisheft;
876 }
877 }
878 return std::make_pair(maxheft, ishomog);
879}
const FreeMonoid & monoid() const
int wordHeft(Word &word) const
void wordFromMonom(Word &result, const Monom &m) const