-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionThe Java container format is replaced by the JSON snapshot. Write a snapshot with
OptimizationJSONExporter(export(IOptimization, OutputStream)) and read it withOptimizationJSONImporter.read(java.io.InputStream). This class still works as before; each call of anexportmethod logs one warning.The Java container format is replaced by the JSON snapshot. Read a snapshot withOptimizationJSONImporter.read(InputStream)(or one of itsupdatemethods) and write it withOptimizationJSONExporter(export(IOptimization, OutputStream)). This class still works as before; each call ofEntityContainerImporter.read(InputStream)logs one warning.
-
Deprecated MethodsMethodDescriptionAdding distance as a
INodeConnectorItemis preferred.Adding time as aINodeConnectorItemis preferred.Start asynchronous optimization run.This method will be dropped soon use stream(ErrorCode errorCode, Throwable cause)Streaming results with Java serialization is deprecated. Take each result as anIOptimizationResultfrom the optimization set withAbstractResultStreamer.setOptimization(IOptimization), or add a text stream withAbstractResultStreamer.addPrintStream(PrintStream).Streaming results with Java serialization is deprecated: use the results of the optimization set withAbstractResultStreamer.setOptimization(IOptimization)orAbstractResultStreamer.addPrintStream(PrintStream)instead.Streaming results with Java serialization is deprecated. Take each result as anIOptimizationResultfrom the optimization set withIResultStreamer.setOptimization(IOptimization), or add a text stream withIResultStreamer.addPrintStream(PrintStream).Streaming results with Java serialization is deprecated: use the results of the optimization set withIResultStreamer.setOptimization(IOptimization)orIResultStreamer.addPrintStream(PrintStream)instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONExporter(export(IOptimization, OutputStream)) instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONExporter(export(IOptimization, OutputStream, ResultKindTag)) instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONImporter.read(InputStream)instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONImporter.read(InputStream)instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONImporter.read(InputStream)instead.The Java container format is replaced by the JSON snapshot: useOptimizationJSONImporter.read(InputStream)instead.please useIWorkingHours.setMaxWorkingTime(Duration)insteadplease useAbstractNodeEdgeConnector.putNodeConnection(INodeConnectorItem)insteadplease useAbstractNodeEdgeConnector.putNodeConnectionIfNotExisting(INodeConnectorItem)insteadplease useINodeConnectorItem.setDistance(Quantity)insteadplease useINodeConnectorItem.setDrivingTime(Duration)insteadplease useINodeEdgeConnector.putNodeConnectionIfNotExisting(INodeConnectorItem)insteadGets the relatedNode.com.dna.jopt.member.unit.resource.AbstractBasicCapacityResource.setAcceptableOvertimeSeconds(double) as mentioned inAbstractBasicCapacityResource.getDestinationDistMatrixId()Gets theAbstractBasicCapacityResource.skillEfficiencyFactor, of which the default value is 1.0.please useIBasicResource.setAcceptableOvertime(Duration)insteadplease useIBasicResource.setMaxWorkingTime(Duration)insteadSets the skill efficiency factor, which is multiplied with the service time at theNode. The default value is 1.0Sets the amount aResourcecan carry of a specific good.Several goods can be defined of which each a limited amount can be carried.
please useIResource.setMaxRouteStartReductionTime(Duration, boolean)insteadPlease useIResource.setStayOutPolicy(Quantity, Duration)instead.please use the above mentioned methods insteadGets the value.
-
Deprecated ConstructorsConstructorDescriptionplease use
OpeningHours(ZonedDateTime, ZonedDateTime)with updated attributesplease useOpeningHours(ZonedDateTime, ZonedDateTime)with updated attributesplease useOpeningHours(ZonedDateTime, ZonedDateTime)with updated attributesplease useOpeningHours(ZonedDateTime, ZonedDateTime)with updated attributesplease useOpeningHours(ZonedDateTime, ZonedDateTime)with updated attributesplease useWorkingHours(ZonedDateTime, ZonedDateTime)insteadplease useWorkingHours(ZonedDateTime, ZonedDateTime)insteadplease useWorkingHours(ZonedDateTime, ZonedDateTime)instead. Theplease useWorkingHours(ZonedDateTime, ZonedDateTime)insteadplease useWorkingHours(ZonedDateTime, ZonedDateTime)instead. Theplease useWorkingHours(ZonedDateTime, ZonedDateTime)instead. Theplease useWorkingHours(ZonedDateTime, ZonedDateTime)insteadplease useWorkingHours(ZonedDateTime, ZonedDateTime)insteadplease useEventNode(String, IOpeningHours, Duration, int)orEventNode(String, List, Duration, int)instead.please useEventNode(String, IOpeningHours, Duration, int)instead.please useEventNode(String, IOpeningHours, Duration, int)instead.please useCapacityResource(String, double, double, Duration, Quantity, List)with updated parameters.please useCapacityResource(String, double, double, Duration, Quantity, List)with updated parameters.
OptimizationJSONImporter.read(InputStream)and write it withOptimizationJSONExporter.