AStarCostFunctionpublic interface CostFunction
| Modifier and Type | Field | Description |
|---|---|---|
static org.apache.log4j.Logger |
log |
| Modifier and Type | Method | Description |
|---|---|---|
void |
applyCost(PartialScheduleGrph g,
int vertex,
int numProcessors) |
Applies this cost function to the specified schedule graph, setting its score
|
void applyCost(PartialScheduleGrph g, int vertex, int numProcessors)
g - The graph to apply the cost function tovertex - The most recently added tasknumProcessors - The number of processors available to assign tasks to