Defines a view on a MINLP. More...
#include <MINLPView.h>
Classes | |
class | BlockView |
Defines a view on a block (of variables) of a MINLP. More... | |
class | ConstraintView |
Defines a view on a constraint of a MINLP. More... | |
class | ObjConView |
Defines a view on a objective or constraint of a MINLP. More... | |
class | ObjectiveView |
Defines a view on a objective of a MINLP. More... | |
class | VariableView |
Defines a view on a variable of a MINLP. More... | |
Public Member Functions | |
virtual | ~MINLPView () |
virtual int | dim () const =0 |
virtual int | connr () const =0 |
virtual int | nr_discr () const =0 |
virtual int | nr_blocks () const =0 |
virtual Pointer< BlockView > | blockPtr (int block_nr) const =0 |
virtual Pointer< VariableView > | varPtr (int index) const =0 |
virtual Pointer< ConstraintView > | conPtr (int index) const =0 |
virtual Pointer< ObjectiveView > | objPtr () const =0 |
Friends | |
ostream & | operator<< (ostream &out, const MINLPView &minlpview) |
Defines a view on a MINLP.
Abstract base class.
Definition at line 16 of file MINLPView.h.
virtual MINLPView::~MINLPView | ( | ) | [inline, virtual] |
Definition at line 127 of file MINLPView.h.
virtual int MINLPView::dim | ( | ) | const [pure virtual] |
Implemented in MINLP.
virtual int MINLPView::connr | ( | ) | const [pure virtual] |
Implemented in MINLP.
virtual int MINLPView::nr_discr | ( | ) | const [pure virtual] |
Implemented in MINLP.
virtual int MINLPView::nr_blocks | ( | ) | const [pure virtual] |
Implemented in MINLP.
Implemented in MINLP.
virtual Pointer<VariableView> MINLPView::varPtr | ( | int | index | ) | const [pure virtual] |
Implemented in MINLP.
virtual Pointer<ConstraintView> MINLPView::conPtr | ( | int | index | ) | const [pure virtual] |
Implemented in MINLP.
virtual Pointer<ObjectiveView> MINLPView::objPtr | ( | ) | const [pure virtual] |
Implemented in MINLP.
ostream& operator<< | ( | ostream & | out, | |
const MINLPView & | minlpview | |||
) | [friend] |