Class DtoSchedulingTaskParameters
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoSchedulingTaskParameters
- All Implemented Interfaces:
IDtoSchedulingTaskParameters
Input to get a Scheduler. Contains informations about available devices, jobs to be planned and all constraints.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoSchedulingTaskParameters(IDtoDevice[] devices, IDtoTask[] tasks, IDtoProcess[] processes, IDtoJobGraph[] jobGraphs, IDtoAbstractRunExpenseModel[] runExpenseModels, IDtoAbstractTransitionExpenseModel[] transitionExpenseModels, Long earliestStartTime, IDtoEngineConfiguration engineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetails about the devices that are available to run processeshow you want to optimize due date fulfillmentAll result allocations will start no earlier than this time.Details about what needs to be scheduled.Optional informations about raw and (partially) processed materials.Optional informations about operators required to execute processes.Details about the ways tasks can be executedDetails about the run durations of processes depending on job and device information.IDtoTask[]getTasks()All tasks that could possibly be required or possible to executeIDtoTool[]getTools()Optional informations about tools required to execute processes.Details about the transition durations and costs from one deviceState to another (used in setup and teardown).Allowed transportations.inthashCode()voidsetDevices(IDtoDevice[] devices) Details about the devices that are available to run processesvoidsetDueDateObjective(DtoDueDateObjective dueDateObjective) how you want to optimize due date fulfillmentvoidsetEarliestStartTime(Long earliestStartTime) All result allocations will start no earlier than this time.voidsetEngineConfiguration(IDtoEngineConfiguration engineConfiguration) voidsetJobGraphs(IDtoJobGraph[] jobGraphs) Details about what needs to be scheduled.voidsetMaterials(IDtoMaterial[] materials) Optional informations about raw and (partially) processed materials.voidsetOperators(IDtoOperator[] operators) Optional informations about operators required to execute processes.voidsetProcesses(IDtoProcess[] processes) Details about the ways tasks can be executedvoidsetRunExpenseModels(IDtoAbstractRunExpenseModel[] runExpenseModels) Details about the run durations of processes depending on job and device information.voidAll tasks that could possibly be required or possible to executevoidOptional informations about tools required to execute processes.voidsetTransitionExpenseModels(IDtoAbstractTransitionExpenseModel[] transitionExpenseModels) Details about the transition durations and costs from one deviceState to another (used in setup and teardown).voidsetTransportations(IDtoTransportation[] transportations) Allowed transportations.withDevices(IDtoDevice[] devices) Details about the devices that are available to run processeswithDueDateObjective(DtoDueDateObjective dueDateObjective) how you want to optimize due date fulfillmentwithEarliestStartTime(Long earliestStartTime) All result allocations will start no earlier than this time.withEngineConfiguration(IDtoEngineConfiguration engineConfiguration) withJobGraphs(IDtoJobGraph[] jobGraphs) Details about what needs to be scheduled.withMaterials(IDtoMaterial[] materials) Optional informations about raw and (partially) processed materials.withOperators(IDtoOperator[] operators) Optional informations about operators required to execute processes.withProcesses(IDtoProcess[] processes) Details about the ways tasks can be executedwithRunExpenseModels(IDtoAbstractRunExpenseModel[] runExpenseModels) Details about the run durations of processes depending on job and device information.All tasks that could possibly be required or possible to executeOptional informations about tools required to execute processes.withTransitionExpenseModels(IDtoAbstractTransitionExpenseModel[] transitionExpenseModels) Details about the transition durations and costs from one deviceState to another (used in setup and teardown).withTransportations(IDtoTransportation[] transportations) Allowed transportations.
-
Constructor Details
-
DtoSchedulingTaskParameters
protected DtoSchedulingTaskParameters() -
DtoSchedulingTaskParameters
public DtoSchedulingTaskParameters(IDtoDevice[] devices, IDtoTask[] tasks, IDtoProcess[] processes, IDtoJobGraph[] jobGraphs, IDtoAbstractRunExpenseModel[] runExpenseModels, IDtoAbstractTransitionExpenseModel[] transitionExpenseModels, Long earliestStartTime, IDtoEngineConfiguration engineConfiguration)
-
-
Method Details
-
getTools
Optional informations about tools required to execute processes. If this is empty, there are no tools and all processeses that require tools cannot run.- Specified by:
getToolsin interfaceIDtoSchedulingTaskParameters
-
setTools
Optional informations about tools required to execute processes. If this is empty, there are no tools and all processeses that require tools cannot run.- Specified by:
setToolsin interfaceIDtoSchedulingTaskParameters
-
getOperators
Optional informations about operators required to execute processes. If this is empty, there are no operators and all processeses that require operators cannot run.- Specified by:
getOperatorsin interfaceIDtoSchedulingTaskParameters
-
setOperators
Optional informations about operators required to execute processes. If this is empty, there are no operators and all processeses that require operators cannot run.- Specified by:
setOperatorsin interfaceIDtoSchedulingTaskParameters
-
getMaterials
Optional informations about raw and (partially) processed materials. If this is empty, the initial state of materials in stock is empty.- Specified by:
getMaterialsin interfaceIDtoSchedulingTaskParameters
-
setMaterials
Optional informations about raw and (partially) processed materials. If this is empty, the initial state of materials in stock is empty.- Specified by:
setMaterialsin interfaceIDtoSchedulingTaskParameters
-
getDevices
Details about the devices that are available to run processes- Specified by:
getDevicesin interfaceIDtoSchedulingTaskParameters
-
setDevices
Details about the devices that are available to run processes- Specified by:
setDevicesin interfaceIDtoSchedulingTaskParameters
-
getTransportations
Allowed transportations. If this is not set, transportation is allowed (instantaneous and cost=0.0) for all device-pairs.- Specified by:
getTransportationsin interfaceIDtoSchedulingTaskParameters
-
setTransportations
Allowed transportations. If this is not set, transportation is allowed (instantaneous and cost=0.0) for all device-pairs.- Specified by:
setTransportationsin interfaceIDtoSchedulingTaskParameters
-
getTasks
All tasks that could possibly be required or possible to execute- Specified by:
getTasksin interfaceIDtoSchedulingTaskParameters
-
setTasks
All tasks that could possibly be required or possible to execute- Specified by:
setTasksin interfaceIDtoSchedulingTaskParameters
-
getProcesses
Details about the ways tasks can be executed- Specified by:
getProcessesin interfaceIDtoSchedulingTaskParameters
-
setProcesses
Details about the ways tasks can be executed- Specified by:
setProcessesin interfaceIDtoSchedulingTaskParameters
-
getJobGraphs
Details about what needs to be scheduled.- Specified by:
getJobGraphsin interfaceIDtoSchedulingTaskParameters
-
setJobGraphs
Details about what needs to be scheduled.- Specified by:
setJobGraphsin interfaceIDtoSchedulingTaskParameters
-
getRunExpenseModels
Details about the run durations of processes depending on job and device information.- Specified by:
getRunExpenseModelsin interfaceIDtoSchedulingTaskParameters
-
setRunExpenseModels
Details about the run durations of processes depending on job and device information.- Specified by:
setRunExpenseModelsin interfaceIDtoSchedulingTaskParameters
-
getTransitionExpenseModels
Details about the transition durations and costs from one deviceState to another (used in setup and teardown).- Specified by:
getTransitionExpenseModelsin interfaceIDtoSchedulingTaskParameters
-
setTransitionExpenseModels
public void setTransitionExpenseModels(IDtoAbstractTransitionExpenseModel[] transitionExpenseModels) Details about the transition durations and costs from one deviceState to another (used in setup and teardown).- Specified by:
setTransitionExpenseModelsin interfaceIDtoSchedulingTaskParameters
-
getEarliestStartTime
All result allocations will start no earlier than this time.- Specified by:
getEarliestStartTimein interfaceIDtoSchedulingTaskParameters
-
setEarliestStartTime
All result allocations will start no earlier than this time.- Specified by:
setEarliestStartTimein interfaceIDtoSchedulingTaskParameters
-
getDueDateObjective
how you want to optimize due date fulfillment- Specified by:
getDueDateObjectivein interfaceIDtoSchedulingTaskParameters
-
setDueDateObjective
how you want to optimize due date fulfillment- Specified by:
setDueDateObjectivein interfaceIDtoSchedulingTaskParameters
-
getEngineConfiguration
- Specified by:
getEngineConfigurationin interfaceIDtoSchedulingTaskParameters
-
setEngineConfiguration
- Specified by:
setEngineConfigurationin interfaceIDtoSchedulingTaskParameters
-
withTools
Optional informations about tools required to execute processes. If this is empty, there are no tools and all processeses that require tools cannot run. -
withOperators
Optional informations about operators required to execute processes. If this is empty, there are no operators and all processeses that require operators cannot run. -
withMaterials
Optional informations about raw and (partially) processed materials. If this is empty, the initial state of materials in stock is empty. -
withDevices
Details about the devices that are available to run processes -
withTransportations
Allowed transportations. If this is not set, transportation is allowed (instantaneous and cost=0.0) for all device-pairs. -
withTasks
All tasks that could possibly be required or possible to execute -
withProcesses
Details about the ways tasks can be executed -
withJobGraphs
Details about what needs to be scheduled. -
withRunExpenseModels
public DtoSchedulingTaskParameters withRunExpenseModels(IDtoAbstractRunExpenseModel[] runExpenseModels) Details about the run durations of processes depending on job and device information. -
withTransitionExpenseModels
public DtoSchedulingTaskParameters withTransitionExpenseModels(IDtoAbstractTransitionExpenseModel[] transitionExpenseModels) Details about the transition durations and costs from one deviceState to another (used in setup and teardown). -
withEarliestStartTime
All result allocations will start no earlier than this time. -
withDueDateObjective
how you want to optimize due date fulfillment -
withEngineConfiguration
public DtoSchedulingTaskParameters withEngineConfiguration(IDtoEngineConfiguration engineConfiguration) -
equals
-
hashCode
public int hashCode()
-