List of all members.
Public Member Functions |
| Ball () |
| Ball (const unsigned dim, const Number rad, const stdVector center) |
| Ball (const unsigned dim, const Number rad=0) |
virtual | ~Ball () |
virtual Number | optimize (const Vector &direction, Vector &optPoint, bool max=true) |
stdVector | getCenter () const |
Number | getRadius () const |
void | setCenter (stdVector center) |
void | setRadius (Number radius) |
Constructor & Destructor Documentation
Non-consistent constructor
Creates a ball representation
- Parameters:
-
dim | dimension of the set |
rad | radius of the ball |
center | center of the ball |
Creates a ball representation centered at the origin
- Parameters:
-
dim | dimension of the set |
rad | radius of the ball |
Member Function Documentation
Performs a quick linear optimisation in this ball
- Parameters:
-
direction | optimization |
optPoint | the problem solution |
max | is a maximization problem (otherwise minimization) |
- Returns:
- optimization result
Reimplemented from nltool::Set.
The documentation for this class was generated from the following files:
- src/include/Ball.h
- src/Ball.cpp