Module snowcap::soft_policies[][src]

Expand description

Soft Policies

Soft policies are expressed as cost functions, the smaller the result fo the cost functions, the better is the solution which is found.


Soft Policy: Minimize Traffic Shift


Trait for creating soft policies.


Compute the overall cost of a migration, given by a vector of all ordered modifications. If the sequence cannot be applied due to some network errors, the error is returned.