Parallel* get_global_parallel() { SG_REF(sg_parallel); return sg_parallel; }
void set_global_version(Version* version) { SG_REF(version); SG_UNREF(sg_version); sg_version=version; }
SGIO* get_global_io() { SG_REF(sg_io); return sg_io; }
void set_global_parallel(Parallel* parallel) { SG_REF(parallel); SG_UNREF(sg_parallel); sg_parallel=parallel; }
CTraceSampler* CLogDetEstimator::get_trace_sampler(void) const { SG_REF(m_trace_sampler); return m_trace_sampler; }
void set_global_io(SGIO* io) { SG_REF(io); SG_UNREF(sg_io); sg_io=io; }
CKernel* CEmbeddingConverter::get_kernel() const { SG_REF(m_kernel); return m_kernel; }
CMath* get_global_math() { SG_REF(sg_math); return sg_math; }
CDistance* CEmbeddingConverter::get_distance() const { SG_REF(m_distance); return m_distance; }
void CEmbeddingConverter::set_kernel(CKernel* kernel) { SG_UNREF(m_kernel); SG_REF(kernel); m_kernel = kernel; }
void CEmbeddingConverter::set_distance(CDistance* distance) { SG_UNREF(m_distance); SG_REF(distance); m_distance = distance; }
COperatorFunction<float64_t>* CLogDetEstimator::get_operator_function(void) const { SG_REF(m_operator_log); return m_operator_log; }
CIndependentComputationEngine* CLogDetEstimator::get_computation_engine(void) const { SG_REF(m_computation_engine); return m_computation_engine; }
Version* get_global_version() { SG_REF(sg_version); return sg_version; }
CIndicesTree* CFeatureTreeLeastSquaresRegression::get_feature_tree() const { SG_REF(m_feature_tree); return m_feature_tree; }
void set_global_math(CMath* math) { SG_REF(math); SG_UNREF(sg_math); sg_math=math; }
void CFeatureTreeLeastSquaresRegression::set_feature_tree(CIndicesTree* feature_tree) { SG_UNREF(m_feature_tree); SG_REF(feature_tree); m_feature_tree = feature_tree; }
void set_global_rand(CRandom* rand) { SG_REF(rand); SG_UNREF(sg_rand); sg_rand=rand; }
CRandom* get_global_rand() { SG_REF(sg_rand); return sg_rand; }