function prob = BR_prob_or(clause,L_probs)
%

prob = 0;
if isempty(clause)
    return
end
len_clause = length(clause);
if len_clause==1
    prob = L_probs(abs(clause(1)));
    return
end
p1 = L_probs(abs(clause(1)));
p2 = BR_prob_or(clause(2:end),L_probs);
prob = p1 + p2 - p1*p2;
