jssp.ob.to.gantt: Transform a Solution Represented in Form 'OB' to a Gantt...

Description Usage Arguments Value See Also

View source: R/to_gantt.R

Description

A solution in the OB (operation-based) representation is given. each job is represented by \codem genes with the same value and the chromosome is processed from front to end by assigning jobs to machines at the earliest starting times, following their occurence order. This solution is then transformed to a Gantt chart à la jssp.evaluate.gantt.

Usage

1
2
3
4
5
6
jssp.ob.to.gantt(
  data.ob,
  inst.id,
  min.job.id = 1L,
  get.inst.data = jssp.get.instance.data
)

Arguments

data.ob

the operation-based representation of the solution

inst.id

the instance id

min.job.id

the integer minimum job id to be used in the output (for the input, it is automatically detected). By default, this is 1L, but sometimes you may want to use 0L.

get.inst.data

a function obtaining the instance data for a given instance id, by default jssp.get.instance.data

Value

the canonicalized and evaluated Gantt chart, see jssp.evaluate.gantt

See Also

jssp.evaluate.gantt


thomasWeise/jsspInstancesAndResults documentation built on Nov. 26, 2020, 10:03 a.m.