Points&Forces (survey)
Software tools facilitating the task of surveying architecture
a_ocriteria.h
Go to the documentation of this file.
1 /*
2 Copyright 2010-2011 Pierre SMARS (smars@yuntech.edu.tw)
3 This program is free software: you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation, either version 2 of the License, or
6 (at your option) any later version.
7 
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16 #ifndef _A_OCRITERIA_H_
17 #define _A_OCRITERIA_H_
18 
19 class a_structure;
20 
25 {
26 public:
29  virtual double f(const a_structure * f) const {return 0.;}
30 };
31 
32 #endif
33 
virtual double f(const a_structure *f) const
return an objective value used for optimization (can be the thrust for instance) (look at derived cla...
Definition: a_ocriteria.h:29
structure class
Definition: a_structure.h:33