public class Sleeping extends SatConstraint
Constructor and Description |
---|
Sleeping(VM vm)
Make a new discrete constraint.
|
Sleeping(VM vm,
boolean continuous)
Make a new discrete constraint.
|
Modifier and Type | Method and Description |
---|---|
SatConstraintChecker<Sleeping> |
getChecker()
Get the validator used to check if a plan satisfies the constraint.
|
static List<Sleeping> |
newSleeping(Collection<VM> vms)
Instantiate discrete constraints for a collection of VMs.
|
String |
toString() |
equals, getInvolvedNodes, getInvolvedVMs, hashCode, isContinuous, isSatisfied, isSatisfied, restrictionToString, setContinuous
public Sleeping(VM vm)
vm
- the VMs to make sleepingpublic Sleeping(VM vm, boolean continuous)
vm
- the VMs to make sleepingcontinuous
- true
for a continuous restrictionpublic static List<Sleeping> newSleeping(Collection<VM> vms)
vms
- the VMs to integratepublic SatConstraintChecker<Sleeping> getChecker()
SatConstraint
getChecker
in class SatConstraint
SatConstraintChecker
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.