Class Task

java.lang.Object
jobshop.encodings.Task

public final class Task extends Object
Represents a task (job,task) of a jobshop problem. Example : (2, 3) represents the fourth task of the third job. (remember that we start counting at 0)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    Identifier of the job
    final int
    Index of the task inside the job.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Task(int job, int task)
    Creates a new Task object (job, task).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • job

      public final int job
      Identifier of the job
    • task

      public final int task
      Index of the task inside the job.
  • Constructor Details

    • Task

      public Task(int job, int task)
      Creates a new Task object (job, task).
  • Method Details