Package org.btrplace.scheduler.choco
Interface Injectable
- All Known Subinterfaces:
AliasedCumulatives
,ChocoConstraint
,ChocoView
,CObjective
,Cumulatives
- All Known Implementing Classes:
AbstractCumulatives
,CAmong
,CBan
,CDeadline
,CFence
,CGather
,CKilled
,CLonely
,CMaxOnline
,CMinMigrations
,CMinMTTR
,CMinMTTRMig
,CNetwork
,CNoDelay
,COffline
,COnline
,COverbook
,CPowerView
,CPrecedence
,CPreserve
,CQuarantine
,CReady
,CResourceCapacity
,CRoot
,CRunning
,CRunningCapacity
,CSchedule
,CSequentialVMTransitions
,CSerialize
,CShareableResource
,CSleeping
,CSplit
,CSplitAmong
,CSpread
,CSync
,DefaultAliasedCumulatives
,DefaultCumulatives
,Packing
,VectorPacking
public interface Injectable
Interface to specify an object that can be injected inside a reconfiguration problem.
- Author:
- Fabien Hermenier
-
Method Summary
Modifier and Type Method Description default boolean
inject(Parameters ps, ReconfigurationProblem rp)
Inject the constraint into the problem.
-
Method Details
-
inject
Inject the constraint into the problem.- Parameters:
ps
- the scheduler parametersrp
- the problem- Returns:
true
if the injection succeeded,false
if the problem is sure to not have a solution- Throws:
SchedulerException
- if an error occurred while injecting.
-