def weights: { "1": {"3": -2}, "2": {"1" : 4, "3": 3}, "3": {"4": 2}, "4": {"2": -1} };