public Collection < Node > getAssociatedPGroup ( Node u ) { for ( Collection < Node > pGrp : pGroups ) { if ( pGrp . contains ( u ) ) { return pGrp ; } } return Collections . emptySet ( ) ; }
Get the group of nodes associated to a given node .