1#ifndef _CCS_EVALUATION_H
2#define _CCS_EVALUATION_H
193 size_t *num_values_ret);
struct _ccs_search_configuration_s * ccs_search_configuration_t
An opaque type defining a CCS search space configuration.
Definition base.h:123
int32_t ccs_evaluation_result_t
The result type used for evaluations.
Definition base.h:252
struct _ccs_objective_space_s * ccs_objective_space_t
An opaque type defining a CCS objective space.
Definition base.h:139
struct _ccs_evaluation_s * ccs_evaluation_t
An opaque type defining a CCS evaluation.
Definition base.h:143
struct _ccs_features_s * ccs_features_t
An opaque type defining a CCS features.
Definition base.h:135
enum ccs_result_e ccs_result_t
A commodity type to represent CCS errors and returned by most functions.
Definition base.h:247
ccs_result_t ccs_evaluation_get_objective_value(ccs_evaluation_t evaluation, size_t index, ccs_datum_t *value_ret)
Get the value of an objective for a valid evaluation in the context of its objective space.
ccs_comparison_e
The different possible return codes when comparing two evaluations.
Definition evaluation.h:20
@ CCS_COMPARISON_FORCE_32BIT
Try forcing 32 bits value for bindings.
Definition evaluation.h:32
@ CCS_COMPARISON_EQUIVALENT
The two configurations are equivalent.
Definition evaluation.h:24
@ CCS_COMPARISON_NOT_COMPARABLE
The two configurations cannot be compared.
Definition evaluation.h:28
@ CCS_COMPARISON_WORSE
The first configuration is worse than the second.
Definition evaluation.h:26
@ CCS_COMPARISON_MAX
Guard.
Definition evaluation.h:30
@ CCS_COMPARISON_BETTER
The first configuration is better then the second.
Definition evaluation.h:22
ccs_result_t ccs_evaluation_get_features(ccs_evaluation_t evaluation, ccs_features_t *features_ret)
Get the features associated with an evaluation.
ccs_result_t ccs_evaluation_get_objective_space(ccs_evaluation_t evaluation, ccs_objective_space_t *objective_space_ret)
Get the objective space associated with an evaluation.
ccs_result_t ccs_evaluation_get_objective_values(ccs_evaluation_t evaluation, size_t num_values, ccs_datum_t *values, size_t *num_values_ret)
Get the values of the objectives for a valid evaluation in the context of its objective space.
ccs_result_t ccs_create_evaluation(ccs_objective_space_t objective_space, ccs_search_configuration_t configuration, ccs_evaluation_result_t result, size_t num_values, ccs_datum_t *values, ccs_evaluation_t *evaluation_ret)
Create a new instance of an evaluation on a given objective_space for a given configuration.
ccs_result_t ccs_evaluation_get_configuration(ccs_evaluation_t evaluation, ccs_search_configuration_t *configuration_ret)
Get the configuration associated with an evaluation.
ccs_result_t ccs_evaluation_get_result(ccs_evaluation_t evaluation, ccs_evaluation_result_t *result_ret)
Get the result code associated with an evaluation.
ccs_result_t ccs_evaluation_compare(ccs_evaluation_t evaluation, ccs_evaluation_t other_evaluation, ccs_comparison_t *result_ret)
Compare two successful evaluations objectives.
enum ccs_comparison_e ccs_comparison_t
A commodity type to represent CCS the result of comparing evaluations.
Definition evaluation.h:38
A Structure containing a CCS datum.
Definition base.h:494