COPASI API  4.16.103
CFluxScore.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/elementaryFluxModes/CFluxScore.h,v $
3 // $Revision: 1.7 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2007/02/15 17:27:11 $
7 // End CVS Header
8 
9 // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc. and EML Research, gGmbH.
11 // All rights reserved.
12 
13 /**
14  * CFluxScore class.
15  * Used to compare flux modes
16  *
17  * Created for Copasi by Stefan Hoops 2002-05-08
18  * (C) Stefan Hoops 2002
19  */
20 
21 #ifndef COPASI_CFluxScore
22 #define COPASI_CFluxScore
23 
24 #include <vector>
25 
26 #include "utilities/CVector.h"
27 
29  {
30  // Attributes
31 
32  private:
33  /**
34  * The score of a flux mode
35  */
37 
38  // Operations
39 
40  public:
41  /**
42  * Default constructor
43  */
44  CFluxScore();
45 
46  /**
47  * Specific constructor
48  * @param "const vector < C_FLOAT64 > &" fluxModes
49  */
50  CFluxScore(const std::vector < C_FLOAT64 > & fluxModes);
51 
52  /**
53  * Destructor();
54  */
55  ~CFluxScore();
56 
57  /**
58  * Comparison operator deciding whether lhs has a smaller flux score than
59  * rhs
60  * @param "const CFluxScore &" lhs
61  * @param "const CFluxScore &" rhs
62  * @return "bool"
63  */
64  bool operator < (const CFluxScore & rhs) const;
65 
66  friend std::ostream & operator << (std::ostream & os, const CFluxScore & A);
67  };
68 
69 #endif // COPASI_CFluxScore
bool operator<(const CFluxScore &rhs) const
Definition: CFluxScore.cpp:87
CVector< unsigned char > mScore
Definition: CFluxScore.h:36
friend std::ostream & operator<<(std::ostream &os, const CFluxScore &A)
Definition: CFluxScore.cpp:100