/[ascend]/trunk/pygtk/interface/solver.i
ViewVC logotype

Diff of /trunk/pygtk/interface/solver.i

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 221 by johnpye, Fri Jan 27 03:05:38 2006 UTC revision 225 by johnpye, Fri Jan 27 14:55:43 2006 UTC
# Line 11  public: Line 11  public:
11      const std::string getName() const;      const std::string getName() const;
12  };  };
13    
14    class Simulation : public Instanc{
15    public:
16        Simulation(Instance *&, const SymChar &name);
17        Instanc &getModel();
18        std::vector<Variable> getFixableVariables();
19        void build();
20        const bool check();
21        void checkDoF() const;
22        void run(const Method &);
23        void setSolver(Solver&);
24        void solve(Solver s);
25        SolverParameters getSolverParameters() const;
26        void setSolverParameters(SolverParameters&);
27    };
28    
29  // SOLVE PARAMETERS  // SOLVE PARAMETERS
30    
31  %pythoncode{  %pythoncode{
# Line 62  public: Line 77  public:
77      const int &getIntValue() const;      const int &getIntValue() const;
78      const int &getIntLowerBound() const;      const int &getIntLowerBound() const;
79      const int &getIntUpperBound() const;      const int &getIntUpperBound() const;
80        void setIntValue(const int&);
81    
82      const bool getBoolValue() const;      const bool getBoolValue() const;
83        void setBoolValue(const bool&);
84    
85      const std::string getStrValue() const;      const std::string getStrValue() const;
86      const std::vector<std::string> getStrOptions() const;      const std::vector<std::string> getStrOptions() const;
87        void setStrValue(const std::string &);
88        void setStrOption(const int &opt);
89    
90      const double &getRealValue() const;      const double &getRealValue() const;
91      const double &getRealLowerBound() const;      const double &getRealLowerBound() const;
92      const double &getRealUpperBound() const;      const double &getRealUpperBound() const;
93        void setRealValue(const double&);
94    
95        const bool isBounded() const;
96    
97        const std::string toString() const;
98  };  };
99    

Legend:
Removed from v.221  
changed lines
  Added in v.225

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22