ProblemAddJob Method

Adds a Job to the problem.

Definition

Namespace: VRSolver
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public void AddJob(
	Job job
)

Parameters

job  Job
The job to add.

Exceptions

ArgumentNullExceptionResource is null.
ArgumentExceptionJob is null.
ArgumentExceptionJob's ID is not defined.
ArgumentExceptionJob with same ID already added.
ArgumentExceptionJob has no job parts.
ArgumentExceptionID for JobPart is not defined.
ArgumentExceptionJobPart with same ID already exists.
ArgumentExceptionLocation for a JobPart not defined.
ArgumentExceptionJobPart Position constraints do not match the Job's JobParts ordering.

See Also