question: public void add ( Collection < RuleGrounding > alternatives ) { boolean foundSuccess = false ; for ( RuleGrounding g : alternatives ) { if ( ! g . isFailed ( ) ) { add ( g ) ; foundSuccess = true ; } } if ( ! foundSuccess ) { groundings . clear ( ) ; } }
target:  Adds a collection of alternative groundings. At least one must be non-failed.