public class RunningSplitter extends Object implements ConstraintSplitter<Running>
Runningconstraints. When the constraint focuses VMs among different partitions, the constraint is split.
The split process is conservative wrt. the constraint semantic.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get the class of the Constraint associated to the splitter.
Ensure a given constraint fit into a single partition.
public boolean split(Running cstr, Instance origin, List<Instance> partitions, gnu.trove.map.hash.TIntIntHashMap vmsPosition, gnu.trove.map.hash.TIntIntHashMap nodePosition)
cstr- the model constraint
origin- the original instance to split
partitions- the possible partitions @return
falseiff this leads to a problem without solutions.
vmsPosition- the partition associated to each VM
nodePosition- the partition associated to each node
trueiff the split was successful.
Copyright © 2016 University of Nice-Sophia Antipolis. All Rights Reserved.