Class MatrixLegacyWrapper
java.lang.Object
com.dna.jopt.member.unit.legacywrapper.matrixwrapper.MatrixLegacyWrapper
- All Implemented Interfaces:
IMatrixLegacyWrapper
The Class MatrixLegacyWrapper.
- Since:
- Sep 13, 2017
- Version:
- Sep 23, 2020
- Author:
- jrich
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDistanceMatrix(double[][] distanceMatrix) Adds the distance matrix.voidaddTimeMatrix(double[][] timeMatrix) Adds the time matrix.voidcreateNodeEdgeConnector(com.dna.jopt.framework.firstentitycreation.IEntityArranger ena) Creates the node edge connector.voidCreates the node edge connector.Gets the node connector.booleanChecks for distance matrix.
-
Constructor Details
-
MatrixLegacyWrapper
public MatrixLegacyWrapper()Instantiates a new matrix legacy wrapper.
-
-
Method Details
-
getNodeConnector
Gets the node connector.- Specified by:
getNodeConnectorin interfaceIMatrixLegacyWrapper- Returns:
- the node connector
-
addDistanceMatrix
public void addDistanceMatrix(double[][] distanceMatrix) Adds the distance matrix.- Specified by:
addDistanceMatrixin interfaceIMatrixLegacyWrapper- Parameters:
distanceMatrix- the distance matrix
-
hasDistanceMatrix
public boolean hasDistanceMatrix()Checks for distance matrix.- Specified by:
hasDistanceMatrixin interfaceIMatrixLegacyWrapper- Returns:
- true, if successful
-
addTimeMatrix
public void addTimeMatrix(double[][] timeMatrix) Adds the time matrix.- Specified by:
addTimeMatrixin interfaceIMatrixLegacyWrapper- Parameters:
timeMatrix- the time matrix
-
createNodeEdgeConnector
public void createNodeEdgeConnector(com.dna.jopt.framework.firstentitycreation.IEntityArranger ena) Creates the node edge connector.- Specified by:
createNodeEdgeConnectorin interfaceIMatrixLegacyWrapper- Parameters:
ena- the ena
-
createNodeEdgeConnector
Creates the node edge connector.- Specified by:
createNodeEdgeConnectorin interfaceIMatrixLegacyWrapper- Parameters:
en- the en
-