public class RandomMapping extends java.lang.Object implements MappingStrategyInterface
Constructor and Description |
---|
RandomMapping()
Constructs a RandomMapping object taking the total number
of iterations from the configuration object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReadableRepresentation() |
java.lang.String |
getScoreList() |
void |
initialize(MappingEvaluator eval,
javax.swing.JProgressBar progressBar)
Initializes the mapping algorithm with a mapping evaluator
object that is used to compare different mapping solutions
and a progressBar that is used to display the state of progress
of the optimization phase.
|
MappingSolution |
map(Application app,
NoCarchitecture arch)
Finds the best mapping solution given a certain application and NoC architecture
|
public RandomMapping()
public void initialize(MappingEvaluator eval, javax.swing.JProgressBar progressBar)
MappingStrategyInterface
initialize
in interface MappingStrategyInterface
eval
- The mapping evaluatorprogressBar
- The component that visually displays the progress of the optimization task.public MappingSolution map(Application app, NoCarchitecture arch)
MappingStrategyInterface
map
in interface MappingStrategyInterface
app
- The applicationarch
- The architecturepublic java.lang.String getScoreList()
public java.lang.String getReadableRepresentation()
getReadableRepresentation
in interface MappingStrategyInterface