public bool Remove(BaseJob job) { return(_predecesorJobs.Remove(job)); }
public bool Contains(BaseJob job) { return(_predecesorJobs.Contains(job)); }
public void Add(BaseJob job) { _predecesorJobs.Add(job); }
/// <summary> /// Each job added must be the predesor of the previous job added. /// Except for the first job added which should have not predecesors /// </summary> /// <param name="job"></param> public void AddJob(BaseJob job) { _toScheduleChain.Insert(0, job); endIndex = 1; }