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.

Structs

Soft Policy: Minimize Traffic Shift

Traits

Trait for creating soft policies.

Functions

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.