jssp.oo.to.gantt: Transform a Solution Represented in the van-Hoorn Version of...

Description Usage Arguments Value See Also

View source: R/to_gantt.R

Description

A solution in the van-Hoorn version of OO is translated to a Gantt Chart. Here, the operations are numbered as follows: The first n operations refer to the first operation of each job (according to order of the jobs), operations n+1,...,2n regard the second operation of the n jobs, and so on. So operation i is the k'th operation of job j, where k = ceil(i/n) and j = i mod n.

Usage

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

Arguments

data.oo

the overall-order 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.