private static void addEquivalentsComplexes ( PhysicalEntity pe , Set < PhysicalEntity > pes ) { addEquivalentsComplexes ( pe , true , pes ) ; // Do not traverse to more specific. This was causing a bug so I commented out. Did not delete it just in case // later we realize that this is needed for another use case. // addEquivalentsComplexes(pe, false, pes); }
Adds equivalents and parent complexes of the given PhysicalEntity to the parameter set .