heur_typedep.c File Reference


Detailed Description

Matrix type-dependent part of the heuristic module.

#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <oski/common.h>
#include <oski/heur.h>
#include <oski/heur_internal.h>
#include <oski/heur_typedep.h>
#include <oski/simplelist.h>

Functions

int oski_IsHeurApplicable (oski_id_t id, const oski_matrix_t A_tunable)
 Returns 1 <==> the specified heuristic can be applied to the given matrix and trace.
double oski_EstimateHeurCost (oski_id_t id, const oski_matrix_t A_tunable)
 Returns the estimated cost (in seconds) of running the specified heuristic.
void * oski_EvaluateHeur (oski_id_t id, const oski_matrix_t A_tunable)
 Evaluates the specified heuristic on the given matrix and its trace, and returns a pointer to a structure containing information about the results (or NULL if the heuristic does not apply to A_tunable).
int oski_ApplyHeurResults (oski_id_t id, void *results, const oski_matrix_t A_tunable)
 Applies the results of heuristic evaluation to the given matrix.


Generated on Wed Sep 19 16:41:22 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6