
#include <AAPLearner.h>


Public Member Functions | |
| AAPLearner () | |
| void | init () |
| Configures parameters of the learner. | |
| Strategy * | optimizePattern (Strategy *, ComlibGlobalStats &) |
| Optimizes a specific strategy. Returns a new optimized strategy. | |
| Strategy ** | optimizePattern (Strategy **, ComlibGlobalStats &) |
| Optimizes the communication pattern of a group of strategies together. | |
Private Member Functions | |
| double | computeDirect (double P, double m, double d) |
| double | computeMesh (double P, double m, double d) |
| double | computeHypercube (double P, double m, double d) |
| double | computeGrid (double P, double m, double d) |
Private Attributes | |
| double | alpha |
| double | beta |
Definition at line 33 of file AAPLearner.h.
| AAPLearner::AAPLearner | ( | ) |
| void AAPLearner::init | ( | void | ) | [virtual] |
Configures parameters of the learner.
Will be called by the communication library on every processor after the second barrier of the communication library.
Reimplemented from ComlibLearner.
| Strategy* AAPLearner::optimizePattern | ( | Strategy * | strat, | |
| ComlibGlobalStats & | sdata | |||
| ) | [virtual] |
| Strategy** AAPLearner::optimizePattern | ( | Strategy ** | strat, | |
| ComlibGlobalStats & | sdata | |||
| ) | [inline, virtual] |
Optimizes the communication pattern of a group of strategies together.
Reimplemented from ComlibLearner.
Definition at line 47 of file AAPLearner.h.
double AAPLearner::alpha [private] |
Definition at line 34 of file AAPLearner.h.
double AAPLearner::beta [private] |
Definition at line 34 of file AAPLearner.h.
1.5.5