public AllocationNode(Allocation allocation) { Allocation = allocation; Energy = allocation.Energy( ); Time = allocation.Time( ); Uid = new AllocationUid(allocation); }