YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::manager::Arbitrator Class Reference

Class port Arbitrator. More...

#include <yarp/manager/arbitrator.h>

Public Member Functions

 Arbitrator ()=default
 
 Arbitrator (const char *szPort)
 
 ~Arbitrator ()=default
 
void setPort (const char *szPort)
 
const char * getPort ()
 
const char * getRule (const char *con)
 
std::map< std::string, std::string > & getRuleMap ()
 
int ruleCount ()
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 
GraphicModelgetModelBase ()
 
void setModelBase (GraphicModel &mdl)
 
void setOwner (Node *owner)
 
Nodeowner ()
 
bool operator== (const Arbitrator &alt) const
 
std::map< std::string, double > & getAlphas (const char *con)
 
double getBias (const char *con)
 
void addRule (const char *con, const char *rule)
 Class Arbitrator.
 
void removeRule (const char *con)
 
bool trainWeights (const char *opnd)
 
bool trainWeights ()
 
bool validate ()
 

Detailed Description

Class port Arbitrator.

Definition at line 24 of file arbitrator.h.

Constructor & Destructor Documentation

◆ Arbitrator() [1/2]

yarp::manager::Arbitrator::Arbitrator ( )
default

◆ Arbitrator() [2/2]

yarp::manager::Arbitrator::Arbitrator ( const char *  szPort)
inline

Definition at line 27 of file arbitrator.h.

◆ ~Arbitrator()

yarp::manager::Arbitrator::~Arbitrator ( )
default

Member Function Documentation

◆ addRule()

void Arbitrator::addRule ( const char *  con,
const char *  rule 
)

Class Arbitrator.

Definition at line 29 of file arbitrator.cpp.

◆ getAlphas()

std::map< std::string, double > & yarp::manager::Arbitrator::getAlphas ( const char *  con)
inline

Definition at line 61 of file arbitrator.h.

◆ getBias()

double yarp::manager::Arbitrator::getBias ( const char *  con)
inline

Definition at line 65 of file arbitrator.h.

◆ getModel()

GraphicModel * yarp::manager::Arbitrator::getModel ( )
inline

Definition at line 45 of file arbitrator.h.

◆ getModelBase()

GraphicModel & yarp::manager::Arbitrator::getModelBase ( )
inline

Definition at line 51 of file arbitrator.h.

◆ getPort()

const char * yarp::manager::Arbitrator::getPort ( )
inline

Definition at line 32 of file arbitrator.h.

◆ getRule()

const char * yarp::manager::Arbitrator::getRule ( const char *  con)
inline

Definition at line 34 of file arbitrator.h.

◆ getRuleMap()

std::map< std::string, std::string > & yarp::manager::Arbitrator::getRuleMap ( )
inline

Definition at line 42 of file arbitrator.h.

◆ operator==()

bool yarp::manager::Arbitrator::operator== ( const Arbitrator alt) const
inline

Definition at line 57 of file arbitrator.h.

◆ owner()

Node * yarp::manager::Arbitrator::owner ( )
inline

Definition at line 55 of file arbitrator.h.

◆ removeRule()

void Arbitrator::removeRule ( const char *  con)

Definition at line 40 of file arbitrator.cpp.

◆ ruleCount()

int yarp::manager::Arbitrator::ruleCount ( )
inline

Definition at line 43 of file arbitrator.h.

◆ setModel()

void yarp::manager::Arbitrator::setModel ( GraphicModel mdl)
inline

Definition at line 46 of file arbitrator.h.

◆ setModelBase()

void yarp::manager::Arbitrator::setModelBase ( GraphicModel mdl)
inline

Definition at line 52 of file arbitrator.h.

◆ setOwner()

void yarp::manager::Arbitrator::setOwner ( Node owner)
inline

Definition at line 54 of file arbitrator.h.

◆ setPort()

void yarp::manager::Arbitrator::setPort ( const char *  szPort)
inline

Definition at line 30 of file arbitrator.h.

◆ trainWeights() [1/2]

bool Arbitrator::trainWeights ( )

Definition at line 116 of file arbitrator.cpp.

◆ trainWeights() [2/2]

bool Arbitrator::trainWeights ( const char *  opnd)

Definition at line 61 of file arbitrator.cpp.

◆ validate()

bool Arbitrator::validate ( )

Definition at line 129 of file arbitrator.cpp.


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