public interface CostMatrixCreator<K extends Comparable<K>,J extends Comparable<J>> extends Benchmark, OutputAlgorithm<SparseCostMatrix>
SparseCostMatrix from
assignment candidates.| Modifier and Type | Method and Description |
|---|---|
double |
getAlternativeCostForSource(K source)
Returns the value of the no-linking alternative cost for the specified
source.
|
double |
getAlternativeCostForTarget(J target)
Returns the value of the no-linking alternative cost for the specified
target.
|
List<K> |
getSourceList()
Returns the list of sources in the generated cost matrix.
|
List<J> |
getTargetList()
Returns the list of targets in the generated cost matrix.
|
getProcessingTimegetResultcheckInput, getErrorMessage, processList<K> getSourceList()
sourceList.get( i ) is
the source corresponding to the row i in the
generated cost matrix.getTargetList(),
OutputAlgorithm.getResult()List<J> getTargetList()
targetList.get( j )
is the target corresponding to the column j in the
generated cost matrix.getSourceList(),
OutputAlgorithm.getResult()double getAlternativeCostForSource(K source)
source - the source object.getSourceList().double getAlternativeCostForTarget(J target)
target - the target object. Belongs to the list returned by
getTargetList().Copyright © 2015–2021 Fiji. All rights reserved.