public class Configuration
extends java.lang.Object
Constructor and Description |
---|
Configuration(double chip_size,
double L_p,
double L_c,
double L_poff,
double L_pon,
double L_coff,
double L_con,
double K_c,
double K_poff,
double K_pon,
double sensitivity,
int efficiency,
int modulation,
int m,
int n,
java.lang.String application_file_name,
java.lang.String mapping_strategy,
java.lang.String router_type,
java.lang.String routing_type,
java.lang.String topology_type,
int iterations,
int populationSize,
int offspringSize,
java.lang.String mappingObjective,
boolean writeOutput,
boolean stopCondition)
Constructs a Configuration object containing all the input setup
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getApplication_file_name() |
static double[][] |
getCG() |
static double |
getChip_size() |
static int |
getIterations() |
static double |
getK_c() |
static double |
getK_poff() |
static double |
getK_pon() |
static double |
getL_c() |
static double |
getL_coff() |
static double |
getL_con() |
static double |
getL_p() |
static double |
getL_poff() |
static double |
getL_pon() |
static double |
getLaserEfficiency() |
static int |
getM() |
static java.lang.String |
getMapping_strategy() |
static java.lang.String |
getMappingObjective() |
static double |
getModulationRate() |
static int |
getN() |
static int |
getNum_cores() |
static int |
getNum_tiles() |
static int |
getOffspringSize() |
static double |
getPhotodetectorSensitivity() |
static int |
getPopulationSize() |
static java.lang.String |
getReadableRepresentation() |
static java.lang.String |
getRouter_type() |
static java.lang.String |
getRouting_type() |
static boolean |
getStopCondition() |
static java.lang.String |
getTopology_type() |
static boolean |
isWriteOutput() |
static void |
setCG(double[][] cg) |
static void |
setNum_cores(int num_cores) |
public Configuration(double chip_size, double L_p, double L_c, double L_poff, double L_pon, double L_coff, double L_con, double K_c, double K_poff, double K_pon, double sensitivity, int efficiency, int modulation, int m, int n, java.lang.String application_file_name, java.lang.String mapping_strategy, java.lang.String router_type, java.lang.String routing_type, java.lang.String topology_type, int iterations, int populationSize, int offspringSize, java.lang.String mappingObjective, boolean writeOutput, boolean stopCondition)
chip_size
- The chip sizeL_p
- The propagation lossL_c
- The crossing lossL_poff
- The power loss per parallel switching element in OFF resonance stateL_pon
- The power loss per parallel switching element in ON resonance stateL_coff
- The power loss per crossing switching element in OFF resonance stateL_con
- The power loss per crossing switching element in ON resonance stateK_c
- The crossing’s crosstalk coefficientK_poff
- The crosstalk coefficient per PSE in OFF stateK_pon
- The crosstalk coefficient per PSE in ON statesensitivity
- The photodetector sensitivityefficiency
- The laser efficiencymodulation
- The modulation ratem
- The number of router in the first dimensionn
- The number of router in the second dimensionapplication_file_name
- The application file namemapping_strategy
- The mapping optimization algorithm name.router_type
- The router name.routing_type
- The routing strategy name.topology_type
- The topology name.iterations
- The number of iterations for the mapping optimization.populationSize
- The population size in case of genetic algorithm.offspringSize
- The offspring size in case of genetic algorithm.mappingObjective
- The optimization objective.writeOutput
- A boolean value. If true the results are stored in an output file.stopCondition
- A boolean value. If true mapping optimization uses the stop condition 1.
Otherwise, it uses the stop condition 0.public static java.lang.String getReadableRepresentation()
public static double getChip_size()
public static double getL_p()
public static double getL_c()
public static double getL_poff()
public static double getL_pon()
public static double getL_coff()
public static double getL_con()
public static double getK_c()
public static double getK_poff()
public static double getK_pon()
public static double getPhotodetectorSensitivity()
public static double getLaserEfficiency()
public static double getModulationRate()
public static int getM()
public static int getN()
public static double[][] getCG()
public static int getNum_tiles()
public static int getNum_cores()
public static java.lang.String getApplication_file_name()
public static java.lang.String getMapping_strategy()
public static java.lang.String getRouter_type()
public static java.lang.String getRouting_type()
public static java.lang.String getTopology_type()
public static int getIterations()
public static int getPopulationSize()
public static int getOffspringSize()
public static java.lang.String getMappingObjective()
public static boolean isWriteOutput()
true
if the output should be written on a file;
false
otherwisepublic static void setCG(double[][] cg)
cg
- The communication graph (CG)public static void setNum_cores(int num_cores)
num_cores
- The number of corespublic static boolean getStopCondition()