00001 /*************************************************************************** 00002 * @file gnn_weight_elimination.h 00003 * @brief gnn_weight_elimination Header File. 00004 * 00005 * @date : 05-10-03 19:23 00006 * @author : Pedro Ortega C. <peortega@dcc.uchile.cl> 00007 * Copyright 2003 Pedro Ortega C. 00008 ****************************************************************************/ 00009 /* 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Library General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 */ 00024 00025 #ifndef _GNN_WEIGHT_ELIMINATION_H_ 00026 #define _GNN_WEIGHT_ELIMINATION_H_ 00027 00028 /******************************************/ 00029 /* Include Files */ 00030 /******************************************/ 00031 00032 #include "gnn_node.h" 00033 #include "gnn_criterion.h" 00034 00035 00036 00037 /******************************************/ 00038 /* Macros and Definitions */ 00039 /******************************************/ 00040 00041 00042 00043 00044 00045 /******************************************/ 00046 /* Public Interface */ 00047 /******************************************/ 00048 00049 gnn_criterion * 00050 gnn_weight_elimination_new (gnn_criterion *crit, 00051 double nu, 00052 double wp, 00053 gnn_node *node); 00054 00055 gnn_criterion * 00056 gnn_weight_elimination_new_with_type (gnn_criterion *crit, 00057 double nu, 00058 double wp, 00059 gnn_node *node, 00060 const char *type); 00061 00062 gnn_criterion * 00063 gnn_weight_elimination_new_with_pbundle (gnn_criterion *crit, 00064 double nu, 00065 double wp, 00066 gnn_pbundle *pb); 00067 00068 int 00069 gnn_weight_elimination_prun (gnn_criterion *crit, double th); 00070 00071 00072 00073 #endif /* _GNN_WEIGHT_ELIMINATION_H_ */ 00074 00075 00076
1.2.18