LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
Public Member Functions | |
SIRMsModel (int num_sirms=1) | |
int | numSIRMs () const |
void | setModuleName (const size_t index, const std::string &name) |
double | calculateOutput (const std::vector< double > &input) |
void | specifyNumPartitions (const int index_module, const int num_partitions) |
void | specifyDomain (const int index_attribute, const double min_domain, const double max_domain) |
void | train (const double target, const double actual) |
bool | saveParameters (const std::string &prefix) |
bool | loadParameters (const std::string &prefix) |
double rcsc::SIRMsModel::calculateOutput | ( | const std::vector< double > & | input | ) |
calculate an output for an input vector
bool rcsc::SIRMsModel::loadParameters | ( | const std::string & | prefix | ) |
load parameters of SIRMs
bool rcsc::SIRMsModel::saveParameters | ( | const std::string & | prefix | ) |
save parameters of SIRMs
void rcsc::SIRMsModel::specifyDomain | ( | const int | index_attribute, |
const double | min_domain, | ||
const double | max_domain | ||
) |
specify the range of the target function for each attribute
void rcsc::SIRMsModel::specifyNumPartitions | ( | const int | index_module, |
const int | num_partitions | ||
) |
specify the number of fuzzy partitions of an SIRM
void rcsc::SIRMsModel::train | ( | const double | target, |
const double | actual | ||
) |
train the SIRMs model