// How do I trim the subgroup graph (erase the tail from the subgroup graph)?
pair< SubgroupFG , Word > pr = Sbgp2.trim( );
// Check the returned conjugator
if( pr.first==(Sbgp2^pr.second) ) {
cout << "Correct trimming" << endl;
} else {
cout << "Problem with trimming" << endl;
}
return 0;
}