COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
CCopasiSpringLayout::Parameters Class Reference

#include <CCopasiSpringLayout.h>

Collaboration diagram for CCopasiSpringLayout::Parameters:
Collaboration graph
[legend]

Public Member Functions

void applyDefaults ()
 
 Parameters ()
 

Public Attributes

std::vector< double > defaultValues
 
std::vector< bool > isLog
 
std::vector< double > max
 
std::vector< double > min
 
std::vector< std::string > names
 
std::vector< double > values
 

Detailed Description

Definition at line 38 of file CCopasiSpringLayout.h.

Constructor & Destructor Documentation

CCopasiSpringLayout::Parameters::Parameters ( )
inline

Definition at line 48 of file CCopasiSpringLayout.h.

References defaultValues, isLog, max, min, names, and values.

49  {
50  names.push_back("repulsion");
51  values.push_back(100000.0);
52  min.push_back(10);
53  max.push_back(1e7);
54  isLog.push_back(true);
55 
56  //1
57  names.push_back("edge length");
58  values.push_back(70);
59  min.push_back(10);
60  max.push_back(200);
61  isLog.push_back(false);
62 
63  names.push_back("edge strength");
64  values.push_back(1.0);
65  min.push_back(1e-3);
66  max.push_back(1e3);
67  isLog.push_back(true);
68 
69  //3
70  names.push_back("side edge length");
71  values.push_back(40);
72  min.push_back(10);
73  max.push_back(200);
74  isLog.push_back(false);
75 
76  names.push_back("side edge strength");
77  values.push_back(0.3);
78  min.push_back(1e-3);
79  max.push_back(1e3);
80  isLog.push_back(true);
81 
82  //5
83  names.push_back("2nd order edge strength");
84  values.push_back(0.1);
85  min.push_back(1e-3);
86  max.push_back(1e3);
87  isLog.push_back(true);
88 
89  //6
90  names.push_back("compartment strength on species");
91  values.push_back(4.0);
92  min.push_back(1e-2);
93  max.push_back(1e3);
94  isLog.push_back(true);
95 
96  //7
97  names.push_back("compartment strength on reactions");
98  values.push_back(0.2);
99  min.push_back(1e-2);
100  max.push_back(1e3);
101  isLog.push_back(true);
102 
104  }
std::vector< double > defaultValues
std::vector< std::string > names

Member Function Documentation

void CCopasiSpringLayout::Parameters::applyDefaults ( )
inline

Definition at line 106 of file CCopasiSpringLayout.h.

References defaultValues, and values.

107  {
109  }
std::vector< double > defaultValues

Member Data Documentation

std::vector<double> CCopasiSpringLayout::Parameters::defaultValues

Definition at line 43 of file CCopasiSpringLayout.h.

Referenced by applyDefaults(), and Parameters().

std::vector<bool> CCopasiSpringLayout::Parameters::isLog
std::vector<double> CCopasiSpringLayout::Parameters::max
std::vector<double> CCopasiSpringLayout::Parameters::min
std::vector<std::string> CCopasiSpringLayout::Parameters::names
std::vector<double> CCopasiSpringLayout::Parameters::values

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