COPASI API  4.40.278
CAbstractLayoutInterface Class Referenceabstract

#include <CAbstractLayoutInterface.h>

Inheritance diagram for CAbstractLayoutInterface:
[legend]

Classes

class  VariableDescription
 

Public Member Functions

 CAbstractLayoutInterface ()
 
virtual const std::vector< double > & getInitialValues () const =0
 
virtual const std::vector< double > & getMassVector () const
 
std::vector< double >::size_type getNumVariables () const
 
virtual double getPotential ()=0
 
const std::vector< VariableDescription > & getVariablesDescription () const
 
virtual bool setState (const std::vector< double > &vars)=0
 
virtual ~CAbstractLayoutInterface ()
 

Protected Attributes

std::vector< double > mMassVector
 
std::vector< VariableDescriptionmVarDescription
 

Detailed Description

This abstract class describes how an optimization algorithm will see a layout.

Constructor & Destructor Documentation

◆ CAbstractLayoutInterface()

CAbstractLayoutInterface::CAbstractLayoutInterface ( )
inline

◆ ~CAbstractLayoutInterface()

virtual CAbstractLayoutInterface::~CAbstractLayoutInterface ( )
inlinevirtual

Member Function Documentation

◆ getInitialValues()

virtual const std::vector<double>& CAbstractLayoutInterface::getInitialValues ( ) const
pure virtual

Implemented in CCopasiSpringLayout.

Referenced by CLayoutEngine::CLayoutEngine().

◆ getMassVector()

const std::vector< double > & CAbstractLayoutInterface::getMassVector ( ) const
virtual

References mMassVector.

Referenced by CLayoutEngine::calcRHS().

◆ getNumVariables()

std::vector< double >::size_type CAbstractLayoutInterface::getNumVariables ( ) const

◆ getPotential()

virtual double CAbstractLayoutInterface::getPotential ( )
pure virtual

◆ getVariablesDescription()

const std::vector< CAbstractLayoutInterface::VariableDescription > & CAbstractLayoutInterface::getVariablesDescription ( ) const

References mVarDescription.

◆ setState()

virtual bool CAbstractLayoutInterface::setState ( const std::vector< double > &  vars)
pure virtual

Member Data Documentation

◆ mMassVector

◆ mVarDescription


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