|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addDistanceMatrix(double[][] matrix)
|
void |
addElement(INode node)
add a node to the current optimization. |
void |
addElement(IResource resource)
add a resource to the current optimization. |
void |
addElement(IRoute route)
add a route to the current optimization. |
void |
addElement(java.util.Properties property)
add a property to the current optimization. |
void |
addTimeMatrix(double[][] matrix)
|
IRoute |
checkAppointment(INode appointment)
NOT YET INCLUDED IN JOPT - MIGHT BE INCLUDED IN THE LONG TERM ckecks a desired appointment against the current optimization. |
double[][] |
getMatrix()
|
java.util.Properties |
getProperties()
|
IRoute |
insertAppointment(INode appointment)
NOT YET INCLUDED IN JOPT - MIGHT BE INCLUDED IN THE LONG TERM inserts a desired appointment into the current optimization. |
void |
onAsynchronousOptimizationResult(IOptimizationResult result)
called after the optimization has been finished according to the defined terminating condition |
void |
onError(int errorcode,
java.lang.String message)
called in case an error occurs |
void |
onProgress(double progress)
called each time when one percentage of the optimization is done |
void |
onProgress(double progress,
double totaldistance,
double costfunction)
called each time when one percentage of the optimization is done |
void |
onProgress(double progress,
double totaldistance,
double costfunction,
int optimizationStage,
java.lang.String optimizationMode)
called each time when one percentage of the optimization is done |
void |
onProgress(double progress,
double totaldistance,
double costfunction,
int optimizationStage,
java.lang.String optimizationMode,
IViolationSummary violationSummary)
called each time when one percentage of the optimization is done |
void |
startAsynchronousOptimizationRun()
starts a new optimization background process for all added elements, destroys all previous results |
| Method Detail |
public void addElement(java.util.Properties property)
property - a property to define the optimization's behaviourpublic void addElement(IResource resource)
resource - a resource to perform the optimization's schedulepublic void addElement(INode node)
node - a node to be visited within the schedulepublic void addElement(IRoute route)
public IRoute checkAppointment(INode appointment)
appointment - a node with a time window
public IRoute insertAppointment(INode appointment)
appointment - a node with a time window
public void startAsynchronousOptimizationRun()
throws JOpt.Licence.LicenceNotFoundException
JOpt.Licence.LicenceNotFoundExceptionpublic void onAsynchronousOptimizationResult(IOptimizationResult result)
result - contains the optimization result or null if an error occuredpublic void onProgress(double progress)
progress -
public void onProgress(double progress,
double totaldistance,
double costfunction)
progress - totaldistance - current distance of all routescostfunction - abstract value of the current costfunction
public void onProgress(double progress,
double totaldistance,
double costfunction,
int optimizationStage,
java.lang.String optimizationMode)
progress - totaldistance - current distance of all routescostfunction - abstract value of the current costfunctionoptimizationStage - 1 = construction, 2 = improvementoptimizationMode - assisted singledepot, assisted mutlidepot, unassisted
public void onProgress(double progress,
double totaldistance,
double costfunction,
int optimizationStage,
java.lang.String optimizationMode,
IViolationSummary violationSummary)
progress - totaldistance - current distance of all routescostfunction - abstract value of the current costfunctionoptimizationStage - 1 = construction, 2 = improvementoptimizationMode - assisted singledepot, assisted multidepot, strict assisted singledepot,strict assisted multidepot, unassistedviolationSummary - a summary of current violations
public void onError(int errorcode,
java.lang.String message)
errorcode - message - public void addDistanceMatrix(double[][] matrix)
matrix - the distance matrix defining all distances between the nodespublic void addTimeMatrix(double[][] matrix)
matrix - the time matrix defining all travelling times between the nodespublic double[][] getMatrix()
public java.util.Properties getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||