ProblemAdd Job Method
Adds a Job to the problem.
Definition
Namespace: VRSolver
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public void AddJob(
Job job
)VB
Public Sub AddJob (
job As Job
)C++
public:
void AddJob(
Job^ job
)F#
member AddJob :
job : Job -> unit Parameters
- job Job
- The job to add.
Exceptions
| ArgumentNullException | Resource is null. |
| ArgumentException | Job is null. |
| ArgumentException | Job's ID is not defined. |
| ArgumentException | Job with same ID already added. |
| ArgumentException | Job has no job parts. |
| ArgumentException | ID for JobPart is not defined. |
| ArgumentException | JobPart with same ID already exists. |
| ArgumentException | Location for a JobPart not defined. |
| ArgumentException | JobPart Position constraints do not match the Job's JobParts ordering. |