SAGA API
v9.6
|
#include <mat_tools.h>
Public Member Functions | |
CSG_Unique_Value_Statistics (void) | |
virtual | ~CSG_Unique_Value_Statistics (void) |
virtual void | Create (bool bWeights=false) |
int | Get_Count (void) const |
int | Get_Count (int i) const |
double | Get_Weight (int i) const |
virtual int | Get_Majority (bool bWeighted=false) const |
virtual int | Get_Minority (bool bWeighted=false) const |
Protected Attributes | |
bool | m_bWeights {false} |
CSG_Array_Int | m_Count |
CSG_Vector | m_Weight |
Definition at line 809 of file mat_tools.h.
|
inline |
Definition at line 812 of file mat_tools.h.
|
inlinevirtual |
Definition at line 813 of file mat_tools.h.
|
inlinevirtual |
Reimplemented in CSG_Unique_String_Statistics, and CSG_Unique_Number_Statistics.
Definition at line 815 of file mat_tools.h.
Referenced by CSG_Unique_Number_Statistics::CSG_Unique_Number_Statistics(), and CSG_Unique_String_Statistics::CSG_Unique_String_Statistics().
|
inline |
Definition at line 818 of file mat_tools.h.
|
inline |
Definition at line 817 of file mat_tools.h.
Referenced by CSG_Unique_String_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Add_Value(), CSG_Unique_String_Statistics::Get_Class(), CSG_Unique_Number_Statistics::Get_Class(), CSG_Unique_String_Statistics::Get_Class_Index(), CSG_Unique_Number_Statistics::Get_Class_Index(), Get_Majority(), and Get_Minority().
|
virtual |
Definition at line 805 of file mat_tools.cpp.
References Get_Count(), m_bWeights, m_Count, and m_Weight.
Referenced by CSG_Unique_String_Statistics::Get_Majority(), and CSG_Unique_Number_Statistics::Get_Majority().
|
virtual |
Definition at line 833 of file mat_tools.cpp.
References Get_Count(), m_bWeights, m_Count, and m_Weight.
Referenced by CSG_Unique_String_Statistics::Get_Minority(), and CSG_Unique_Number_Statistics::Get_Minority().
|
inline |
Definition at line 819 of file mat_tools.h.
|
protected |
Definition at line 827 of file mat_tools.h.
Referenced by CSG_Unique_String_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Create(), CSG_Unique_String_Statistics::Create(), Get_Majority(), and Get_Minority().
|
protected |
Definition at line 829 of file mat_tools.h.
Referenced by CSG_Unique_String_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Create(), CSG_Unique_String_Statistics::Create(), Get_Majority(), and Get_Minority().
|
protected |
Definition at line 831 of file mat_tools.h.
Referenced by CSG_Unique_String_Statistics::Add_Value(), CSG_Unique_Number_Statistics::Add_Value(), Get_Majority(), and Get_Minority().