15 using namespace shogun;
29 void CParameterCombination::init()
36 "children of this node");
53 char* prefix=
SG_MALLOC(
char, prefix_num+1);
54 for (
index_t i=0; i<prefix_num; ++i)
57 prefix[prefix_num]=
'\0';
75 current_sgobject->
get_name(), current_sgobject);
87 SG_SPRINT(
"%s ", *((
bool*)param ?
"true" :
"false"));
137 if (sets.get_num_elements()==1)
144 *result=*current_set;
158 else if (sets.get_num_elements()>1)
165 for (
index_t set_nr=0; set_nr<sets.get_num_elements(); ++set_nr)
178 SG_SERROR(
"leaf sets multiplication only possible if all "
182 Parameter* current_param=current_node->m_param;
188 SG_SERROR(
"leaf sets multiplication only possible if all "
189 "leafs have non-NULL Parameter instances\n");
200 *param_sets[0], *param_sets[1]);
202 delete param_sets[0];
203 delete param_sets[1];
218 delete old_temp_result;
219 delete param_sets[i];
244 delete param_product;
310 SG_SERROR(
"invalid CParameterCombination node type, has children"
311 " and more than one parameter or is not a "
331 SG_SERROR(
"CParameterCombination node has illegal type.\n");