LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
rcsc::SIRMsModel Class Reference

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)
 

Member Function Documentation

◆ calculateOutput()

double rcsc::SIRMsModel::calculateOutput ( const std::vector< double > &  input)

calculate an output for an input vector

◆ loadParameters()

bool rcsc::SIRMsModel::loadParameters ( const std::string &  prefix)

load parameters of SIRMs

◆ saveParameters()

bool rcsc::SIRMsModel::saveParameters ( const std::string &  prefix)

save parameters of SIRMs

◆ specifyDomain()

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

◆ specifyNumPartitions()

void rcsc::SIRMsModel::specifyNumPartitions ( const int  index_module,
const int  num_partitions 
)

specify the number of fuzzy partitions of an SIRM

◆ train()

void rcsc::SIRMsModel::train ( const double  target,
const double  actual 
)

train the SIRMs model


The documentation for this class was generated from the following file: