IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ipsdk::imaproc::attr::RandomForestTreeNode Class Reference

Describes a node parameters in a random forest tree. More...

#include <RandomForestTreeNode.h>

Inheritance diagram for ipsdk::imaproc::attr::RandomForestTreeNode:
ipsdk::BaseDataItemNode ipsdk::BaseDataItem ipsdk::BaseToolTip ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

const std::string & getObjectName () const
 method allowing to retrieve object name
 
const std::string & getToolTip () const
 method allowing to retrieve object tooltip
 
const boost::filesystem::path getHeaderPath () const
 retrieve relative header path associated to data item node
 
const std::string getLibraryName () const
 retrieve library name associated data item node
 
const ipsdk::ItemNamesgetItemIds () const
 retrieve item associated to a given id More...
 
 ~RandomForestTreeNode ()
 public destructor
 
Methods associated to sub node Idx
template<>
const ipsdk::DataItemLeaf< ipsdk::ipInt32 > & getNode () const
 access to sub node Idx
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipInt32 > & get ()
 access to sub node Idx
 
template<>
const ipsdk::ipInt32getValue () const
 access to value for sub node Idx
 
template<>
void setValue (const ipsdk::ipInt32 &value)
 access to value for sub node Idx
 
Methods associated to sub node Type
template<>
const ipsdk::DataItemLeaf< eRandomForestTreeNodeType > & getNode () const
 access to sub node Type
 
template<>
ipsdk::DataItemLeaf< eRandomForestTreeNodeType > & get ()
 access to sub node Type
 
template<>
const eRandomForestTreeNodeType & getValue () const
 access to value for sub node Type
 
template<>
void setValue (const eRandomForestTreeNodeType &value)
 access to value for sub node Type
 
Methods associated to sub node FeatureIdx
template<>
const ipsdk::DataItemLeaf< ipsdk::ipInt16 > & getNode () const
 access to sub node FeatureIdx
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipInt16 > & get ()
 access to sub node FeatureIdx
 
template<>
const ipsdk::ipInt16getValue () const
 access to value for sub node FeatureIdx
 
template<>
void setValue (const ipsdk::ipInt16 &value)
 access to value for sub node FeatureIdx
 
Methods associated to sub node Threshold
template<>
const ipsdk::DataItemLeaf< ipsdk::ipReal64 > & getNode () const
 access to sub node Threshold
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipReal64 > & get ()
 access to sub node Threshold
 
template<>
const ipsdk::ipReal64getValue () const
 access to value for sub node Threshold
 
template<>
void setValue (const ipsdk::ipReal64 &value)
 access to value for sub node Threshold
 
Methods associated to sub node NodeIdxTrue
template<>
const ipsdk::DataItemLeaf< ipsdk::ipInt32 > & getNode () const
 access to sub node NodeIdxTrue
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipInt32 > & get ()
 access to sub node NodeIdxTrue
 
template<>
const ipsdk::ipInt32getValue () const
 access to value for sub node NodeIdxTrue
 
template<>
void setValue (const ipsdk::ipInt32 &value)
 access to value for sub node NodeIdxTrue
 
Methods associated to sub node NodeIdxFalse
template<>
const ipsdk::DataItemLeaf< ipsdk::ipInt32 > & getNode () const
 access to sub node NodeIdxFalse
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipInt32 > & get ()
 access to sub node NodeIdxFalse
 
template<>
const ipsdk::ipInt32getValue () const
 access to value for sub node NodeIdxFalse
 
template<>
void setValue (const ipsdk::ipInt32 &value)
 access to value for sub node NodeIdxFalse
 
Methods associated to sub node Value
template<>
const ipsdk::DataItemLeaf< ipsdk::ipInt32 > & getNode () const
 access to sub node Value
 
template<>
ipsdk::DataItemLeaf< ipsdk::ipInt32 > & get ()
 access to sub node Value
 
template<>
const ipsdk::ipInt32getValue () const
 access to value for sub node Value
 
template<>
void setValue (const ipsdk::ipInt32 &value)
 access to value for sub node Value
 
- Public Member Functions inherited from ipsdk::BaseDataItemNode
eDataItemType getDataItemType () const
 
bool existsItem (const std::string &itemId) const
 
const BaseDataItemgetItem (const std::string &itemId) const
 
const std::string & getItemName (const std::string &itemId) const
 
const std::string & getItemToolTip (const std::string &itemId) const
 
- Public Member Functions inherited from ipsdk::BaseDynamicObject
virtual const std::string & getClassName () const
 
virtual BaseDynamicObjectcreateNew () const=0
 
virtual DynamicObjectPtr createShared () const=0
 
virtual bool hasCopySupport () const=0
 
virtual BaseDynamicObjectduplicate () const=0
 
virtual DynamicObjectPtr duplicateShared () const=0
 

Static Public Member Functions

static const std::string & getObjectNameStr ()
 method allowing to retrieve object name
 
static const std::string & getToolTipStr ()
 method allowing to retrieve object tooltip
 
static const boost::filesystem::path getHeaderPathStr ()
 retrieve relative header path associated to data item node
 
static const std::string getLibraryNameStr ()
 retrieve library name associated data item node
 
static boost::shared_ptr< RandomForestTreeNodecreateNode ()
 node creation function
 
- Static Public Member Functions inherited from ipsdk::BaseSerializationObject
static ipUInt32 getVersion ()
 
- Static Public Member Functions inherited from ipsdk::BaseDynamicObject
static const std::string & getTypeName ()
 

Static Public Attributes

static const ipsdk::ipUInt32 g_nbChildNodes
 number of child nodes associated to object
 
- Static Public Attributes inherited from ipsdk::BaseDataItemNode
static const bool g_bIsColl
 
static const bool g_bNode
 
static const bool g_bLeaf
 
static const eDataItemType::domain g_itemType
 

Protected Member Functions

 RandomForestTreeNode ()
 protected constructor
 
- Protected Member Functions inherited from ipsdk::BaseDataItemNode
virtual ItemInfoPtr getItemInfo (const std::string &itemId) const=0
 
- Protected Member Functions inherited from ipsdk::BaseSerializationObject
virtual BoolResult write (BaseOArchive &ar) const
 
virtual BoolResult read (BaseIArchive &ar)
 
- Protected Member Functions inherited from ipsdk::BaseDynamicObject
virtual void initCtorCopy (const BaseDynamicObject &object)
 
virtual void copy (const BaseDynamicObject &object)
 

Additional Inherited Members

- Protected Types inherited from ipsdk::BaseDataItemNode
typedef boost::shared_ptr< ItemInfoItemInfoPtr
 

Detailed Description

Describes a node parameters in a random forest tree.

Author
W.Aim
Date
2020/09/14

Node associated library :

IPSDKIPLAttributes

SubNodes description

Name ToolTip Associated Class Default Value
Idx Node's index if the tree. ipsdk::DataItemLeaf<ipsdk::ipInt32>
Type Node's type. ipsdk::DataItemEnumLeaf<eRandomForestTreeNodeType> eRandomForestTreeNodeType::eRFTNT_Leaf
FeatureIdx Index of the feature used for the threshold. ipsdk::DataItemLeaf<ipsdk::ipInt16> -1
Threshold Threshold value. ipsdk::DataItemLeaf<ipsdk::ipReal64> NumericLimits<ipsdk::ipReal64>::max()
NodeIdxTrue Node's index if the threshold's result is true. ipsdk::DataItemLeaf<ipsdk::ipInt32> -1
NodeIdxFalse Node's index if the threshold's result is false. ipsdk::DataItemLeaf<ipsdk::ipInt32> -1
Value Label assignment. ipsdk::DataItemLeaf<ipsdk::ipInt32> -1

Member Function Documentation

◆ getItemIds()

const ipsdk::ItemNames& ipsdk::imaproc::attr::RandomForestTreeNode::getItemIds ( ) const
virtual

retrieve item associated to a given id

Exceptions
ipsdk::IPSDKBaseDataExceptionif existsItem(itemName) == false

Implements ipsdk::BaseDataItemNode.


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