Class DefaultFlatEarthAverageSpeedBackupElementConnector

java.lang.Object
com.dna.jopt.member.unit.nodeedge.backupconnector.DefaultFlatEarthAverageSpeedBackupElementConnector
All Implemented Interfaces:
IBackupElementConnector, Serializable

public class DefaultFlatEarthAverageSpeedBackupElementConnector extends Object implements IBackupElementConnector
The DefaultFlatEarthAverageSpeedBackupElementConnector is the default implementation used as IBackupElementConnector by the INodeEdgeConnector.

It used in case the INodeEdgeConnector is not able to provide a requested INodeConnectorItem between two IOptimizationElement.

Since:
Sep 17, 2019
Version:
Sep 17, 2019
Author:
Jens Richter
See Also:
  • Constructor Details

    • DefaultFlatEarthAverageSpeedBackupElementConnector

      public DefaultFlatEarthAverageSpeedBackupElementConnector(boolean doRecalculateElement2ElementDuration)
      Instantiates a new default flat earth average speed backup element connector. Every time a connection is extracted the driving time (duration) between two elements can be a function of the visitor. However, in case all visitors have the same average speed there is no recalculation necessary.
      Parameters:
      doRecalculateElement2ElementDuration - the do recalculate element 2 element duration
  • Method Details