bpp-core  2.4.0
bpp::Clonable Class Referenceabstract

The Clonable interface (allow an object to be cloned). More...

#include <Bpp/Clonable.h>

+ Inheritance diagram for bpp::Clonable:

Public Member Functions

virtual ~Clonable ()=default
 
virtual Clonableclone () const =0
 Create a copy of this object and send a pointer to it. More...
 

Detailed Description

The Clonable interface (allow an object to be cloned).

A clone is a deep (or hard) copy of an object. This interface provides a method that dynamically creates a copy of itself and send a pointer toward it.

This method allows an object to be copied when you do not now its class.

Definition at line 101 of file Clonable.h.

Constructor & Destructor Documentation

virtual bpp::Clonable::~Clonable ( )
virtualdefault

Member Function Documentation

virtual Clonable* bpp::Clonable::clone ( ) const
pure virtual

Create a copy of this object and send a pointer to it.

Returns
A pointer toward the copy object.

Implemented in bpp::TestFunction, bpp::InfinityDerivableSecondOrderWrapper, bpp::InfinityDerivableFirstOrderWrapper, bpp::InfinityFunctionWrapper, bpp::LinearMatrix< Scalar >, bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >, bpp::StdErr, bpp::FunctionStopCondition, bpp::PlaceboTransformedParameter, bpp::StdOut, bpp::ColMatrix< Scalar >, bpp::GlobalGraph, bpp::StlOutputStreamWrapper, bpp::ParametersStopCondition, bpp::IntervalTransformedParameter, bpp::LogsumHmmLikelihood, bpp::ReparametrizationDerivableSecondOrderWrapper, bpp::BppUnsignedInteger, bpp::MetaOptimizer, bpp::IntervalConstraint, bpp::StlOutputStream, bpp::BppInteger, bpp::DerivableSecondOrder, bpp::RescaledHmmLikelihood, bpp::Parameter, bpp::RowMatrix< Scalar >, bpp::RowMatrix< double >, bpp::RowMatrix< Real >, bpp::ReparametrizationDerivableFirstOrderWrapper, bpp::BppDouble, bpp::Simplex, bpp::Table< T >, bpp::LowMemoryRescaledHmmLikelihood, bpp::NullOutputStream, bpp::RTransformedParameter, bpp::ParametrizableCollection< N >, bpp::DerivableFirstOrder, bpp::Optimizer, bpp::AssociationTreeGraphImplObserver< N, E, TreeGraphImpl >, bpp::Number< T >, bpp::Number< double >, bpp::Number< int >, bpp::Number< unsigned int >, bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >, bpp::AbstractNumericalDerivative, bpp::SimpleDiscreteDistribution, bpp::ThreePointsNumericalDerivative, bpp::DirichletDiscreteDistribution, bpp::DownhillSimplexMethod, bpp::FivePointsNumericalDerivative, bpp::ReparametrizationFunctionWrapper, bpp::DataTable, bpp::DualityDiagram, bpp::PrincipalComponentAnalysis, bpp::TruncatedExponentialDiscreteDistribution, bpp::MetaOptimizerInfos, bpp::NewtonBacktrackOneDimension, bpp::FunctionOperator< F >, bpp::AutoParameter, bpp::MixtureOfDiscreteDistributions, bpp::GammaDiscreteDistribution, bpp::InvariantMixedDiscreteDistribution, bpp::AliasParameterListener, bpp::PowellMultiDimensions, bpp::Range< T >, bpp::BrentOneDimension, bpp::TwoPointsNumericalDerivative, bpp::ParameterListener, bpp::OutputStream, bpp::GoldenSectionSearch, bpp::DirectionFunction, bpp::BetaDiscreteDistribution, bpp::ExponentialDiscreteDistribution, bpp::Point2D< T >, bpp::BppNotANumber, bpp::CorrespondenceAnalysis, bpp::HmmLikelihood, bpp::ParameterList, bpp::BfgsMultiDimensions, bpp::FullHmmTransitionMatrix, bpp::GaussianDiscreteDistribution, bpp::NewtonBacktrackOneDimension::NBODStopCondition, bpp::UniformDiscreteDistribution, bpp::MathOperator, bpp::AutoCorrelationTransitionMatrix, bpp::ConstantDistribution, bpp::ContingencyTableTest, bpp::Font, bpp::DiscreteDistribution, bpp::MultipleDiscreteDistribution, bpp::ConjugateGradientMultiDimensions, bpp::DownhillSimplexMethod::DSMStopCondition, bpp::OptimizationStopCondition, bpp::BrentOneDimension::BODStopCondition, bpp::ParameterEvent, bpp::ComputationTree, bpp::GoldenSectionSearch::GSSStopCondition, bpp::PowellMultiDimensions::PMDStopCondition, bpp::SimpleMultiDimensions, bpp::SimpleNewtonMultiDimensions, bpp::RGBColor, bpp::Constraint, bpp::BinaryOperator, bpp::HmmEmissionProbabilities, bpp::BppString, bpp::BppVector< T >, bpp::NegativeOperator, bpp::BppNumberI, bpp::TransformedParameter, bpp::BppBoolean, bpp::ConstantOperator, and bpp::NewtonOneDimension.

Referenced by bpp::LogsumHmmLikelihood::LogsumHmmLikelihood(), bpp::LogsumHmmLikelihood::operator=(), bpp::DerivableFirstOrder::~DerivableFirstOrder(), and bpp::DerivableSecondOrder::~DerivableSecondOrder().


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