GenSVM
All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Classes | Functions
gensvm_grid.h File Reference

Header file for gensvm_grid.c. More...

#include "gensvm_globals.h"
Include dependency graph for gensvm_grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GenGrid
 Structure for describing the entire grid search. More...
 

Functions

struct GenGridgensvm_init_grid (void)
 Initialize a GenGrid structure. More...
 
void gensvm_free_grid (struct GenGrid *grid)
 Free a GenGrid structure. More...
 

Detailed Description

Header file for gensvm_grid.c.

Author
G.J.J. van den Burg
Date
2016-05-01

The grid search for the optimal parameters is done through a queue. This file contains struct definitions for this queue and a single task in a queue, as well as a structure for the complete training scheme. Function declarations are also included.

This file is part of GenSVM.

GenSVM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GenSVM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GenSVM. If not, see http://www.gnu.org/licenses/.

Definition in file gensvm_grid.h.

Function Documentation

◆ gensvm_free_grid()

void gensvm_free_grid ( struct GenGrid grid)

Free a GenGrid structure.

This function frees all elements of a GenGrid structure, including the GenGrid structure itself. The provided argument is set to NULL on exit.

Parameters
[in]grida GenGrid struct to free

Definition at line 88 of file gensvm_grid.c.

◆ gensvm_init_grid()

struct GenGrid* gensvm_init_grid ( void  )

Initialize a GenGrid structure.

This function is used to initialize a GenGrid struct, and set its default parameters. A pointer to the generated struct is returned.

Returns
initialized GenGrid struct

Definition at line 44 of file gensvm_grid.c.