public double activateWith ( TNorm conjunction , SNorm disjunction ) { if ( ! isLoaded ( ) ) { throw new RuntimeException ( String . format ( "[rule error] the following rule is not loaded: %s" , text ) ) ; } activationDegree = weight * antecedent . activationDegree ( conjunction , disjunction ) ; return activationDegree ; }
Activates the rule by computing its activation degree using the given conjunction and disjunction operators