gap.c
/***** free memory space *****************************************************/
/***** Feel free to modify this subroutine. **********************************/
free memory space
Feel free to modify this subroutine.
free memory space Feel free to modify this subroutine .
void free_memory(Vdata *vdata, GAPdata *gapdata)
{
  free((void *) vdata->bestsol);
  free((void *) gapdata->c[0]);
  free((void *) gapdata->c);
  free((void *) gapdata->a[0]);
  free((void *) gapdata->a);
  free((void *) gapdata->b);
}
void free_memory ( Vdata * vdata , GAPdata * gapdata ) { free ( ( void * ) vdata -> bestsol ) ; free ( ( void * ) gapdata -> c [ 0 ] ) ; free ( ( void * ) gapdata -> c ) ; free ( ( void * ) gapdata -> a [ 0 ] ) ; free ( ( void * ) gapdata -> a ) ; free ( ( void * ) gapdata -> b ) ; }
free memory space
Feel free to modify this subroutine.
free memory space Feel free to modify this subroutine .