public interface IOptimizationImporter extends IJOptImporter<IOptimization>
Modifier and Type | Method and Description |
---|---|
Optional<IOptimization> |
read(InputStream fis)
Read.
|
boolean |
update(InputStream fis,
IOptimization existingOpti)
Takes an existing
IOptimization instance and updates it with an optimization from an
InputStream. |
boolean |
update(InputStream fis,
IOptimization existingOpti,
boolean isIgnoreExistingSolution)
Takes an existing
IOptimization instance and updates it with an optimization from an
InputStream. |
boolean |
update(InputStream fis,
IOptimization existingOpti,
Optional<INodeEdgeConnector> existingNodeConnector,
Properties existingProperties,
boolean isOnlyPropertyUpdate)
Takes an existing
IOptimization instance and updates it with an optimization from an
InputStream. |
boolean |
update(InputStream fis,
IOptimization existingOpti,
Optional<INodeEdgeConnector> existingNodeConnector,
Properties existingProperties,
boolean isOnlyPropertyUpdate,
boolean isIgnoreExistingSolution)
Takes an existing
IOptimization instance and updates it with an optimization from an
InputStream. |
Optional<IOptimization> read(InputStream fis)
read
in interface IJOptImporter<IOptimization>
fis
- the fisboolean update(InputStream fis, IOptimization existingOpti)
IOptimization
instance and updates it with an optimization from an
InputStream.fis
- the InputStreamexistingOpti
- the existing optimizationboolean update(InputStream fis, IOptimization existingOpti, boolean isIgnoreExistingSolution)
IOptimization
instance and updates it with an optimization from an
InputStream.
If isIgnoreExistingSolution is true, the existing solution of the snapshot will be ignored.fis
- the fisexistingOpti
- the existing optiisIgnoreExistingSolution
- the is ignore existing solutionboolean update(InputStream fis, IOptimization existingOpti, Optional<INodeEdgeConnector> existingNodeConnector, Properties existingProperties, boolean isOnlyPropertyUpdate)
IOptimization
instance and updates it with an optimization from an
InputStream. Further, an INodeEdgeConnector
can be provided to replace it with the one
from the InputStream. Additional, properties must be provided. If isOnlyPropertyUpdate==true
the provided properties are used to update the properties from the
InputStream. If isOnlyPropertyUpdate==false
the provided properties are used to replace
the property settings from the InputStream.fis
- the InputStreamexistingOpti
- the existing optimizationexistingNodeConnector
- an existing node connectorexistingProperties
- the existing propertiesisOnlyPropertyUpdate
- the is only property updateboolean update(InputStream fis, IOptimization existingOpti, Optional<INodeEdgeConnector> existingNodeConnector, Properties existingProperties, boolean isOnlyPropertyUpdate, boolean isIgnoreExistingSolution)
IOptimization
instance and updates it with an optimization from an
InputStream. Further, an INodeEdgeConnector
can be provided to replace it with the one
from the InputStream. Additional, properties must be provided. If isOnlyPropertyUpdate==true
the provided properties are used to update the properties from the
InputStream. If isOnlyPropertyUpdate==false
the provided properties are used to replace
the property settings from the InputStream.
If isIgnoreExistingSolution is true, the existing solution of the snapshot will be ignored.fis
- the fisexistingOpti
- the existing optiexistingNodeConnector
- the existing node connectorexistingProperties
- the existing propertiesisOnlyPropertyUpdate
- the is only property updateisIgnoreExistingSolution
- the is ignore existing solutionCopyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.