.onAttach |
Print package startup message |
calculate_entropy |
Calculate the entropy of each action in the design |
calculate_payouts |
Calculate payouts |
calc_entropy |
Calculate Shannon's Entropy |
calc_payout_dm |
Calculate expected payout to the decision maker |
calc_payout_obs |
Calculate expected payout to the observer |
calc_pr_aj_rk |
Calculate Pr(a_j|r_k) |
calc_pr_guess |
Calculate the probability that the observer will try to guess the rule |
calc_pr_rk_aj |
Calculate Pr(r_k|a_j) |
check_design_opt |
Check design options |
construct_design |
Function to create a rule-action matrix |
extract_attr |
Extract attributes |
generate_designs |
Generate obfuscation designs |
last |
Get the last element of a vector |
print_design |
Prints the design |
print_entropy |
Prints the entropy of the different actions |
print_payout |
Print the payouts |
save_design |
Save obfuscation designs |