Let\'s say I have a graph and each node may contain a value for other nodes. Let\'s also say that the complexity to calculate that value is rather high ( ~O(n^4) ). Conseque