00001 #include "Feature.h" 00002 00003 namespace damina 00004 { 00005 00012 Feature::Feature(int index, double value) { 00013 this->index = index; 00014 this->value = value; 00015 } 00016 00020 Feature::~Feature() { 00021 00022 } 00023 00024 00031 void Feature::set(int index, double value) { 00032 this->index = index; 00033 this->value = value; 00034 } 00035 00036 00042 int Feature::getIndex() { 00043 return index; 00044 } 00045 00051 double Feature::getValue() { 00052 return value; 00053 } 00054 }
1.5.2