/** Test Functions */ public static void main(String[] args) { JSONEFFECT _a = new JSONEFFECT(); JSONEFFECT _b = new JSONEFFECT(); Qos n = new Qos(); _b.GOAL = new String[] {"MINPRICE", "MINTIME", "MINSKILL"}; _a.QOS.COST = "$10"; _a.QOS.TIME = "PT10M"; _a.QOS.SKILL = "MED"; _b.QOS.COST = "$20"; _b.QOS.TIME = "PT20M"; _b.QOS.SKILL = "HIGH"; n = n.pairwise_acc(_a.QOS, _b.QOS, _a, _b); a.e.println(n.toString()); }