SolutionAddJobToRoute Method |
Adds the Job's JobParts to the end of the Resource's current route.
This will add the JobParts even if it results in an infeasible solution.
To insert the Job's JobParts at the best feasible
position in the Resource's current route, use
FindBestInsertion(Resource, Job) instead.
Namespace:
VRSolver
Assembly:
VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntaxpublic bool AddJobToRoute(
Resource resource,
Job job
)
Public Function AddJobToRoute (
resource As Resource,
job As Job
) As Boolean
public:
bool AddJobToRoute(
Resource^ resource,
Job^ job
)
member AddJobToRoute :
resource : Resource *
job : Job -> bool
Parameters
- resource
- Type: VRSolverResource
The resource to assign the Job to. - job
- Type: VRSolverJob
The Job to assign.
Return Value
Type:
BooleanReturns false if one or more of the JobParts could not be
inserted. Returns true otherwise.
Exceptions
See Also