protected void enrichWithGenerics ( Set < BioPAXElement > seed , Set < BioPAXElement > all ) { Set addition ; if ( type == Type . TO_GENERAL ) addition = access ( upperGenAcc , seed , all ) ; else addition = access ( lowerGenAcc , seed , all ) ; all . addAll ( addition ) ; seed . addAll ( addition ) ; enrichWithCM ( seed , all ) ; }
Gets the linked homologies and then switches to complex - relationship mode . These two enrich methods call each other recursively .