AURobotServers  4
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
UPatchTypeSets Class Reference

Public Member Functions

UPatchTypeaddPatchClass (int i)
 add a patch class More...
 
UPatchTypegetPatchType (int idx)
 get class based on index More...
 
int getPatchTypeIndex (const char *typeName)
 get patch index from name More...
 
double grade (int typeIdx, int attIdx, double value, double *weight)
 grade a patch for membership of a type for one attribute More...
 
 UPatchTypeSets ()
 

Public Attributes

UPatchTypepatchTypes [MPC]
 pointer to grade sets More...
 
int patchTypesCnt
 number of patch classes defined More...
 

Static Public Attributes

static const int MPC = UFuncGndAna::patchTypeCnt
 

Detailed Description

Set of graded membership values of the available grade sets

Constructor & Destructor Documentation

UPatchTypeSets::UPatchTypeSets ( )
inline

Member Function Documentation

UPatchType* UPatchTypeSets::addPatchClass ( int  i)
inline
UPatchType* UPatchTypeSets::getPatchType ( int  idx)
inline

get class based on index

int UPatchTypeSets::getPatchTypeIndex ( const char *  typeName)
inline

get patch index from name

References UGradeSet::isA().

double UPatchTypeSets::grade ( int  typeIdx,
int  attIdx,
double  value,
double *  weight 
)
inline

grade a patch for membership of a type for one attribute

Referenced by UGroundPatch::evaluatePatchType().

Member Data Documentation

const int UPatchTypeSets::MPC = UFuncGndAna::patchTypeCnt
static
UPatchType* UPatchTypeSets::patchTypes[MPC]

pointer to grade sets

int UPatchTypeSets::patchTypesCnt

number of patch classes defined


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