politopix
4.1.0
|
This class is designed to contain the list of all generators or half-spaces representing a polytope or a polyhedral cone. More...
#include <GeometricObjectIterator_Rn.h>
Public Member Functions | |
listOfGeometricObjects () | |
Constructor. More... | |
void | push_back (const GEOMETRIC_OBJECT &gn) |
Include a new half space in the list. More... | |
const GEOMETRIC_OBJECT & | operator[] (unsigned int i) const |
Return the i-th generator. More... | |
void | operator= (const listOfGeometricObjects< GEOMETRIC_OBJECT > &listOfGN) |
Copies all elements from listOfGN to _GN. More... | |
void | assign (const listOfGeometricObjects< GEOMETRIC_OBJECT > &listOfGN) |
Copies all elements from listOfGN to _GN. More... | |
bool | empty () const |
Check whether the set is empty or not. More... | |
unsigned int | size () const |
Get the total number of genuine facets. More... | |
void | clear () |
Clear the whole list. More... | |
void | negate () |
Multiply all generators or half-spaces by -1. More... | |
unsigned int | find (const GEOMETRIC_OBJECT &GO) const throw (std::out_of_range) |
Find a given object in list.. More... | |
void | removeGeometricObjects (const std::set< GEOMETRIC_OBJECT > &setToRemove) |
Get rid of all the objects stored in the set. More... | |
void | removeGeometricObject (unsigned int j) |
Remove the geometric object number j from the list. More... | |
void | lexminSort (unsigned int step) |
void | lexmaxSort (unsigned int step) |
Static Public Member Functions | |
static bool | inferior (const GEOMETRIC_OBJECT &HS1, const GEOMETRIC_OBJECT &HS2) |
Tell whether a given object is declared inferior to another one. More... | |
static bool | superior (const GEOMETRIC_OBJECT &HS1, const GEOMETRIC_OBJECT &HS2) |
The opposite of the function inferior(HS1, HS2) More... | |
Protected Attributes | |
std::vector< GEOMETRIC_OBJECT > | _GO |
The full list of half spaces or generators for example. More... | |
This class is designed to contain the list of all generators or half-spaces representing a polytope or a polyhedral cone.
Definition at line 40 of file GeometricObjectIterator_Rn.h.
|
inline |
Constructor.
Definition at line 44 of file GeometricObjectIterator_Rn.h.
|
inline |
Copies all elements from listOfGN to _GN.
Definition at line 57 of file GeometricObjectIterator_Rn.h.
|
inline |
Clear the whole list.
Definition at line 67 of file GeometricObjectIterator_Rn.h.
|
inline |
Check whether the set is empty or not.
Definition at line 61 of file GeometricObjectIterator_Rn.h.
|
inline |
Find a given object in list..
Definition at line 76 of file GeometricObjectIterator_Rn.h.
|
inlinestatic |
Tell whether a given object is declared inferior to another one.
Definition at line 104 of file GeometricObjectIterator_Rn.h.
|
inline |
Definition at line 129 of file GeometricObjectIterator_Rn.h.
|
inline |
Definition at line 123 of file GeometricObjectIterator_Rn.h.
|
inline |
Multiply all generators or half-spaces by -1.
Definition at line 70 of file GeometricObjectIterator_Rn.h.
|
inline |
Copies all elements from listOfGN to _GN.
Definition at line 53 of file GeometricObjectIterator_Rn.h.
|
inline |
Return the i-th generator.
Definition at line 50 of file GeometricObjectIterator_Rn.h.
|
inline |
Include a new half space in the list.
Definition at line 47 of file GeometricObjectIterator_Rn.h.
|
inline |
Remove the geometric object number j from the list.
Definition at line 101 of file GeometricObjectIterator_Rn.h.
|
inline |
Get rid of all the objects stored in the set.
Definition at line 91 of file GeometricObjectIterator_Rn.h.
|
inline |
Get the total number of genuine facets.
Definition at line 64 of file GeometricObjectIterator_Rn.h.
|
inlinestatic |
The opposite of the function inferior(HS1, HS2)
Definition at line 119 of file GeometricObjectIterator_Rn.h.
|
protected |
The full list of half spaces or generators for example.
Definition at line 137 of file GeometricObjectIterator_Rn.h.