SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
SGRefObject Class Reference

Detailed Description

Class SGRefObject is a reference count based memory management class.

It deals with reference counting that is used to manage shogun objects in memory (erase unused object, avoid cleaning objects when they are still in use)

Definition at line 46 of file SGRefObject.h.

Inheritance diagram for SGRefObject:
Inheritance graph
[legend]

Public Member Functions

 SGRefObject ()
 SGRefObject (const SGRefObject &orig)
virtual ~SGRefObject ()
virtual const char * get_name () const =0

Constructor & Destructor Documentation

default constructor

Definition at line 22 of file SGRefObject.cpp.

SGRefObject ( const SGRefObject orig)

copy constructor

Definition at line 30 of file SGRefObject.cpp.

~SGRefObject ( )
virtual

destructor

Definition at line 38 of file SGRefObject.cpp.

Member Function Documentation

virtual const char* get_name ( ) const
pure virtual

Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.

Returns
name of the SGSerializable

Implemented in CMath, CHMM, CStringFeatures< ST >, CStringFeatures< T >, CStringFeatures< uint8_t >, CStringFeatures< char >, CStringFeatures< uint16_t >, CSVMLight, CTrie< Trie >, CTrie< DNATrie >, CTrie< POIMTrie >, CDynamicArray< T >, CDynamicArray< float64_t >, CDynamicArray< float32_t >, CDynamicArray< int32_t >, CDynamicArray< char >, CDynamicArray< bool >, CMultitaskKernelTreeNormalizer, CList, CDynProg, CLibSVMFile, CDenseFeatures< ST >, CDenseFeatures< uint32_t >, CDenseFeatures< float64_t >, CDenseFeatures< T >, CDenseFeatures< uint16_t >, CFile, CStatistics, CSparseFeatures< ST >, CSparseFeatures< float64_t >, CSparseFeatures< T >, CSpecificityMeasure, CPrecisionMeasure, CPlif, CRecallMeasure, CUAIFile, CDynamicObjectArray, SGDynamicRefObjectArray, CCrossCorrelationMeasure, CCSVFile, CF1Measure, CLaRank, CBinaryFile, CWRACCMeasure, CProtobufFile, CRBM, CTaxonomy, CBALMeasure, CBitString, CStreamingVwFeatures, CStreamingSparseFeatures< T >, CMultitaskKernelPlifNormalizer, CErrorRateMeasure, CWDSVMOcas, CMachine, CNeuralLayer, CAccuracyMeasure, CStreamingFile, CQuadraticTimeMMD, CRandom, CStreamingMMD, CMultitaskKernelMaskNormalizer, CMemoryMappedFile< T >, CMemoryMappedFile< ST >, CAlphabet, CMKL, CStreamingDenseFeatures< T >, CLMNNStatistics, CStructuredModel, CStreamingDenseFeatures< float64_t >, CStreamingDenseFeatures< float32_t >, CCombinedDotFeatures, CFeatureSelection< ST >, CFeatureSelection< float64_t >, CGUIStructure, CCache< T >, CCache< SGSparseVectorEntry< ST > >, CCache< uint32_t >, CCache< ST >, CCache< SGSparseVectorEntry< float64_t > >, CCache< float64_t >, CCache< uint8_t >, CCache< KERNELCACHE_ELEM >, CCache< char >, CCache< uint16_t >, CCache< SGSparseVectorEntry< T > >, CMultitaskKernelMaskPairNormalizer, CSVM, CMultitaskKernelNormalizer, CNeuralNetwork, CGUIClassifier, CGaussian, CGUIFeatures, CGMM, CBinaryStream< T >, CHashedWDFeaturesTransposed, CLinearHMM, CSimpleFile< T >, CParameterCombination, CDeepBeliefNetwork, CStreamingStringFeatures< T >, CNeuralLinearLayer, CMulticlassSVM, CStateModel, CRandomKitchenSinksDotFeatures, COnlineLinearMachine, CVwParser, CPluginEstimate, CVowpalWabbit, CBinnedDotFeatures, CSVMOcas, CNeuralConvolutionalLayer, CSVRLight, CHashedWDFeatures, CPlifMatrix, CCrossValidation, CImplicitWeightedSpecFeatures, CCombinedFeatures, CSparseMatrixOperator< T >, CSNPFeatures, CWDFeatures, CCrossValidationMulticlassStorage, CHashedDenseFeatures< ST >, CIOBuffer, CLossFunction, CTwoStateModel, CPCA, CHMSVMModel, CKMeans, CDeepAutoencoder, CLeastAngleRegression, CGUIKernel, CKNN, CRandomFourierGaussPreproc, CMKLMulticlass, CHashedSparseFeatures< ST >, CAutoencoder, CHypothesisTest, CExplicitSpecFeatures, CModelSelectionParameters, CLibLinearMTL, CNOCCO, CPositionalPWM, CHashedDocDotFeatures, CGUIHMM, COnlineSVMSGD, CIntegration, CJacobiEllipticFunctions, CLibLinear, CLDA, CZeroMeanCenterKernelNormalizer, CSparsePolyFeatures, CHashedMultilabelModel, CSqrtDiagKernelNormalizer, CHuberLoss, CScatterKernelNormalizer, CCplex, CFisherLDA, CHSIC, CRationalApproximation, CStochasticProximityEmbedding, CLatentModel, CGMNPLib, CMulticlassMachine, CDixonQTestRejectionStrategy, CTableFactorType, CSVMSGD, CVwCacheReader, CLBPPyrDotFeatures, CRidgeKernelNormalizer, CDependenceMaximization, CLinearMachine, CMulticlassSOLabels, CSerializableAsciiFile, CSGDQN, CSNPStringKernel, CTime, CMatrixFeatures< ST >, CWeightedCommWordStringKernel, CHingeLoss, CTwoSampleTest, CSquaredLoss, CAbsoluteDeviationLoss, CExponentialLoss, CQPBSVMLib, CCustomKernel, CSGObject, CMulticlassLabels, CHash, CLinearTimeMMD, CFactor, CPlifArray, CStreamingVwFile, CGraphCut, CStreamingHashedDocDotFeatures, CKernelIndependenceTest, CCustomDistance, CWeightedDegreeStringKernel, CKernelRidgeRegression, CBaggingMachine, CQDA, CNeuralLayers, CNeuralLogisticLayer, CNeuralRectifiedLinearLayer, CTOPFeatures, CDiceKernelNormalizer, CHierarchicalMultilabelModel, CMultitaskKernelMklNormalizer, CTask, CGaussianProcessClassification, CVwEnvironment, CBinaryLabels, CMultilabelModel, CDomainAdaptationSVMLinear, CMultilabelSOLabels, CCHAIDTree, CKernelTwoSampleTest, CWeightedDegreePositionStringKernel, CMAPInferImpl, CBesselKernel, CTanimotoKernelNormalizer, CCircularBuffer, CMCLDA, CGaussianDistribution, CStreamingHashedDenseFeatures< ST >, CStreamingHashedSparseFeatures< ST >, CAvgDiagKernelNormalizer, CVarianceKernelNormalizer, CMulticlassModel, COnlineLibLinear, CIndexFeatures, CCARTree, CHierarchical, CIndependenceTest, CFKFeatures, CSpectrumMismatchRBFKernel, COperatorFunction< T >, CMultilabelCLRModel, COperatorFunction< float64_t >, CStreamingAsciiFile, CCombinedKernel, CSparseSpatialSampleStringKernel, CVwRegressor, CHashedDocConverter, CFactorGraphLabels, CSubsequenceStringKernel, CDotKernel, CGaussianKernel, CCommWordStringKernel, CSet< T >, CDataGenerator, CNeuralInputLayer, CSequenceLabels, CNode, CContingencyTableEvaluation, CPolyFeatures, CDenseMatrixOperator< T >, CLibSVR, CDenseMatrixOperator< float64_t >, CChi2Kernel, CPyramidChi2, CSignal, CSalzbergWordStringKernel, CStructuredLabels, CSquaredHingeLoss, CLPBoost, CNewtonSVM, CKLApproxDiagonalInferenceMethod, CKLInferenceMethod, CVwLearner, CKLCholeskyInferenceMethod, CKLCovarianceInferenceMethod, CIterativeLinearSolver< T, ST >, CIterativeLinearSolver< float64_t, float64_t >, CIterativeLinearSolver< complex128_t, float64_t >, CIterativeLinearSolver< T, T >, CCommUlongStringKernel, CCompressor, CHomogeneousKernelMap, CSVMLin, CHistogram, CGaussianShiftKernel, CGCArray< T >, CIndexBlockTree, CMultiLaplacianInferenceMethod, CNeuralSoftmaxLayer, CLocallyLinearEmbedding, CMahalanobisDistance, CAttributeFeatures, CRandomFourierDotFeatures, CFirstElementKernelNormalizer, CMap< K, T >, CLogLoss, CLogLossMargin, CSmoothHingeLoss, CSingleLaplacianInferenceMethodWithLBFGS, CScatterSVM, CMap< TParameter *, CSGObject * >, CMap< TParameter *, SGVector< float64_t > >, CGNPPLib, CVwNativeCacheReader, CDistanceKernel, CLatentLabels, CMultilabelLabels, CKLLowerTriangularInferenceMethod, CSoftMaxLikelihood, CMMDKernelSelection, CSpectrumRBFKernel, CSegmentLoss, CKernelDistance, CStreamingFileFromFeatures, CLinearRidgeRegression, CDomainAdaptationSVM, CPolyMatchStringKernel, CSimpleLocalityImprovedStringKernel, CLogDetEstimator, CKernelSelection, CStreamingVwCacheFile, COligoStringKernel, CKLDualInferenceMethod, CEigenSolver, CLPM, CCircularKernel, CConstKernel, CDiagKernel, CSphericalKernel, CLogitDVGLikelihood, CC45ClassifierTree, CMultitaskClusteredLogisticRegression, CEmbeddingConverter, CEuclideanDistance, CWeightedMajorityVote, CMulticlassOVREvaluation, CPolyKernel, CPolyMatchWordStringKernel, CLanczosEigenSolver, CID3ClassifierTree, CNearestCentroid, CMultidimensionalScaling, CStreamingFileFromDenseFeatures< T >, CStreamingFileFromSparseFeatures< T >, CStreamingFileFromStringFeatures< T >, CANOVAKernel, CProductKernel, CSparseKernel< ST >, CGaussianMatchStringKernel, CKernelPCA, CFixedDegreeStringKernel, CStringKernel< ST >, CTensorProductPairKernel, CRandomForest, CTraceSampler, CGaussianNaiveBayes, CMulticlassOneVsRestStrategy, CStringKernel< uint16_t >, CStringKernel< char >, CStringKernel< uint64_t >, CParser, CTStudentKernel, CWaveletKernel, CGaussianProcessRegression, MKLMulticlassGradient, CDiffusionMaps, CMinkowskiMetric, CExponentialKernel, CLaplacianEigenmaps, CAttenuatedEuclideanDistance, CKernelDensity, CCauchyKernel, CLogKernel, CPowerKernel, CRationalQuadraticKernel, CDistantSegmentsKernel, CWaveKernel, CLaplacianInferenceBase, CKernelMachine, CBAHSIC, CLocalityImprovedStringKernel, CMatchWordStringKernel, CRegulatoryModulesStringKernel, CDistanceMachine, CStructuredOutputMachine, CKernelDependenceMaximization, CAUCKernel, CHistogramIntersectionKernel, CSigmoidKernel, CGaussianProcessMachine, CInverseMultiQuadricKernel, CFFDiag, CJADiag, CJADiagOrth, CLibLinearRegression, CMMDKernelSelectionCombOpt, CLocalAlignmentStringKernel, CLabelsFactory, CJediDiag, CQDiag, CUWedge, CTreeMachineNode< T >, CTreeMachineNode< ConditionalProbabilityTreeNodeData >, CTreeMachineNode< RelaxedTreeNodeData >, CTreeMachineNode< id3TreeNodeData >, CTreeMachineNode< VwConditionalProbabilityTreeNodeData >, CTreeMachineNode< CARTreeNodeData >, CTreeMachineNode< C45TreeNodeData >, CTreeMachineNode< CHAIDTreeNodeData >, CTreeMachineNode< NbodyTreeNodeData >, CMulticlassAccuracy, CGaussianARDKernel, CGaussianShortRealKernel, CMultiquadricKernel, CExactInferenceMethod, CPerceptron, CICAConverter, CSplineKernel, CDelimiterTokenizer, CDualVariationalGaussianLikelihood, CLogitVGPiecewiseBoundLikelihood, CLogRationalApproximationIndividual, CDimensionReductionPreprocessor, CGHMM, CHistogramWordStringKernel, CMatrixOperator< T >, CTaskTree, CMatrixOperator< float64_t >, CProbabilityDistribution, CConstMean, CStochasticGBMachine, CLinearOperator< RetType, OperandType >, CCGMShiftedFamilySolver, CIterativeShiftedLinearFamilySolver< T, ST >, CLogRationalApproximationCGM, CTreeMachine< T >, CMMDKernelSelectionCombMaxL2, CMultitaskL12LogisticRegression, CMultitaskROCEvaluation, CLinearOperator< SGVector< complex128_t >, SGVector< complex128_t > >, CLinearOperator< SGVector< T >, SGVector< T > >, CLinearOperator< SGVector< float64_t >, SGVector< float64_t > >, CIterativeShiftedLinearFamilySolver< float64_t, complex128_t >, CTreeMachine< ConditionalProbabilityTreeNodeData >, CTreeMachine< RelaxedTreeNodeData >, CTreeMachine< id3TreeNodeData >, CTreeMachine< VwConditionalProbabilityTreeNodeData >, CTreeMachine< CARTreeNodeData >, CTreeMachine< C45TreeNodeData >, CTreeMachine< CHAIDTreeNodeData >, CTreeMachine< NbodyTreeNodeData >, CCanberraMetric, CCosineDistance, CManhattanMetric, CLineReader, CJensenShannonKernel, CLinearKernel, CNumericalVGLikelihood, CLinearStructuredOutputMachine, CDualLibQPBMSOSVM, CGeodesicMetric, CJensenMetric, CTanimotoDistance, CIdentityKernelNormalizer, CLinearStringKernel, CFITCInferenceMethod, CDecompressString< ST >, CGUIConverter, CNGramTokenizer, CStudentsTVGLikelihood, CMMDKernelSelectionMedian, MKLMulticlassGLPK, CChiSquareDistance, CHammingWordDistance, CLogitVGLikelihood, CProbitVGLikelihood, CRandomSearchModelSelection, CGUILabels, CAveragedPerceptron, CSOBI, CKernelLocallyLinearEmbedding, CSparseDistance< ST >, CCrossValidationResult, CLatentFeatures, CBinaryTreeMachineNode< T >, CMMDKernelSelectionOpt, CSparseDistance< float64_t >, CFFSep, CBrayCurtisDistance, CChebyshewMetric, CFactorGraphFeatures, CRegressionLabels, CJobResultAggregator, CMulticlassOneVsOneStrategy, CNbodyTree, CSparsePreprocessor< ST >, CLeastSquaresRegression, MKLMulticlassOptimizationBase, CVwNativeCacheWriter, CJediSep, CUWedgeSep, CSparseEuclideanDistance, CRealFileFeatures, CLinearARDKernel, CSingleLaplacianInferenceMethod, CDenseMatrixExactLog, CPNorm, CSparseMultilabel, CGUIPluginEstimate, CVwAdaptiveLearner, CStringDistance< ST >, CStructuredAccuracy, CLinearLatentMachine, CMulticlassStrategy, CRescaleFeatures, CStringDistance< uint16_t >, CVwNonAdaptiveLearner, CWeightedDegreeRBFKernel, CIndependentJob, CECOCRandomSparseEncoder, CLogPlusOne, CGradientCriterion, CLatentSVM, CEPInferenceMethod, CGMNPSVM, CNormOne, CMixtureModel, CFactorGraphObservation, CScalarResult< T >, CDirectLinearSolverComplex, CIndividualJobResultAggregator, CMAPInference, CMultitaskTraceLogisticRegression, CLibSVM, CStringFileFeatures< ST >, CLinearMulticlassMachine, CRationalApproximationCGMJob, CBallTree, CKDTree, CStringPreprocessor< ST >, CSumOne, CMultitaskLogisticRegression, CStringPreprocessor< uint16_t >, CStringPreprocessor< uint64_t >, CFastICA, CCanberraWordDistance, CManhattanWordDistance, CCrossValidationOutput, CRationalApproximationIndividualJob, CECOCDiscriminantEncoder, CRandomCARTree, CSortWordString, CResultSet, CTaskGroup, CGUIDistance, CStoreVectorAggregator< T >, CConjugateOrthogonalCGSolver, CPruneVarSubMean, CCCSOSVM, CIntronList, CRealNumber, CStoreVectorAggregator< complex128_t >, CJade, CIndexBlock, CIndexBlockGroup, CGradientModelSelection, CSortUlongString, CSequence, CGUIPreprocessor, CFeatureBlockLogisticRegression, CMeanSquaredError, CMeanSquaredLogError, CLatentSOSVM, CStudentsTLikelihood, CDenseExactLogJob, CMulticlassLibLinear, CMeanAbsoluteError, CDummyFeatures, CListElement, CIsomap, CDenseDistance< ST >, CRealDistance, CIndependentComputationEngine, CVectorResult< T >, CKernelStructuredOutputMachine, CLMNN, CThresholdRejectionStrategy, CMMDKernelSelectionMax, CDenseDistance< float64_t >, CSVMLightOneClass, CLinearLocalTangentSpaceAlignment, CNeighborhoodPreservingEmbedding, CEMBase< T >, CEMMixtureModel, CClusteringAccuracy, CClusteringMutualInformation, CMultilabelAccuracy, CMeanShiftDataGenerator, CVwConditionalProbabilityTree, CEMBase< MixModelData >, CHessianLocallyLinearEmbedding, CCustomMahalanobisDistance, CCombinationRule, CStoreScalarAggregator< T >, CConjugateGradientSolver, CMMDKernelSelectionComb, CFactorGraphModel, CMultitaskLeastSquaresRegression, CLocalTangentSpaceAlignment, CSubsetStack, CGaussianLikelihood, CGridSearchModelSelection, CStochasticSOSVM, CMultitaskLinearMachine, CMajorityVote, CMeanRule, CDirectEigenSolver, CLinearSolver< T, ST >, CLinearSolver< float64_t, float64_t >, CLinearSolver< complex128_t, float64_t >, CLinearSolver< T, T >, CLocalityPreservingProjections, CGradientEvaluation, CSerialComputationEngine, CECOCEncoder, CMulticlassLibSVM, CMKLRegression, CFactorDataSource, CFactorGraph, CTaskRelation, CGaussianBlobsDataGenerator, CIndexBlockRelation, CKernelMeanMatching, CLibSVMOneClass, CROCEvaluation, CKernelMulticlassMachine, CNormalSampler, CBalancedConditionalProbabilityTree, CFactorType, CSOSVMHelper, CDomainAdaptationMulticlassLibLinear, CMKLOneClass, CGPBTSVM, CMPDSVM, CGradientResult, CECOCIHDDecoder, CMulticlassTreeGuidedLogisticRegression, CConditionalProbabilityTree, CRelaxedTree, CFWSOSVM, CMKLClassification, CSubset, CDirectSparseLinearSolver, CECOCRandomDenseEncoder, CMulticlassLogisticRegression, CMulticlassOCAS, CShareBoost, CGNPPSVM, CStratifiedCrossValidationSplitting, CPRCEvaluation, CProbitLikelihood, CSparseInverseCovariance, CCrossValidationSplitting, CDisjointSet, CDenseSubsetFeatures< ST >, CECOCForestEncoder, CGUIMath, CGUITime, CLogitLikelihood, CTDistributedStochasticNeighborEmbedding, CCrossValidationPrintOutput, CJobResult, CECOCDecoder, CFactorAnalysis, CManifoldSculpting, CCrossValidationMKLStorage, SerializableAsciiReader00, CNativeMulticlassMachine, CFunction, CECOCAEDDecoder, CECOCEDDecoder, CECOCStrategy, CData, CZeroMean, CConverter, CLOOCrossValidationSplitting, CBaseMulticlassMachine, CECOCSimpleDecoder, CECOCLLBDecoder, CStructuredData, CECOCHDDecoder, CECOCOVOEncoder, CECOCOVREncoder, CRandomConditionalProbabilityTree, and CRejectionStrategy.


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

SHOGUN Machine Learning Toolbox - Documentation