function v = BR_vtable_values(vtable,ccp)
%

len_vtable = length(vtable(:,1));
v = [vtable,zeros(len_vtable,1)];
ap = BR_cc_probs2ap(ccp);

for e = 1:len_vtable
    lits = vtable(e,1:3);
    L1 = lits(1);
    L2 = lits(2);
    L3 = lits(3);
    switch sum(lits~=0)
        case 1
            v(e,end) = ap(abs(L1));
        case 2
            v(e,end) = BR_2lit_val(L1,L2,ccp);
        case 3
            v(e,end) = BR_3lit_val(L1,L2,L3,ccp);
    end
end
