NLToolbox
src/include/Set.h
00001 /*
00002  * Set.h
00003  *
00004  *  Created on: Sep 24, 2012
00005  *      Author: romain
00006  */
00007 
00008 #ifndef SET_H_
00009 #define SET_H_
00010 
00011 #include "utils.h"
00012 
00013 namespace nltool {
00014 
00018 class Set {
00019 public:
00020         Set();
00021         virtual ~Set();
00022 
00023         virtual Number optimize(const Vector & direction, Vector & optPoint, bool max = true);
00024 
00025         unsigned getDimension();
00026         void setDimension(unsigned  dimension);
00027 
00028 protected:
00029         unsigned dimension;
00030 };
00031 
00032 
00033 }  // namespace nltool
00034 
00035 #endif /* SET_H_ */
 All Classes Namespaces Functions