RTOp_ROp_max_inequ_viol.c File Reference

#include "RTOp_ROp_max_inequ_viol.h"
#include "RTOp_obj_null_vtbl.h"
#include "RTOp_obj_value_vtbl.h"
#include "RTOp_obj_free_free.h"
#include "RTOp_get_reduct_op.hpp"

Include dependency graph for RTOp_ROp_max_inequ_viol.c:

Go to the source code of this file.

Defines

#define max(a, b)   ( (a) > (b) ? (a) : (b) )
#define min(a, b)   ( (a) < (b) ? (a) : (b) )

Functions

int get_targ_type_num_entries (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, int *num_values, int *num_indexes, int *num_chars)
int targ_obj_reinit (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget targ_obj)
int targ_obj_create (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget *targ_obj)
int targ_extract_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, void *reduct_obj, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
int targ_load_state (const struct RTOp_obj_type_vtbl_t *vtbl, const void *obj_data, int num_values, const RTOp_value_type value_data[], int num_indexes, const RTOp_index_type index_data[], int num_chars, const RTOp_char_type char_data[], void **reduct_obj)
int RTOp_ROp_max_inequ_viol_apply_op (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
int reduce_reduct_objs (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_reduct_obj, RTOp_ReductTarget inout_reduct_obj)
 INSERT_GET_REDUCT_OP_FUNCS (3, 2, 0, RTOp_ROp_max_inequ_viol_reduct_obj_t, reduce_reduct_objs, targ_load_state, targ_extract_state, external_reduct_op, get_reduct_op) const
int RTOp_ROp_max_inequ_viol_construct (struct RTOp_RTOp *op)
int RTOp_ROp_max_inequ_viol_destroy (struct RTOp_RTOp *op)
RTOp_ROp_max_inequ_viol_reduct_obj_t RTOp_ROp_max_inequ_viol_val (RTOp_ReductTarget targ_obj)

Variables

const struct RTOp_obj_type_vtbl_t targ_obj_vtbl


Define Documentation

#define max a,
 )     ( (a) > (b) ? (a) : (b) )
 

Definition at line 31 of file RTOp_ROp_max_inequ_viol.c.

#define min a,
 )     ( (a) < (b) ? (a) : (b) )
 

Definition at line 32 of file RTOp_ROp_max_inequ_viol.c.


Function Documentation

int get_targ_type_num_entries const struct RTOp_obj_type_vtbl_t vtbl,
const void *  obj_data,
int *  num_values,
int *  num_indexes,
int *  num_chars
[static]
 

Definition at line 46 of file RTOp_ROp_max_inequ_viol.c.

int targ_obj_reinit const struct RTOp_obj_type_vtbl_t vtbl,
const void *  obj_data,
RTOp_ReductTarget  targ_obj
[static]
 

Definition at line 60 of file RTOp_ROp_max_inequ_viol.c.

int targ_obj_create const struct RTOp_obj_type_vtbl_t vtbl,
const void *  obj_data,
RTOp_ReductTarget targ_obj
[static]
 

Definition at line 74 of file RTOp_ROp_max_inequ_viol.c.

int targ_extract_state const struct RTOp_obj_type_vtbl_t vtbl,
const void *  obj_data,
void *  reduct_obj,
int  num_values,
RTOp_value_type  value_data[],
int  num_indexes,
RTOp_index_type  index_data[],
int  num_chars,
RTOp_char_type  char_data[]
[static]
 

Definition at line 84 of file RTOp_ROp_max_inequ_viol.c.

int targ_load_state const struct RTOp_obj_type_vtbl_t vtbl,
const void *  obj_data,
int  num_values,
const RTOp_value_type  value_data[],
int  num_indexes,
const RTOp_index_type  index_data[],
int  num_chars,
const RTOp_char_type  char_data[],
void **  reduct_obj
[static]
 

Definition at line 110 of file RTOp_ROp_max_inequ_viol.c.

int RTOp_ROp_max_inequ_viol_apply_op const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  targ_obj
[static]
 

Definition at line 148 of file RTOp_ROp_max_inequ_viol.c.

int reduce_reduct_objs const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
RTOp_ReductTarget  in_reduct_obj,
RTOp_ReductTarget  inout_reduct_obj
[static]
 

Definition at line 250 of file RTOp_ROp_max_inequ_viol.c.

INSERT_GET_REDUCT_OP_FUNCS ,
,
,
RTOp_ROp_max_inequ_viol_reduct_obj_t  ,
reduce_reduct_objs  ,
targ_load_state  ,
targ_extract_state  ,
external_reduct_op  ,
get_reduct_op 
const
 

Definition at line 274 of file RTOp_ROp_max_inequ_viol.c.

int RTOp_ROp_max_inequ_viol_construct struct RTOp_RTOp op  ) 
 

Definition at line 292 of file RTOp_ROp_max_inequ_viol.c.

int RTOp_ROp_max_inequ_viol_destroy struct RTOp_RTOp op  ) 
 

Definition at line 299 of file RTOp_ROp_max_inequ_viol.c.

struct RTOp_ROp_max_inequ_viol_reduct_obj_t RTOp_ROp_max_inequ_viol_val RTOp_ReductTarget  targ_obj  ) 
 

Definition at line 307 of file RTOp_ROp_max_inequ_viol.c.


Variable Documentation

const struct RTOp_obj_type_vtbl_t targ_obj_vtbl [static]
 

Initial value:

{
  get_targ_type_num_entries
  ,targ_obj_create
  ,targ_obj_reinit
  ,RTOp_obj_free_free
  ,targ_extract_state
  ,targ_load_state
}

Definition at line 136 of file RTOp_ROp_max_inequ_viol.c.


Generated on Thu Sep 18 12:36:01 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1