Exemple #1
0
//average diameter
void avgDia(Neuron *n)
{
	n->setFunc(9);
	Feature* features = new Feature(n);
	cout<<"Diameter: "<<"\t"<<"Average: "<<features->getAvg()<<"\t"<<"Std :"<<features->getStd()<<"\n";
	//myfile<<"Diameter: "<<"\n"<<"Average: "<<featues->getAvg()<<"\t"<<"Std :"<<featues->getStd()<<"\n";
	features->~Feature();
}
Exemple #2
0
//fractal dimension
void computeFractalDim(Neuron *n)
{
	n->setFunc(44);
	Feature* features = new Feature(n);
	cout<<"Fractal Dim: "<<"\t"<<"Average: "<<features->getAvg()<<"\t"<<"Std :"<<features->getStd()<<"\n";
	//myfile<<"Fractal Dim: "<<"\n"<<"Average: "<<featues->getAvg()<<"\t"<<"Std :"<<featues->getStd()<<"\n";
	features->~Feature();
}