public class SeqSplitter extends Object implements ConstraintSplitter<Seq>
The splitting process is supported iff all the VMs belong to the same partitions.
If not, a
UnsupportedOperationException is thrown.
This operation 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(Seq 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.