A Modified Ubi Policy On A Graph