cost {dynetNLAResistance} | R Documentation |
Calculate anonymization cost of two nodes.
cost(g, uid, vid, alpha = 1, beta = 2, gamma = 3)
g |
A graph contains vertexs with different labels and some of which are sensitive. |
uid |
Name of a node with sensitive label. |
vid |
Name of a node with unsensitive label. |
alpha |
Weight of anonymization cost resulted from label generalization. |
beta |
Weight of anonymization cost resulted from adding edges. |
gamma |
Weight of anonymization cost resulted from adding nodes. |
Anonymization cost of two nodes.